Skip to content

Commit 7a32830

Browse files
authored
Merge pull request #1167 from Adyen/v32.1.0-lem
Generate LEM models
2 parents 480cdfb + 5d40458 commit 7a32830

8 files changed

+77
-36
lines changed

Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement
3333
public partial class AcceptTermsOfServiceResponse : IEquatable<AcceptTermsOfServiceResponse>, IValidatableObject
3434
{
3535
/// <summary>
36-
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
36+
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite**
3737
/// </summary>
38-
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** </value>
38+
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** </value>
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum TypeEnum
4141
{
@@ -91,15 +91,21 @@ public enum TypeEnum
9191
/// Enum AdyenPccr for value: adyenPccr
9292
/// </summary>
9393
[EnumMember(Value = "adyenPccr")]
94-
AdyenPccr = 9
94+
AdyenPccr = 9,
95+
96+
/// <summary>
97+
/// Enum KycOnInvite for value: kycOnInvite
98+
/// </summary>
99+
[EnumMember(Value = "kycOnInvite")]
100+
KycOnInvite = 10
95101

96102
}
97103

98104

99105
/// <summary>
100-
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
106+
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite**
101107
/// </summary>
102-
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** </value>
108+
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** </value>
103109
[DataMember(Name = "type", EmitDefaultValue = false)]
104110
public TypeEnum? Type { get; set; }
105111
/// <summary>
@@ -110,7 +116,7 @@ public enum TypeEnum
110116
/// <param name="ipAddress">The IP address of the user that accepted the Terms of Service..</param>
111117
/// <param name="language">The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English..</param>
112118
/// <param name="termsOfServiceDocumentId">The unique identifier of the Terms of Service document..</param>
113-
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** .</param>
119+
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** .</param>
114120
public AcceptTermsOfServiceResponse(string acceptedBy = default(string), string id = default(string), string ipAddress = default(string), string language = default(string), string termsOfServiceDocumentId = default(string), TypeEnum? type = default(TypeEnum?))
115121
{
116122
this.AcceptedBy = acceptedBy;

Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.cs

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement
3333
public partial class AdditionalBankIdentification : IEquatable<AdditionalBankIdentification>, IValidatableObject
3434
{
3535
/// <summary>
36-
/// The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
36+
/// The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
3737
/// </summary>
38-
/// <value>The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.</value>
38+
/// <value>The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.</value>
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum TypeEnum
4141
{
@@ -49,22 +49,33 @@ public enum TypeEnum
4949
/// Enum UsRoutingNumber for value: usRoutingNumber
5050
/// </summary>
5151
[EnumMember(Value = "usRoutingNumber")]
52-
UsRoutingNumber = 2
52+
UsRoutingNumber = 2,
53+
54+
/// <summary>
55+
/// Enum AuBsbCode for value: auBsbCode
56+
/// </summary>
57+
[EnumMember(Value = "auBsbCode")]
58+
AuBsbCode = 3,
5359

60+
/// <summary>
61+
/// Enum CaRoutingNumber for value: caRoutingNumber
62+
/// </summary>
63+
[EnumMember(Value = "caRoutingNumber")]
64+
CaRoutingNumber = 4
65+
5466
}
5567

56-
5768
/// <summary>
58-
/// The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
69+
/// The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
5970
/// </summary>
60-
/// <value>The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.</value>
71+
/// <value>The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.</value>
6172
[DataMember(Name = "type", EmitDefaultValue = false)]
6273
public TypeEnum? Type { get; set; }
6374
/// <summary>
6475
/// Initializes a new instance of the <see cref="AdditionalBankIdentification" /> class.
6576
/// </summary>
6677
/// <param name="code">The value of the additional bank identification..</param>
67-
/// <param name="type">The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces..</param>
78+
/// <param name="type">The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces..</param>
6879
public AdditionalBankIdentification(string code = default(string), TypeEnum? type = default(TypeEnum?))
6980
{
7081
this.Code = code;

Adyen/Model/LegalEntityManagement/Address.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected Address() { }
4242
/// </summary>
4343
/// <param name="city">The name of the city. Required if &#x60;stateOrProvince&#x60; is provided. If you specify the city, you must also send &#x60;postalCode&#x60; and &#x60;street&#x60;..</param>
4444
/// <param name="country">The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. (required).</param>
45-
/// <param name="postalCode">Postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided..</param>
45+
/// <param name="postalCode">The postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided. When using alphanumeric postal codes, all letters must be uppercase. For example, 1234 AB or SW1A 1AA..</param>
4646
/// <param name="stateOrProvince">The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send &#x60;city&#x60;, &#x60;postalCode&#x60;, and &#x60;street&#x60;..</param>
4747
/// <param name="street">The name of the street, and the house or building number. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided..</param>
4848
/// <param name="street2">The apartment, unit, or suite number..</param>
@@ -71,9 +71,9 @@ protected Address() { }
7171
public string Country { get; set; }
7272

7373
/// <summary>
74-
/// Postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided.
74+
/// The postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided. When using alphanumeric postal codes, all letters must be uppercase. For example, 1234 AB or SW1A 1AA.
7575
/// </summary>
76-
/// <value>Postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided.</value>
76+
/// <value>The postal code. Required if &#x60;stateOrProvince&#x60; and/or &#x60;city&#x60; is provided. When using alphanumeric postal codes, all letters must be uppercase. For example, 1234 AB or SW1A 1AA.</value>
7777
[DataMember(Name = "postalCode", EmitDefaultValue = false)]
7878
public string PostalCode { get; set; }
7979

Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,13 @@ public enum TermsOfServiceTypesEnum
9090
/// Enum AdyenPccr for value: adyenPccr
9191
/// </summary>
9292
[EnumMember(Value = "adyenPccr")]
93-
AdyenPccr = 9
93+
AdyenPccr = 9,
94+
95+
/// <summary>
96+
/// Enum KycOnInvite for value: kycOnInvite
97+
/// </summary>
98+
[EnumMember(Value = "kycOnInvite")]
99+
KycOnInvite = 10
94100

95101
}
96102

Adyen/Model/LegalEntityManagement/FinancialReport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,4 @@ public override int GetHashCode()
221221
}
222222
}
223223

224-
}
224+
}

Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement
3333
public partial class GetTermsOfServiceDocumentRequest : IEquatable<GetTermsOfServiceDocumentRequest>, IValidatableObject
3434
{
3535
/// <summary>
36-
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
36+
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite**
3737
/// </summary>
38-
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** </value>
38+
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** </value>
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum TypeEnum
4141
{
@@ -91,15 +91,21 @@ public enum TypeEnum
9191
/// Enum AdyenPccr for value: adyenPccr
9292
/// </summary>
9393
[EnumMember(Value = "adyenPccr")]
94-
AdyenPccr = 9
94+
AdyenPccr = 9,
95+
96+
/// <summary>
97+
/// Enum KycOnInvite for value: kycOnInvite
98+
/// </summary>
99+
[EnumMember(Value = "kycOnInvite")]
100+
KycOnInvite = 10
95101

96102
}
97103

98104

99105
/// <summary>
100-
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
106+
/// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite**
101107
/// </summary>
102-
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** </value>
108+
/// <value>The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** </value>
103109
[DataMember(Name = "type", IsRequired = false, EmitDefaultValue = false)]
104110
public TypeEnum Type { get; set; }
105111
/// <summary>
@@ -112,7 +118,7 @@ protected GetTermsOfServiceDocumentRequest() { }
112118
/// </summary>
113119
/// <param name="language">The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. (required).</param>
114120
/// <param name="termsOfServiceDocumentFormat">The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**..</param>
115-
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** (required).</param>
121+
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** (required).</param>
116122
public GetTermsOfServiceDocumentRequest(string language = default(string), string termsOfServiceDocumentFormat = default(string), TypeEnum type = default(TypeEnum))
117123
{
118124
this.Language = language;

0 commit comments

Comments
 (0)