Skip to content

Commit c94c700

Browse files
authored
Merge pull request #1560 from Adyen/sdk-automation/models
Code generation: update services and models
2 parents b5c36ce + 82a5550 commit c94c700

20 files changed

+127
-16
lines changed

src/typings/balancePlatform/bulkAddress.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ export class BulkAddress {
3030
*/
3131
"houseNumberOrName"?: string;
3232
/**
33+
* The name of the street and the number of the building. For example: **Simon Carmiggeltstraat 6-50**.
34+
*/
35+
"line1"?: string;
36+
/**
37+
* Additional information about the delivery address. For example, an apartment number.
38+
*/
39+
"line2"?: string;
40+
/**
41+
* Additional information about the delivery address.
42+
*/
43+
"line3"?: string;
44+
/**
3345
* The full telephone number.
3446
*/
3547
"mobile"?: string;
@@ -81,6 +93,24 @@ export class BulkAddress {
8193
"type": "string",
8294
"format": ""
8395
},
96+
{
97+
"name": "line1",
98+
"baseName": "line1",
99+
"type": "string",
100+
"format": ""
101+
},
102+
{
103+
"name": "line2",
104+
"baseName": "line2",
105+
"type": "string",
106+
"format": ""
107+
},
108+
{
109+
"name": "line3",
110+
"baseName": "line3",
111+
"type": "string",
112+
"format": ""
113+
},
84114
{
85115
"name": "mobile",
86116
"baseName": "mobile",

src/typings/balancePlatform/hKLocalAccountIdentification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
export class HKLocalAccountIdentification {
1212
/**
13-
* The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.
13+
* The 9- to 17-digit bank account number, without separators or whitespace. Starts with the 3-digit branch code.
1414
*/
1515
"accountNumber": string;
1616
/**

src/typings/configurationWebhooks/bulkAddress.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ export class BulkAddress {
3030
*/
3131
"houseNumberOrName"?: string;
3232
/**
33+
* The name of the street and the number of the building. For example: **Simon Carmiggeltstraat 6-50**.
34+
*/
35+
"line1"?: string;
36+
/**
37+
* Additional information about the delivery address. For example, an apartment number.
38+
*/
39+
"line2"?: string;
40+
/**
41+
* Additional information about the delivery address.
42+
*/
43+
"line3"?: string;
44+
/**
3345
* The full telephone number.
3446
*/
3547
"mobile"?: string;
@@ -81,6 +93,24 @@ export class BulkAddress {
8193
"type": "string",
8294
"format": ""
8395
},
96+
{
97+
"name": "line1",
98+
"baseName": "line1",
99+
"type": "string",
100+
"format": ""
101+
},
102+
{
103+
"name": "line2",
104+
"baseName": "line2",
105+
"type": "string",
106+
"format": ""
107+
},
108+
{
109+
"name": "line3",
110+
"baseName": "line3",
111+
"type": "string",
112+
"format": ""
113+
},
84114
{
85115
"name": "mobile",
86116
"baseName": "mobile",

src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ export class NetworkTokenNotificationDataV2 {
3737
*/
3838
"paymentInstrumentId"?: string;
3939
/**
40+
* The confidence score of scheme, indicating the degree of risk associated with a token. A high score indicates a high level of risk. A low score indicates a low level of risk. Possible values for visa : **00** to **99**, a value of 00 signifies no score was provided by visa
41+
*/
42+
"schemeRiskScore"?: string;
43+
/**
4044
* The status of the network token.
4145
*/
4246
"status"?: string;
@@ -97,6 +101,12 @@ export class NetworkTokenNotificationDataV2 {
97101
"type": "string",
98102
"format": ""
99103
},
104+
{
105+
"name": "schemeRiskScore",
106+
"baseName": "schemeRiskScore",
107+
"type": "string",
108+
"format": ""
109+
},
100110
{
101111
"name": "status",
102112
"baseName": "status",

src/typings/payment/additionalDataLevel23.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class AdditionalDataLevel23 {
7474
*/
7575
"enhancedSchemeData_shipFromPostalCode"?: string;
7676
/**
77-
* The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros.
77+
* The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * For L2 data: must not be all zeroes. * For L3 data: can be zero.
7878
*/
7979
"enhancedSchemeData_totalTaxAmount"?: string;
8080

src/typings/payment/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export * from "./responseAdditionalDataInstallments"
6161
export * from "./responseAdditionalDataNetworkTokens"
6262
export * from "./responseAdditionalDataOpi"
6363
export * from "./responseAdditionalDataSepa"
64+
export * from "./responseAdditionalDataSwish"
6465
export * from "./sDKEphemPubKey"
6566
export * from "./secureRemoteCommerceCheckoutData"
6667
export * from "./serviceError"

src/typings/payment/objectSerializer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ import { ResponseAdditionalDataInstallments } from "./responseAdditionalDataInst
6363
import { ResponseAdditionalDataNetworkTokens } from "./responseAdditionalDataNetworkTokens";
6464
import { ResponseAdditionalDataOpi } from "./responseAdditionalDataOpi";
6565
import { ResponseAdditionalDataSepa } from "./responseAdditionalDataSepa";
66+
import { ResponseAdditionalDataSwish } from "./responseAdditionalDataSwish";
6667
import { SDKEphemPubKey } from "./sDKEphemPubKey";
6768
import { SecureRemoteCommerceCheckoutData } from "./secureRemoteCommerceCheckoutData";
6869
import { ServiceError } from "./serviceError";
@@ -217,6 +218,7 @@ let typeMap: {[index: string]: any} = {
217218
"ResponseAdditionalDataNetworkTokens": ResponseAdditionalDataNetworkTokens,
218219
"ResponseAdditionalDataOpi": ResponseAdditionalDataOpi,
219220
"ResponseAdditionalDataSepa": ResponseAdditionalDataSepa,
221+
"ResponseAdditionalDataSwish": ResponseAdditionalDataSwish,
220222
"SDKEphemPubKey": SDKEphemPubKey,
221223
"SecureRemoteCommerceCheckoutData": SecureRemoteCommerceCheckoutData,
222224
"ServiceError": ServiceError,
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* The version of the OpenAPI document: v68
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class ResponseAdditionalDataSwish {
12+
/**
13+
* A Swish shopper\'s telephone number.
14+
*/
15+
"swish_payerAlias"?: string;
16+
17+
static readonly discriminator: string | undefined = undefined;
18+
19+
static readonly mapping: {[index: string]: string} | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "swish_payerAlias",
24+
"baseName": "swish.payerAlias",
25+
"type": "string",
26+
"format": ""
27+
} ];
28+
29+
static getAttributeTypeMap() {
30+
return ResponseAdditionalDataSwish.attributeTypeMap;
31+
}
32+
33+
public constructor() {
34+
}
35+
}
36+

src/typings/payment/split.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Split {
2525
*/
2626
"reference"?: string;
2727
/**
28-
* The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen\'s commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform\'s commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform\'s commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**.
28+
* The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen\'s commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Commission**: your platform\'s commission on the payment (specified in `amount`), booked to your liable balance account. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **TopUp**: allows you and your users to top up balance accounts using direct debit, card payments, or other payment methods. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **MarketPlace**, **PaymentFee**, **VAT**.
2929
*/
3030
"type": Split.TypeEnum;
3131

src/typings/transactionWebhooks/platformPayment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class PlatformPayment {
2222
*/
2323
"paymentMerchantReference"?: string;
2424
/**
25-
* Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: for the acquiring fee incurred on a transaction. * **AdyenCommission**: for the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: for all the transaction fees due to Adyen. This is the sum of Adyen\'s commission and Adyen\'s markup. * **AdyenMarkup**: for the transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: or the sale amount of a transaction. * **Commission**: for your platform\'s commission on a transaction. * **DCCPlatformCommission**: for the DCC Commission for the platform on a transaction. * **Interchange**: for the interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: for all of the transaction fees. * **Remainder**: for the left over amount after currency conversion. * **SchemeFee**: for the scheme fee incurred on a transaction. This is the sum of the interchange fees and the acquiring fees. * **Surcharge**: for the surcharge paid by the customer on a transaction. * **Tip**: for the tip paid by the customer. * **TopUp**: for an incoming transfer to top up your user\'s balance account. * **VAT**: for the Value Added Tax.
25+
* Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: the acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction. * **AdyenCommission**: the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: all transaction fees due to Adyen. This is the aggregated amount of Adyen\'s commission and markup. * **AdyenMarkup**: the transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: the amount booked to your user after the deduction of the relevant fees. * **Commission**: your platform\'s or marketplace\'s commission on a transaction. * **DCCPlatformCommission**: the Dynamic Currency Conversion (DCC) fee on a transaction. * **Interchange**: the interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: the aggregated amount of all transaction fees. * **Remainder**: the leftover amount after currency conversion. * **SchemeFee**: the scheme fee incurred on a transaction. * **Surcharge**: the surcharge paid by the customer on a transaction. * **Tip**: the tip paid by the customer. * **TopUp**: an incoming transfer to top up your user\'s balance account. * **VAT**: the value-added tax charged on the payment.
2626
*/
2727
"platformPaymentType"?: PlatformPayment.PlatformPaymentTypeEnum;
2828
/**

0 commit comments

Comments
 (0)