Skip to content

Commit 669a6c9

Browse files
authored
Merge pull request #1548 from Adyen/sdk-automation/models
Code generation: update services and models
2 parents ef3387d + b3ec957 commit 669a6c9

16 files changed

+117
-6
lines changed

src/typings/checkout/cardDetails.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export class CardDetails {
4242
*/
4343
"encryptedExpiryYear"?: string;
4444
/**
45+
* This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
46+
*/
47+
"encryptedPassword"?: string;
48+
/**
4549
* The encrypted card verification code.
4650
*/
4751
"encryptedSecurityCode"?: string;
@@ -166,6 +170,12 @@ export class CardDetails {
166170
"type": "string",
167171
"format": ""
168172
},
173+
{
174+
"name": "encryptedPassword",
175+
"baseName": "encryptedPassword",
176+
"type": "string",
177+
"format": ""
178+
},
169179
{
170180
"name": "encryptedSecurityCode",
171181
"baseName": "encryptedSecurityCode",

src/typings/checkout/cardDetailsRequest.ts

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

1111
export class CardDetailsRequest {
1212
/**
13-
* A minimum of the first eight digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
13+
* A minimum of the first six digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
1414
*/
1515
"cardNumber": string;
1616
/**

src/typings/checkout/cardDonations.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export class CardDonations {
4242
*/
4343
"encryptedExpiryYear"?: string;
4444
/**
45+
* This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
46+
*/
47+
"encryptedPassword"?: string;
48+
/**
4549
* The encrypted card verification code.
4650
*/
4751
"encryptedSecurityCode"?: string;
@@ -166,6 +170,12 @@ export class CardDonations {
166170
"type": "string",
167171
"format": ""
168172
},
173+
{
174+
"name": "encryptedPassword",
175+
"baseName": "encryptedPassword",
176+
"type": "string",
177+
"format": ""
178+
},
169179
{
170180
"name": "encryptedSecurityCode",
171181
"baseName": "encryptedSecurityCode",

src/typings/checkout/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export * from "./responseAdditionalDataInstallments"
173173
export * from "./responseAdditionalDataNetworkTokens"
174174
export * from "./responseAdditionalDataOpi"
175175
export * from "./responseAdditionalDataSepa"
176+
export * from "./responseAdditionalDataSwish"
176177
export * from "./responsePaymentMethod"
177178
export * from "./result"
178179
export * from "./riskData"

src/typings/checkout/objectSerializer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ import { ResponseAdditionalDataInstallments } from "./responseAdditionalDataInst
175175
import { ResponseAdditionalDataNetworkTokens } from "./responseAdditionalDataNetworkTokens";
176176
import { ResponseAdditionalDataOpi } from "./responseAdditionalDataOpi";
177177
import { ResponseAdditionalDataSepa } from "./responseAdditionalDataSepa";
178+
import { ResponseAdditionalDataSwish } from "./responseAdditionalDataSwish";
178179
import { ResponsePaymentMethod } from "./responsePaymentMethod";
179180
import { Result } from "./result";
180181
import { RiskData } from "./riskData";
@@ -622,6 +623,7 @@ let typeMap: {[index: string]: any} = {
622623
"ResponseAdditionalDataNetworkTokens": ResponseAdditionalDataNetworkTokens,
623624
"ResponseAdditionalDataOpi": ResponseAdditionalDataOpi,
624625
"ResponseAdditionalDataSepa": ResponseAdditionalDataSepa,
626+
"ResponseAdditionalDataSwish": ResponseAdditionalDataSwish,
625627
"ResponsePaymentMethod": ResponsePaymentMethod,
626628
"RiskData": RiskData,
627629
"RivertyDetails": RivertyDetails,

src/typings/checkout/paymentDetails.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export namespace PaymentDetails {
4848
export enum TypeEnum {
4949
Alipay = 'alipay',
5050
Multibanco = 'multibanco',
51+
BankTransfer = 'bankTransfer',
5152
BankTransferIban = 'bankTransfer_IBAN',
5253
Paybright = 'paybright',
5354
Paynow = 'paynow',
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: v71
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/checkout/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/checkout/validateShopperIdResponse.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { Result } from "./result";
1111

1212

1313
export class ValidateShopperIdResponse {
14+
/**
15+
* Reason for the result.
16+
*/
1417
"reason"?: string;
1518
"result"?: Result;
1619

src/typings/disputeWebhooks/balancePlatformNotificationResponse.ts

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

1111
export class BalancePlatformNotificationResponse {
1212
/**
13-
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
13+
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
1414
*/
1515
"notificationResponse"?: string;
1616

0 commit comments

Comments
 (0)