Skip to content

Commit 8b295eb

Browse files
authored
Merge pull request #1197 from Adyen/lem-v4
LEM v4
2 parents be05e51 + 86575e1 commit 8b295eb

File tree

104 files changed

+1258
-309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+1258
-309
lines changed

Adyen.Test/LegalEntityManagementTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void GetTermsOfServiceStatus()
168168
var service = new TermsOfServiceService(client);
169169
var response = service.GetTermsOfServiceInformationForLegalEntity("id123");
170170
ClientInterfaceSubstitute.Received().RequestAsync(
171-
"https://kyc-test.adyen.com/lem/v3/legalEntities/id123/termsOfServiceAcceptanceInfos",
171+
"https://kyc-test.adyen.com/lem/v4/legalEntities/id123/termsOfServiceAcceptanceInfos",
172172
null,
173173
null,
174174
new HttpMethod("GET"), default);

Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

Adyen/Model/LegalEntityManagement/AbstractOpenAPISchema.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
@@ -114,7 +114,7 @@ public enum TypeEnum
114114
/// <param name="acceptedBy">The unique identifier of the user that accepted the Terms of Service..</param>
115115
/// <param name="id">The unique identifier of the Terms of Service acceptance..</param>
116116
/// <param name="ipAddress">The IP address of the user that accepted the Terms of Service..</param>
117-
/// <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>
117+
/// <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 or **fr** for French. Note that French is only available for some integration types in certain countries/regions. Reach out to your Adyen contact for more information..</param>
118118
/// <param name="termsOfServiceDocumentId">The unique identifier of the Terms of Service document..</param>
119119
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite** .</param>
120120
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?))
@@ -149,9 +149,9 @@ public enum TypeEnum
149149
public string IpAddress { get; set; }
150150

151151
/// <summary>
152-
/// 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.
152+
/// 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 or **fr** for French. Note that French is only available for some integration types in certain countries/regions. Reach out to your Adyen contact for more information.
153153
/// </summary>
154-
/// <value>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.</value>
154+
/// <value>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 or **fr** for French. Note that French is only available for some integration types in certain countries/regions. Reach out to your Adyen contact for more information.</value>
155155
[DataMember(Name = "language", EmitDefaultValue = false)]
156156
public string Language { get; set; }
157157

Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.cs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
@@ -40,31 +40,32 @@ public partial class AdditionalBankIdentification : IEquatable<AdditionalBankIde
4040
public enum TypeEnum
4141
{
4242
/// <summary>
43-
/// Enum GbSortCode for value: gbSortCode
43+
/// Enum AuBsbCode for value: auBsbCode
4444
/// </summary>
45-
[EnumMember(Value = "gbSortCode")]
46-
GbSortCode = 1,
45+
[EnumMember(Value = "auBsbCode")]
46+
AuBsbCode = 1,
4747

4848
/// <summary>
49-
/// Enum UsRoutingNumber for value: usRoutingNumber
49+
/// Enum CaRoutingNumber for value: caRoutingNumber
5050
/// </summary>
51-
[EnumMember(Value = "usRoutingNumber")]
52-
UsRoutingNumber = 2,
53-
51+
[EnumMember(Value = "caRoutingNumber")]
52+
CaRoutingNumber = 2,
53+
5454
/// <summary>
55-
/// Enum AuBsbCode for value: auBsbCode
55+
/// Enum GbSortCode for value: gbSortCode
5656
/// </summary>
57-
[EnumMember(Value = "auBsbCode")]
58-
AuBsbCode = 3,
57+
[EnumMember(Value = "gbSortCode")]
58+
GbSortCode = 3,
5959

6060
/// <summary>
61-
/// Enum CaRoutingNumber for value: caRoutingNumber
61+
/// Enum UsRoutingNumber for value: usRoutingNumber
6262
/// </summary>
63-
[EnumMember(Value = "caRoutingNumber")]
64-
CaRoutingNumber = 4
65-
63+
[EnumMember(Value = "usRoutingNumber")]
64+
UsRoutingNumber = 4
65+
6666
}
6767

68+
6869
/// <summary>
6970
/// 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.
7071
/// </summary>

Adyen/Model/LegalEntityManagement/Address.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
@@ -43,7 +43,7 @@ protected Address() { }
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>
4545
/// <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>
46-
/// <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>
46+
/// <param name="stateOrProvince">The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. 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>
4949
public Address(string city = default(string), string country = default(string), string postalCode = default(string), string stateOrProvince = default(string), string street = default(string), string street2 = default(string))
@@ -78,9 +78,9 @@ protected Address() { }
7878
public string PostalCode { get; set; }
7979

8080
/// <summary>
81-
/// 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;.
81+
/// The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send &#x60;city&#x60;, &#x60;postalCode&#x60;, and &#x60;street&#x60;.
8282
/// </summary>
83-
/// <value>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;.</value>
83+
/// <value>The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send &#x60;city&#x60;, &#x60;postalCode&#x60;, and &#x60;street&#x60;.</value>
8484
[DataMember(Name = "stateOrProvince", EmitDefaultValue = false)]
8585
public string StateOrProvince { get; set; }
8686

Adyen/Model/LegalEntityManagement/Amount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

Adyen/Model/LegalEntityManagement/Attachment.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
@@ -44,7 +44,7 @@ protected Attachment() { }
4444
/// <param name="contentType">The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. .</param>
4545
/// <param name="filename">The name of the file including the file extension..</param>
4646
/// <param name="pageName">The name of the file including the file extension..</param>
47-
/// <param name="pageType">Specifies which side of the ID card is uploaded. * When &#x60;type&#x60; is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments..</param>
47+
/// <param name="pageType">Specifies which side of the ID card is uploaded. * If the &#x60;type&#x60; is **driversLicense** or **identityCard**, you must set this to **front** or **back** and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments..</param>
4848
public Attachment(byte[] content = default(byte[]), string contentType = default(string), string filename = default(string), string pageName = default(string), string pageType = default(string))
4949
{
5050
this.Content = content;
@@ -85,9 +85,9 @@ protected Attachment() { }
8585
public string PageName { get; set; }
8686

8787
/// <summary>
88-
/// Specifies which side of the ID card is uploaded. * When &#x60;type&#x60; is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments.
88+
/// Specifies which side of the ID card is uploaded. * If the &#x60;type&#x60; is **driversLicense** or **identityCard**, you must set this to **front** or **back** and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments.
8989
/// </summary>
90-
/// <value>Specifies which side of the ID card is uploaded. * When &#x60;type&#x60; is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments.</value>
90+
/// <value>Specifies which side of the ID card is uploaded. * If the &#x60;type&#x60; is **driversLicense** or **identityCard**, you must set this to **front** or **back** and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments.</value>
9191
[DataMember(Name = "pageType", EmitDefaultValue = false)]
9292
public string PageType { get; set; }
9393

Adyen/Model/LegalEntityManagement/BankAccountInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Legal Entity Management API
33
*
44
*
5-
* The version of the OpenAPI document: 3
5+
* The version of the OpenAPI document: 4
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

0 commit comments

Comments
 (0)