Skip to content

Commit 30b66fb

Browse files
committed
Code format Checkout
1 parent 11ba40c commit 30b66fb

File tree

211 files changed

+1855
-1855
lines changed

Some content is hidden

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

211 files changed

+1855
-1855
lines changed

src/typings/checkout/accountInfo.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,88 +12,88 @@ export class AccountInfo {
1212
/**
1313
* Indicator for the length of time since this shopper account was created in the merchant\'s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
1414
*/
15-
'accountAgeIndicator'?: AccountInfo.AccountAgeIndicatorEnum;
15+
"accountAgeIndicator"?: AccountInfo.AccountAgeIndicatorEnum;
1616
/**
1717
* Date when the shopper\'s account was last changed.
1818
*/
19-
'accountChangeDate'?: Date;
19+
"accountChangeDate"?: Date;
2020
/**
2121
* Indicator for the length of time since the shopper\'s account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
2222
*/
23-
'accountChangeIndicator'?: AccountInfo.AccountChangeIndicatorEnum;
23+
"accountChangeIndicator"?: AccountInfo.AccountChangeIndicatorEnum;
2424
/**
2525
* Date when the shopper\'s account was created.
2626
*/
27-
'accountCreationDate'?: Date;
27+
"accountCreationDate"?: Date;
2828
/**
2929
* Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit
3030
*/
31-
'accountType'?: AccountInfo.AccountTypeEnum;
31+
"accountType"?: AccountInfo.AccountTypeEnum;
3232
/**
3333
* Number of attempts the shopper tried to add a card to their account in the last day.
3434
*/
35-
'addCardAttemptsDay'?: number;
35+
"addCardAttemptsDay"?: number;
3636
/**
3737
* Date the selected delivery address was first used.
3838
*/
39-
'deliveryAddressUsageDate'?: Date;
39+
"deliveryAddressUsageDate"?: Date;
4040
/**
4141
* Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
4242
*/
43-
'deliveryAddressUsageIndicator'?: AccountInfo.DeliveryAddressUsageIndicatorEnum;
43+
"deliveryAddressUsageIndicator"?: AccountInfo.DeliveryAddressUsageIndicatorEnum;
4444
/**
4545
* Shopper\'s home phone number (including the country code).
4646
*
4747
* @deprecated since Adyen Checkout API v68
4848
* Use `ThreeDS2RequestData.homePhone` instead.
4949
*/
50-
'homePhone'?: string;
50+
"homePhone"?: string;
5151
/**
5252
* Shopper\'s mobile phone number (including the country code).
5353
*
5454
* @deprecated since Adyen Checkout API v68
5555
* Use `ThreeDS2RequestData.mobilePhone` instead.
5656
*/
57-
'mobilePhone'?: string;
57+
"mobilePhone"?: string;
5858
/**
5959
* Date when the shopper last changed their password.
6060
*/
61-
'passwordChangeDate'?: Date;
61+
"passwordChangeDate"?: Date;
6262
/**
6363
* Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
6464
*/
65-
'passwordChangeIndicator'?: AccountInfo.PasswordChangeIndicatorEnum;
65+
"passwordChangeIndicator"?: AccountInfo.PasswordChangeIndicatorEnum;
6666
/**
6767
* Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.
6868
*/
69-
'pastTransactionsDay'?: number;
69+
"pastTransactionsDay"?: number;
7070
/**
7171
* Number of all transactions (successful and abandoned) from this shopper in the past year.
7272
*/
73-
'pastTransactionsYear'?: number;
73+
"pastTransactionsYear"?: number;
7474
/**
7575
* Date this payment method was added to the shopper\'s account.
7676
*/
77-
'paymentAccountAge'?: Date;
77+
"paymentAccountAge"?: Date;
7878
/**
7979
* Indicator for the length of time since this payment method was added to this shopper\'s account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
8080
*/
81-
'paymentAccountIndicator'?: AccountInfo.PaymentAccountIndicatorEnum;
81+
"paymentAccountIndicator"?: AccountInfo.PaymentAccountIndicatorEnum;
8282
/**
8383
* Number of successful purchases in the last six months.
8484
*/
85-
'purchasesLast6Months'?: number;
85+
"purchasesLast6Months"?: number;
8686
/**
8787
* Whether suspicious activity was recorded on this account.
8888
*/
89-
'suspiciousActivity'?: boolean;
89+
"suspiciousActivity"?: boolean;
9090
/**
9191
* Shopper\'s work phone number (including the country code).
9292
*
9393
* @deprecated since Adyen Checkout API v68
9494
* Use `ThreeDS2RequestData.workPhone` instead.
9595
*/
96-
'workPhone'?: string;
96+
"workPhone"?: string;
9797

9898
static readonly discriminator: string | undefined = undefined;
9999

src/typings/checkout/acctInfo.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,67 +12,67 @@ export class AcctInfo {
1212
/**
1313
* Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days
1414
*/
15-
'chAccAgeInd'?: AcctInfo.ChAccAgeIndEnum;
15+
"chAccAgeInd"?: AcctInfo.ChAccAgeIndEnum;
1616
/**
1717
* Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD**
1818
*/
19-
'chAccChange'?: string;
19+
"chAccChange"?: string;
2020
/**
2121
* Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days
2222
*/
23-
'chAccChangeInd'?: AcctInfo.ChAccChangeIndEnum;
23+
"chAccChangeInd"?: AcctInfo.ChAccChangeIndEnum;
2424
/**
2525
* Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD**
2626
*/
27-
'chAccPwChange'?: string;
27+
"chAccPwChange"?: string;
2828
/**
2929
* Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days
3030
*/
31-
'chAccPwChangeInd'?: AcctInfo.ChAccPwChangeIndEnum;
31+
"chAccPwChangeInd"?: AcctInfo.ChAccPwChangeIndEnum;
3232
/**
3333
* Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD**
3434
*/
35-
'chAccString'?: string;
35+
"chAccString"?: string;
3636
/**
3737
* Number of purchases with this cardholder account during the previous six months. Max length: 4 characters.
3838
*/
39-
'nbPurchaseAccount'?: string;
39+
"nbPurchaseAccount"?: string;
4040
/**
4141
* String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD**
4242
*/
43-
'paymentAccAge'?: string;
43+
"paymentAccAge"?: string;
4444
/**
4545
* Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days
4646
*/
47-
'paymentAccInd'?: AcctInfo.PaymentAccIndEnum;
47+
"paymentAccInd"?: AcctInfo.PaymentAccIndEnum;
4848
/**
4949
* Number of Add Card attempts in the last 24 hours. Max length: 3 characters.
5050
*/
51-
'provisionAttemptsDay'?: string;
51+
"provisionAttemptsDay"?: string;
5252
/**
5353
* String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD**
5454
*/
55-
'shipAddressUsage'?: string;
55+
"shipAddressUsage"?: string;
5656
/**
5757
* Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days
5858
*/
59-
'shipAddressUsageInd'?: AcctInfo.ShipAddressUsageIndEnum;
59+
"shipAddressUsageInd"?: AcctInfo.ShipAddressUsageIndEnum;
6060
/**
6161
* Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name
6262
*/
63-
'shipNameIndicator'?: AcctInfo.ShipNameIndicatorEnum;
63+
"shipNameIndicator"?: AcctInfo.ShipNameIndicatorEnum;
6464
/**
6565
* Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed
6666
*/
67-
'suspiciousAccActivity'?: AcctInfo.SuspiciousAccActivityEnum;
67+
"suspiciousAccActivity"?: AcctInfo.SuspiciousAccActivityEnum;
6868
/**
6969
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters.
7070
*/
71-
'txnActivityDay'?: string;
71+
"txnActivityDay"?: string;
7272
/**
7373
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters.
7474
*/
75-
'txnActivityYear'?: string;
75+
"txnActivityYear"?: string;
7676

7777
static readonly discriminator: string | undefined = undefined;
7878

src/typings/checkout/achDetails.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,54 @@ export class AchDetails {
1212
/**
1313
* The account holder type (personal or business).
1414
*/
15-
'accountHolderType'?: AchDetails.AccountHolderTypeEnum;
15+
"accountHolderType"?: AchDetails.AccountHolderTypeEnum;
1616
/**
1717
* The bank account number (without separators).
1818
*/
19-
'bankAccountNumber'?: string;
19+
"bankAccountNumber"?: string;
2020
/**
2121
* The bank account type (checking, savings...).
2222
*/
23-
'bankAccountType'?: AchDetails.BankAccountTypeEnum;
23+
"bankAccountType"?: AchDetails.BankAccountTypeEnum;
2424
/**
2525
* The bank routing number of the account. The field value is `nil` in most cases.
2626
*/
27-
'bankLocationId'?: string;
27+
"bankLocationId"?: string;
2828
/**
2929
* The checkout attempt identifier.
3030
*/
31-
'checkoutAttemptId'?: string;
31+
"checkoutAttemptId"?: string;
3232
/**
3333
* Encrypted bank account number. The bank account number (without separators).
3434
*/
35-
'encryptedBankAccountNumber'?: string;
35+
"encryptedBankAccountNumber"?: string;
3636
/**
3737
* Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases.
3838
*/
39-
'encryptedBankLocationId'?: string;
39+
"encryptedBankLocationId"?: string;
4040
/**
4141
* The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don\'t accept \'ø\'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don\'t match the required format, the response returns the error message: 203 \'Invalid bank account holder name\'.
4242
*/
43-
'ownerName'?: string;
43+
"ownerName"?: string;
4444
/**
4545
* This is the `recurringDetailReference` returned in the response when you created the token.
4646
*
4747
* @deprecated since Adyen Checkout API v49
4848
* Use `storedPaymentMethodId` instead.
4949
*/
50-
'recurringDetailReference'?: string;
50+
"recurringDetailReference"?: string;
5151
/**
5252
* This is the `recurringDetailReference` returned in the response when you created the token.
5353
*/
54-
'storedPaymentMethodId'?: string;
54+
"storedPaymentMethodId"?: string;
5555
/**
5656
* The unique identifier of your user\'s verified transfer instrument, which you can use to top up their balance accounts.
5757
*/
58-
'transferInstrumentId'?: string;
58+
"transferInstrumentId"?: string;
5959
/**
6060
* **ach**
6161
*/
62-
'type'?: AchDetails.TypeEnum;
62+
"type"?: AchDetails.TypeEnum;
6363

6464
static readonly discriminator: string | undefined = undefined;
6565

src/typings/checkout/additionalData3DSecure.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ export class AdditionalData3DSecure {
1515
* @deprecated since Adyen Checkout API v69
1616
* Use `authenticationData.threeDSRequestData.nativeThreeDS` instead.
1717
*/
18-
'allow3DS2'?: string;
18+
"allow3DS2"?: string;
1919
/**
2020
* Dimensions of the 3DS2 challenge window to be displayed to the cardholder. Possible values: * **01** - size of 250x400 * **02** - size of 390x400 * **03** - size of 500x600 * **04** - size of 600x400 * **05** - Fullscreen
2121
*/
22-
'challengeWindowSize'?: AdditionalData3DSecure.ChallengeWindowSizeEnum;
22+
"challengeWindowSize"?: AdditionalData3DSecure.ChallengeWindowSizeEnum;
2323
/**
2424
* Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don\'t perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations.
2525
*
2626
* @deprecated since Adyen Checkout API v69
2727
* Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead
2828
*/
29-
'executeThreeD'?: string;
29+
"executeThreeD"?: string;
3030
/**
3131
* In case of Secure+, this field must be set to **CUPSecurePlus**.
3232
*/
33-
'mpiImplementationType'?: string;
33+
"mpiImplementationType"?: string;
3434
/**
3535
* Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis**
3636
*/
37-
'scaExemption'?: string;
37+
"scaExemption"?: string;
3838
/**
3939
* Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen\'s Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. * If you the BIN is not enrolled, you will receive an error.
4040
*/
41-
'threeDSVersion'?: string;
41+
"threeDSVersion"?: string;
4242

4343
static readonly discriminator: string | undefined = undefined;
4444

0 commit comments

Comments
 (0)