[create-pull-request] automated change

This commit is contained in:
AdyenAutomationBot
2023-01-19 16:08:59 +00:00
parent bf1e643973
commit 19bd6015f1
118 changed files with 2453 additions and 164 deletions

View File

@@ -18,6 +18,10 @@ export class AchDetails {
*/
'bankLocationId'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* Encrypted bank account number. The bank account number (without separators).
*/
'encryptedBankAccountNumber'?: string;
@@ -55,6 +59,11 @@ export class AchDetails {
"baseName": "bankLocationId",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "encryptedBankAccountNumber",
"baseName": "encryptedBankAccountNumber",

View File

@@ -14,6 +14,10 @@ export class AfterpayDetails {
*/
'billingAddress'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The address where the goods should be delivered.
*/
'deliveryAddress'?: string;
@@ -42,6 +46,11 @@ export class AfterpayDetails {
"baseName": "billingAddress",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",

View File

@@ -14,6 +14,10 @@ export class AmazonPayDetails {
*/
'amazonPayToken'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* **amazonpay**
*/
'type'?: AmazonPayDetails.TypeEnum;
@@ -26,6 +30,11 @@ export class AmazonPayDetails {
"baseName": "amazonPayToken",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "type",
"baseName": "type",

View File

@@ -9,6 +9,10 @@
export class AndroidPayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* **androidpay**
*/
@@ -17,6 +21,11 @@ export class AndroidPayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "type",
"baseName": "type",

View File

@@ -14,6 +14,10 @@ export class ApplePayDetails {
*/
'applePayToken': string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
'fundingSource'?: ApplePayDetails.FundingSourceEnum;
@@ -38,6 +42,11 @@ export class ApplePayDetails {
"baseName": "applePayToken",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -7,36 +7,20 @@
* Do not edit this class manually.
*/
import { ThreeDSRequestData } from './threeDSRequestData';
export class AuthenticationData {
/**
* Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don\'t perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * **preferNo**: Do not perform 3D Secure authentication if not required by PSD2 SCA or other national regulations.
*/
'attemptAuthentication'?: AuthenticationData.AttemptAuthenticationEnum;
/**
* If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**.
*/
'authenticationOnly'?: boolean;
'threeDSRequestData'?: ThreeDSRequestData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "attemptAuthentication",
"baseName": "attemptAuthentication",
"type": "AuthenticationData.AttemptAuthenticationEnum"
},
{
"name": "authenticationOnly",
"baseName": "authenticationOnly",
"type": "boolean"
},
{
"name": "threeDSRequestData",
"baseName": "threeDSRequestData",
"type": "ThreeDSRequestData"
} ];
static getAttributeTypeMap() {
@@ -44,10 +28,3 @@ export class AuthenticationData {
}
}
export namespace AuthenticationData {
export enum AttemptAuthenticationEnum {
Always = <any> 'always',
Never = <any> 'never',
PreferNo = <any> 'preferNo'
}
}

View File

@@ -0,0 +1,53 @@
/*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { ThreeDSRequestData } from './threeDSRequestData';
export class AuthenticationData2 {
/**
* Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don\'t perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * **preferNo**: Do not perform 3D Secure authentication if not required by PSD2 SCA or other national regulations.
*/
'attemptAuthentication'?: AuthenticationData2.AttemptAuthenticationEnum;
/**
* If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**.
*/
'authenticationOnly'?: boolean;
'threeDSRequestData'?: ThreeDSRequestData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "attemptAuthentication",
"baseName": "attemptAuthentication",
"type": "AuthenticationData2.AttemptAuthenticationEnum"
},
{
"name": "authenticationOnly",
"baseName": "authenticationOnly",
"type": "boolean"
},
{
"name": "threeDSRequestData",
"baseName": "threeDSRequestData",
"type": "ThreeDSRequestData"
} ];
static getAttributeTypeMap() {
return AuthenticationData2.attributeTypeMap;
}
}
export namespace AuthenticationData2 {
export enum AttemptAuthenticationEnum {
Always = <any> 'always',
Never = <any> 'never',
PreferNo = <any> 'preferNo'
}
}

View File

@@ -18,6 +18,10 @@ export class BacsDirectDebitDetails {
*/
'bankLocationId'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The name of the bank account holder.
*/
'holderName'?: string;
@@ -47,6 +51,11 @@ export class BacsDirectDebitDetails {
"baseName": "bankLocationId",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "holderName",
"baseName": "holderName",

View File

@@ -9,6 +9,10 @@
export class BillDeskDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The issuer id of the shopper\'s selected bank.
*/
@@ -21,6 +25,11 @@ export class BillDeskDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -14,6 +14,10 @@ export class BlikDetails {
*/
'blikCode'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'recurringDetailReference'?: string;
@@ -34,6 +38,11 @@ export class BlikDetails {
"baseName": "blikCode",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -16,7 +16,7 @@ export class Card {
/**
* The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November
*/
'expiryMonth': string;
'expiryMonth'?: string;
/**
* The card expiry year. Format: 4 digits. For example: 2020
*/
@@ -32,7 +32,7 @@ export class Card {
/**
* The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.
*/
'number': string;
'number'?: string;
/**
* The month component of the start date (for some UK debit cards only).
*/

View File

@@ -13,6 +13,10 @@ export class CardDetails {
* Secondary brand of the card. For example: **plastix**, **hmclub**.
*/
'brand'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
'cupsecureplusSmscode'?: string;
/**
* The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
@@ -87,6 +91,11 @@ export class CardDetails {
"baseName": "brand",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "cupsecureplusSmscode",
"baseName": "cupsecureplus.smscode",
@@ -187,11 +196,6 @@ export namespace CardDetails {
NetworkToken = <any> 'networkToken',
Giftcard = <any> 'giftcard',
Alliancedata = <any> 'alliancedata',
Card = <any> 'card',
Qiwiwallet = <any> 'qiwiwallet',
LianlianpayEbankingEnterprise = <any> 'lianlianpay_ebanking_enterprise',
LianlianpayEbankingCredit = <any> 'lianlianpay_ebanking_credit',
LianlianpayEbankingDebit = <any> 'lianlianpay_ebanking_debit',
Entercash = <any> 'entercash'
Card = <any> 'card'
}
}

View File

@@ -9,6 +9,10 @@
export class CellulantDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The Cellulant issuer.
*/
@@ -21,6 +25,11 @@ export class CellulantDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -11,9 +11,11 @@ import { AccountInfo } from './accountInfo';
import { Address } from './address';
import { Amount } from './amount';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { AuthenticationData2 } from './authenticationData2';
import { CheckoutSessionInstallmentOption } from './checkoutSessionInstallmentOption';
import { Company } from './company';
import { FundOrigin } from './fundOrigin';
import { FundRecipient } from './fundRecipient';
import { LineItem } from './lineItem';
import { Mandate } from './mandate';
import { Name } from './name';
@@ -34,7 +36,7 @@ export class CreateCheckoutSessionRequest {
'allowedPaymentMethods'?: Array<string>;
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'authenticationData'?: AuthenticationData2;
'billingAddress'?: Address;
/**
* List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`
@@ -78,6 +80,8 @@ export class CreateCheckoutSessionRequest {
* The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.
*/
'expiresAt'?: Date;
'fundOrigin'?: FundOrigin;
'fundRecipient'?: FundRecipient;
/**
* A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.
*/
@@ -227,7 +231,7 @@ export class CreateCheckoutSessionRequest {
{
"name": "authenticationData",
"baseName": "authenticationData",
"type": "AuthenticationData"
"type": "AuthenticationData2"
},
{
"name": "billingAddress",
@@ -294,6 +298,16 @@ export class CreateCheckoutSessionRequest {
"baseName": "expiresAt",
"type": "Date"
},
{
"name": "fundOrigin",
"baseName": "fundOrigin",
"type": "FundOrigin"
},
{
"name": "fundRecipient",
"baseName": "fundRecipient",
"type": "FundRecipient"
},
{
"name": "installmentOptions",
"baseName": "installmentOptions",

View File

@@ -11,9 +11,11 @@ import { AccountInfo } from './accountInfo';
import { Address } from './address';
import { Amount } from './amount';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { AuthenticationData2 } from './authenticationData2';
import { CheckoutSessionInstallmentOption } from './checkoutSessionInstallmentOption';
import { Company } from './company';
import { FundOrigin } from './fundOrigin';
import { FundRecipient } from './fundRecipient';
import { LineItem } from './lineItem';
import { Mandate } from './mandate';
import { Name } from './name';
@@ -34,7 +36,7 @@ export class CreateCheckoutSessionResponse {
'allowedPaymentMethods'?: Array<string>;
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'authenticationData'?: AuthenticationData2;
'billingAddress'?: Address;
/**
* List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`
@@ -78,6 +80,8 @@ export class CreateCheckoutSessionResponse {
* The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation.
*/
'expiresAt': Date;
'fundOrigin'?: FundOrigin;
'fundRecipient'?: FundRecipient;
/**
* A unique identifier of the session.
*/
@@ -235,7 +239,7 @@ export class CreateCheckoutSessionResponse {
{
"name": "authenticationData",
"baseName": "authenticationData",
"type": "AuthenticationData"
"type": "AuthenticationData2"
},
{
"name": "billingAddress",
@@ -302,6 +306,16 @@ export class CreateCheckoutSessionResponse {
"baseName": "expiresAt",
"type": "Date"
},
{
"name": "fundOrigin",
"baseName": "fundOrigin",
"type": "FundOrigin"
},
{
"name": "fundRecipient",
"baseName": "fundRecipient",
"type": "FundRecipient"
},
{
"name": "id",
"baseName": "id",

View File

@@ -62,6 +62,10 @@ export class CreatePaymentLinkRequest {
*/
'lineItems'?: Array<LineItem>;
/**
* Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture).
*/
'manualCapture'?: boolean;
/**
* The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.
*/
'mcc'?: string;
@@ -116,6 +120,10 @@ export class CreatePaymentLinkRequest {
*/
'shopperStatement'?: string;
/**
* Set to **false** to hide the button that lets the shopper remove a stored payment method.
*/
'showRemovePaymentMethodButton'?: boolean;
/**
* The shopper\'s social security number.
*/
'socialSecurityNumber'?: string;
@@ -217,6 +225,11 @@ export class CreatePaymentLinkRequest {
"baseName": "lineItems",
"type": "Array<LineItem>"
},
{
"name": "manualCapture",
"baseName": "manualCapture",
"type": "boolean"
},
{
"name": "mcc",
"baseName": "mcc",
@@ -292,6 +305,11 @@ export class CreatePaymentLinkRequest {
"baseName": "shopperStatement",
"type": "string"
},
{
"name": "showRemovePaymentMethodButton",
"baseName": "showRemovePaymentMethodButton",
"type": "boolean"
},
{
"name": "socialSecurityNumber",
"baseName": "socialSecurityNumber",

View File

@@ -7,9 +7,11 @@
* Do not edit this class manually.
*/
import { AuthenticationData } from './authenticationData';
import { PaymentCompletionDetails } from './paymentCompletionDetails';
export class DetailsRequest {
'authenticationData'?: AuthenticationData;
'details': PaymentCompletionDetails;
/**
* The `paymentData` value from the `/payments` response. Required if the `/payments` response returns this value.
@@ -23,6 +25,11 @@ export class DetailsRequest {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "authenticationData",
"baseName": "authenticationData",
"type": "AuthenticationData"
},
{
"name": "details",
"baseName": "details",

View File

@@ -9,6 +9,10 @@
export class DokuDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The shopper\'s first name.
*/
@@ -29,6 +33,11 @@ export class DokuDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "firstName",
"baseName": "firstName",

View File

@@ -9,6 +9,10 @@
export class DotpayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The Dotpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dotpay issuer to preselect it.
*/
@@ -21,6 +25,11 @@ export class DotpayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -9,6 +9,10 @@
export class DragonpayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The Dragonpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dragonpay issuer to preselect it.
*/
@@ -25,6 +29,11 @@ export class DragonpayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -9,6 +9,10 @@
export class EcontextVoucherDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The shopper\'s first name.
*/
@@ -33,6 +37,11 @@ export class EcontextVoucherDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "firstName",
"baseName": "firstName",

View File

@@ -0,0 +1,35 @@
/*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Address } from './address';
import { Name } from './name';
export class FundOrigin {
'billingAddress'?: Address;
'shopperName'?: Name;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
} ];
static getAttributeTypeMap() {
return FundOrigin.attributeTypeMap;
}
}

View File

@@ -0,0 +1,103 @@
/*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Address } from './address';
import { CardDetails } from './cardDetails';
import { Name } from './name';
import { SubMerchant } from './subMerchant';
export class FundRecipient {
'billingAddress'?: Address;
'paymentMethod'?: CardDetails;
/**
* the email address of the person
*/
'shopperEmail'?: string;
'shopperName'?: Name;
/**
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
*/
'shopperReference'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'storedPaymentMethodId'?: string;
'subMerchant'?: SubMerchant;
/**
* the telephone number of the person
*/
'telephoneNumber'?: string;
/**
* indicates where the money is going
*/
'walletIdentifier'?: string;
/**
* indicates the tax identifier of the fund recepient
*/
'walletOwnerTaxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "paymentMethod",
"baseName": "paymentMethod",
"type": "CardDetails"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "subMerchant",
"baseName": "subMerchant",
"type": "SubMerchant"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "walletIdentifier",
"baseName": "walletIdentifier",
"type": "string"
},
{
"name": "walletOwnerTaxId",
"baseName": "walletOwnerTaxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return FundRecipient.attributeTypeMap;
}
}

View File

@@ -9,6 +9,10 @@
export class GenericIssuerPaymentMethodDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The issuer id of the shopper\'s selected bank.
*/
@@ -29,6 +33,11 @@ export class GenericIssuerPaymentMethodDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",
@@ -57,6 +66,7 @@ export class GenericIssuerPaymentMethodDetails {
export namespace GenericIssuerPaymentMethodDetails {
export enum TypeEnum {
OnlineBankingPl = <any> 'onlineBanking_PL',
Eps = <any> 'eps',
OnlineBankingSk = <any> 'onlineBanking_SK',
OnlineBankingCz = <any> 'onlineBanking_CZ'

View File

@@ -9,6 +9,10 @@
export class GiropayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
@@ -25,6 +29,11 @@ export class GiropayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -9,6 +9,10 @@
export class GooglePayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
@@ -33,6 +37,11 @@ export class GooglePayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -9,6 +9,10 @@
export class IdealDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
*/
@@ -29,6 +33,11 @@ export class IdealDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -14,6 +14,10 @@ export class KlarnaDetails {
*/
'billingAddress'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The address where the goods should be delivered.
*/
'deliveryAddress'?: string;
@@ -42,6 +46,11 @@ export class KlarnaDetails {
"baseName": "billingAddress",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",

View File

@@ -9,6 +9,10 @@
export class MasterpassDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
@@ -25,6 +29,11 @@ export class MasterpassDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -9,6 +9,10 @@
export class MbwayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
'shopperEmail': string;
'telephoneNumber': string;
/**
@@ -19,6 +23,11 @@ export class MbwayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",

View File

@@ -9,6 +9,10 @@
export class MobilePayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* **mobilepay**
*/
@@ -17,6 +21,11 @@ export class MobilePayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "type",
"baseName": "type",

View File

@@ -35,6 +35,7 @@ export * from './applePayDetails';
export * from './applePaySessionResponse';
export * from './applicationInfo';
export * from './authenticationData';
export * from './authenticationData2';
export * from './avs';
export * from './bacsDirectDebitDetails';
export * from './bankAccount';
@@ -88,6 +89,8 @@ export * from './externalPlatform';
export * from './forexQuote';
export * from './fraudCheckResult';
export * from './fraudResult';
export * from './fundOrigin';
export * from './fundRecipient';
export * from './genericIssuerPaymentMethodDetails';
export * from './giropayDetails';
export * from './googlePayDetails';
@@ -133,6 +136,7 @@ export * from './paymentSetupResponse';
export * from './paymentVerificationRequest';
export * from './paymentVerificationResponse';
export * from './phone';
export * from './platformChargebackLogic';
export * from './ratepayDetails';
export * from './recurring';
export * from './recurringDetail';
@@ -160,6 +164,7 @@ export * from './storedDetails';
export * from './storedPaymentMethod';
export * from './storedPaymentMethodDetails';
export * from './subInputDetail';
export * from './subMerchant';
export * from './threeDS2RequestData';
export * from './threeDS2ResponseData';
export * from './threeDS2Result';
@@ -204,6 +209,7 @@ import { ApplePayDetails } from './applePayDetails';
import { ApplePaySessionResponse } from './applePaySessionResponse';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { AuthenticationData2 } from './authenticationData2';
import { Avs } from './avs';
import { BacsDirectDebitDetails } from './bacsDirectDebitDetails';
import { BankAccount } from './bankAccount';
@@ -257,6 +263,8 @@ import { ExternalPlatform } from './externalPlatform';
import { ForexQuote } from './forexQuote';
import { FraudCheckResult } from './fraudCheckResult';
import { FraudResult } from './fraudResult';
import { FundOrigin } from './fundOrigin';
import { FundRecipient } from './fundRecipient';
import { GenericIssuerPaymentMethodDetails } from './genericIssuerPaymentMethodDetails';
import { GiropayDetails } from './giropayDetails';
import { GooglePayDetails } from './googlePayDetails';
@@ -302,6 +310,7 @@ import { PaymentSetupResponse } from './paymentSetupResponse';
import { PaymentVerificationRequest } from './paymentVerificationRequest';
import { PaymentVerificationResponse } from './paymentVerificationResponse';
import { Phone } from './phone';
import { PlatformChargebackLogic } from './platformChargebackLogic';
import { RatepayDetails } from './ratepayDetails';
import { Recurring } from './recurring';
import { RecurringDetail } from './recurringDetail';
@@ -329,6 +338,7 @@ import { StoredDetails } from './storedDetails';
import { StoredPaymentMethod } from './storedPaymentMethod';
import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails';
import { SubInputDetail } from './subInputDetail';
import { SubMerchant } from './subMerchant';
import { ThreeDS2RequestData } from './threeDS2RequestData';
import { ThreeDS2ResponseData } from './threeDS2ResponseData';
import { ThreeDS2Result } from './threeDS2Result';
@@ -379,7 +389,7 @@ let enumsMap: {[index: string]: any} = {
"AndroidPayDetails.TypeEnum": AndroidPayDetails.TypeEnum,
"ApplePayDetails.FundingSourceEnum": ApplePayDetails.FundingSourceEnum,
"ApplePayDetails.TypeEnum": ApplePayDetails.TypeEnum,
"AuthenticationData.AttemptAuthenticationEnum": AuthenticationData.AttemptAuthenticationEnum,
"AuthenticationData2.AttemptAuthenticationEnum": AuthenticationData2.AttemptAuthenticationEnum,
"Avs.EnabledEnum": Avs.EnabledEnum,
"BacsDirectDebitDetails.TypeEnum": BacsDirectDebitDetails.TypeEnum,
"BillDeskDetails.TypeEnum": BillDeskDetails.TypeEnum,
@@ -468,6 +478,7 @@ let enumsMap: {[index: string]: any} = {
"PaymentSetupRequest.EntityTypeEnum": PaymentSetupRequest.EntityTypeEnum,
"PaymentSetupRequest.ShopperInteractionEnum": PaymentSetupRequest.ShopperInteractionEnum,
"PaymentVerificationResponse.ResultCodeEnum": PaymentVerificationResponse.ResultCodeEnum,
"PlatformChargebackLogic.BehaviorEnum": PlatformChargebackLogic.BehaviorEnum,
"RatepayDetails.TypeEnum": RatepayDetails.TypeEnum,
"Recurring.ContractEnum": Recurring.ContractEnum,
"Recurring.TokenServiceEnum": Recurring.TokenServiceEnum,
@@ -493,6 +504,7 @@ let enumsMap: {[index: string]: any} = {
"ThreeDS2Result.ChallengeIndicatorEnum": ThreeDS2Result.ChallengeIndicatorEnum,
"ThreeDS2Result.ExemptionIndicatorEnum": ThreeDS2Result.ExemptionIndicatorEnum,
"ThreeDSRequestData.ChallengeWindowSizeEnum": ThreeDSRequestData.ChallengeWindowSizeEnum,
"ThreeDSRequestData.DataOnlyEnum": ThreeDSRequestData.DataOnlyEnum,
"ThreeDSRequestData.NativeThreeDSEnum": ThreeDSRequestData.NativeThreeDSEnum,
"ThreeDSRequestData.ThreeDSVersionEnum": ThreeDSRequestData.ThreeDSVersionEnum,
"ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum": ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum,
@@ -539,6 +551,7 @@ let typeMap: {[index: string]: any} = {
"ApplePaySessionResponse": ApplePaySessionResponse,
"ApplicationInfo": ApplicationInfo,
"AuthenticationData": AuthenticationData,
"AuthenticationData2": AuthenticationData2,
"Avs": Avs,
"BacsDirectDebitDetails": BacsDirectDebitDetails,
"BankAccount": BankAccount,
@@ -592,6 +605,8 @@ let typeMap: {[index: string]: any} = {
"ForexQuote": ForexQuote,
"FraudCheckResult": FraudCheckResult,
"FraudResult": FraudResult,
"FundOrigin": FundOrigin,
"FundRecipient": FundRecipient,
"GenericIssuerPaymentMethodDetails": GenericIssuerPaymentMethodDetails,
"GiropayDetails": GiropayDetails,
"GooglePayDetails": GooglePayDetails,
@@ -637,6 +652,7 @@ let typeMap: {[index: string]: any} = {
"PaymentVerificationRequest": PaymentVerificationRequest,
"PaymentVerificationResponse": PaymentVerificationResponse,
"Phone": Phone,
"PlatformChargebackLogic": PlatformChargebackLogic,
"RatepayDetails": RatepayDetails,
"Recurring": Recurring,
"RecurringDetail": RecurringDetail,
@@ -664,6 +680,7 @@ let typeMap: {[index: string]: any} = {
"StoredPaymentMethod": StoredPaymentMethod,
"StoredPaymentMethodDetails": StoredPaymentMethodDetails,
"SubInputDetail": SubInputDetail,
"SubMerchant": SubMerchant,
"ThreeDS2RequestData": ThreeDS2RequestData,
"ThreeDS2ResponseData": ThreeDS2ResponseData,
"ThreeDS2Result": ThreeDS2Result,

View File

@@ -9,6 +9,10 @@
export class MolPayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The shopper\'s bank. Specify this with the issuer value that corresponds to this bank.
*/
@@ -21,6 +25,11 @@ export class MolPayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",

View File

@@ -14,6 +14,10 @@ export class OpenInvoiceDetails {
*/
'billingAddress'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The address where the goods should be delivered.
*/
'deliveryAddress'?: string;
@@ -42,6 +46,11 @@ export class OpenInvoiceDetails {
"baseName": "billingAddress",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",

View File

@@ -9,6 +9,10 @@
export class PayPalDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The unique ID associated with the order.
*/
@@ -37,6 +41,11 @@ export class PayPalDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "orderID",
"baseName": "orderID",

View File

@@ -9,6 +9,10 @@
export class PayUUpiDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
@@ -33,6 +37,11 @@ export class PayUUpiDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -9,6 +9,10 @@
export class PayWithGoogleDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
@@ -33,6 +37,11 @@ export class PayWithGoogleDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -62,6 +62,10 @@ export class PaymentCompletionDetails {
*/
'redirectResult'?: string;
/**
* Value you received from the WeChat Pay SDK.
*/
'resultCode'?: string;
/**
* Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.
*/
'threeDSResult'?: string;
@@ -142,6 +146,11 @@ export class PaymentCompletionDetails {
"baseName": "redirectResult",
"type": "string"
},
{
"name": "resultCode",
"baseName": "resultCode",
"type": "string"
},
{
"name": "threeDSResult",
"baseName": "threeDSResult",

View File

@@ -9,6 +9,10 @@
export class PaymentDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The payment method type.
*/
@@ -17,6 +21,11 @@ export class PaymentDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
@@ -37,6 +46,7 @@ export namespace PaymentDetails {
Paynow = <any> 'paynow',
Affirm = <any> 'affirm',
AffirmPos = <any> 'affirm_pos',
Trustly = <any> 'trustly',
Trustlyvector = <any> 'trustlyvector',
Oney = <any> 'oney',
Facilypay = <any> 'facilypay',
@@ -59,7 +69,6 @@ export namespace PaymentDetails {
UpiQr = <any> 'upi_qr',
Paytm = <any> 'paytm',
MolpayEbankingVn = <any> 'molpay_ebanking_VN',
OnlineBankingPl = <any> 'onlineBanking_PL',
OpenbankingUk = <any> 'openbanking_UK',
Paybybank = <any> 'paybybank',
EbankingFi = <any> 'ebanking_FI',
@@ -67,9 +76,10 @@ export namespace PaymentDetails {
MolpayEbankingDirectMy = <any> 'molpay_ebanking_direct_MY',
Swish = <any> 'swish',
Twint = <any> 'twint',
Pix = <any> 'pix',
Walley = <any> 'walley',
WalleyB2b = <any> 'walley_b2b',
Pix = <any> 'pix',
Bizum = <any> 'bizum',
Alma = <any> 'alma',
MolpayFpx = <any> 'molpay_fpx',
Konbini = <any> 'konbini',

View File

@@ -145,6 +145,7 @@ export class PaymentDetailsResponse {
export namespace PaymentDetailsResponse {
export enum ResultCodeEnum {
AuthenticationFinished = <any> 'AuthenticationFinished',
AuthenticationNotRequired = <any> 'AuthenticationNotRequired',
Authorised = <any> 'Authorised',
Cancelled = <any> 'Cancelled',
ChallengeShopper = <any> 'ChallengeShopper',

View File

@@ -16,7 +16,7 @@ import { Amount } from './amount';
import { AndroidPayDetails } from './androidPayDetails';
import { ApplePayDetails } from './applePayDetails';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { AuthenticationData2 } from './authenticationData2';
import { BacsDirectDebitDetails } from './bacsDirectDebitDetails';
import { BillDeskDetails } from './billDeskDetails';
import { BlikDetails } from './blikDetails';
@@ -49,6 +49,7 @@ import { PayPalDetails } from './payPalDetails';
import { PayUUpiDetails } from './payUUpiDetails';
import { PayWithGoogleDetails } from './payWithGoogleDetails';
import { PaymentDetails } from './paymentDetails';
import { PlatformChargebackLogic } from './platformChargebackLogic';
import { RatepayDetails } from './ratepayDetails';
import { RiskData } from './riskData';
import { SamsungPayDetails } from './samsungPayDetails';
@@ -73,7 +74,7 @@ export class PaymentDonationRequest {
'additionalData'?: { [key: string]: string; };
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'authenticationData'?: AuthenticationData2;
'billingAddress'?: Address;
'browserInfo'?: BrowserInfo;
/**
@@ -180,6 +181,7 @@ export class PaymentDonationRequest {
* The type and required details of a payment method to use.
*/
'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails;
'platformChargebackLogic'?: PlatformChargebackLogic;
/**
* Date after which no further authorisations shall be performed. Only for 3D Secure 2.
*/
@@ -294,7 +296,7 @@ export class PaymentDonationRequest {
{
"name": "authenticationData",
"baseName": "authenticationData",
"type": "AuthenticationData"
"type": "AuthenticationData2"
},
{
"name": "billingAddress",
@@ -466,6 +468,11 @@ export class PaymentDonationRequest {
"baseName": "paymentMethod",
"type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails"
},
{
"name": "platformChargebackLogic",
"baseName": "platformChargebackLogic",
"type": "PlatformChargebackLogic"
},
{
"name": "recurringExpiry",
"baseName": "recurringExpiry",

View File

@@ -66,6 +66,10 @@ export class PaymentLinkResponse {
*/
'lineItems'?: Array<LineItem>;
/**
* Indicates if the payment must be [captured manually](https://docs.adyen.com/online-payments/capture).
*/
'manualCapture'?: boolean;
/**
* The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.
*/
'mcc'?: string;
@@ -120,6 +124,10 @@ export class PaymentLinkResponse {
*/
'shopperStatement'?: string;
/**
* Set to **false** to hide the button that lets the shopper remove a stored payment method.
*/
'showRemovePaymentMethodButton'?: boolean;
/**
* The shopper\'s social security number.
*/
'socialSecurityNumber'?: string;
@@ -152,6 +160,10 @@ export class PaymentLinkResponse {
*/
'themeId'?: string;
/**
* The date when the payment link status was updated. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.
*/
'updatedAt'?: Date;
/**
* The URL at which the shopper can complete the payment.
*/
'url': string;
@@ -234,6 +246,11 @@ export class PaymentLinkResponse {
"baseName": "lineItems",
"type": "Array<LineItem>"
},
{
"name": "manualCapture",
"baseName": "manualCapture",
"type": "boolean"
},
{
"name": "mcc",
"baseName": "mcc",
@@ -309,6 +326,11 @@ export class PaymentLinkResponse {
"baseName": "shopperStatement",
"type": "string"
},
{
"name": "showRemovePaymentMethodButton",
"baseName": "showRemovePaymentMethodButton",
"type": "boolean"
},
{
"name": "socialSecurityNumber",
"baseName": "socialSecurityNumber",
@@ -349,6 +371,11 @@ export class PaymentLinkResponse {
"baseName": "themeId",
"type": "string"
},
{
"name": "updatedAt",
"baseName": "updatedAt",
"type": "Date"
},
{
"name": "url",
"baseName": "url",

View File

@@ -16,7 +16,7 @@ import { Amount } from './amount';
import { AndroidPayDetails } from './androidPayDetails';
import { ApplePayDetails } from './applePayDetails';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { AuthenticationData2 } from './authenticationData2';
import { BacsDirectDebitDetails } from './bacsDirectDebitDetails';
import { BillDeskDetails } from './billDeskDetails';
import { BlikDetails } from './blikDetails';
@@ -49,6 +49,7 @@ import { PayPalDetails } from './payPalDetails';
import { PayUUpiDetails } from './payUUpiDetails';
import { PayWithGoogleDetails } from './payWithGoogleDetails';
import { PaymentDetails } from './paymentDetails';
import { PlatformChargebackLogic } from './platformChargebackLogic';
import { RatepayDetails } from './ratepayDetails';
import { RiskData } from './riskData';
import { SamsungPayDetails } from './samsungPayDetails';
@@ -73,7 +74,7 @@ export class PaymentRequest {
'additionalData'?: { [key: string]: string; };
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'authenticationData'?: AuthenticationData2;
'billingAddress'?: Address;
'browserInfo'?: BrowserInfo;
/**
@@ -168,6 +169,7 @@ export class PaymentRequest {
* The type and required details of a payment method to use.
*/
'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails;
'platformChargebackLogic'?: PlatformChargebackLogic;
/**
* Date after which no further authorisations shall be performed. Only for 3D Secure 2.
*/
@@ -282,7 +284,7 @@ export class PaymentRequest {
{
"name": "authenticationData",
"baseName": "authenticationData",
"type": "AuthenticationData"
"type": "AuthenticationData2"
},
{
"name": "billingAddress",
@@ -439,6 +441,11 @@ export class PaymentRequest {
"baseName": "paymentMethod",
"type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails"
},
{
"name": "platformChargebackLogic",
"baseName": "platformChargebackLogic",
"type": "PlatformChargebackLogic"
},
{
"name": "recurringExpiry",
"baseName": "recurringExpiry",

View File

@@ -151,6 +151,7 @@ export class PaymentResponse {
export namespace PaymentResponse {
export enum ResultCodeEnum {
AuthenticationFinished = <any> 'AuthenticationFinished',
AuthenticationNotRequired = <any> 'AuthenticationNotRequired',
Authorised = <any> 'Authorised',
Cancelled = <any> 'Cancelled',
ChallengeShopper = <any> 'ChallengeShopper',

View File

@@ -17,6 +17,7 @@ import { Installments } from './installments';
import { LineItem } from './lineItem';
import { Mandate } from './mandate';
import { Name } from './name';
import { PlatformChargebackLogic } from './platformChargebackLogic';
import { RiskData } from './riskData';
import { Split } from './split';
@@ -118,6 +119,7 @@ export class PaymentSetupRequest {
* Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from.
*/
'origin'?: string;
'platformChargebackLogic'?: PlatformChargebackLogic;
/**
* Date after which no further authorisations shall be performed. Only for 3D Secure 2.
*/
@@ -359,6 +361,11 @@ export class PaymentSetupRequest {
"baseName": "origin",
"type": "string"
},
{
"name": "platformChargebackLogic",
"baseName": "platformChargebackLogic",
"type": "PlatformChargebackLogic"
},
{
"name": "recurringExpiry",
"baseName": "recurringExpiry",

View File

@@ -106,6 +106,7 @@ export class PaymentVerificationResponse {
export namespace PaymentVerificationResponse {
export enum ResultCodeEnum {
AuthenticationFinished = <any> 'AuthenticationFinished',
AuthenticationNotRequired = <any> 'AuthenticationNotRequired',
Authorised = <any> 'Authorised',
Cancelled = <any> 'Cancelled',
ChallengeShopper = <any> 'ChallengeShopper',

View File

@@ -0,0 +1,40 @@
/*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class PlatformChargebackLogic {
'behavior'?: PlatformChargebackLogic.BehaviorEnum;
'targetAccount'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "behavior",
"baseName": "behavior",
"type": "PlatformChargebackLogic.BehaviorEnum"
},
{
"name": "targetAccount",
"baseName": "targetAccount",
"type": "string"
} ];
static getAttributeTypeMap() {
return PlatformChargebackLogic.attributeTypeMap;
}
}
export namespace PlatformChargebackLogic {
export enum BehaviorEnum {
DeductAccordingToSplitRatio = <any> 'deductAccordingToSplitRatio',
DeductFromLiableAccount = <any> 'deductFromLiableAccount',
DeductFromOneBalanceAccount = <any> 'deductFromOneBalanceAccount'
}
}

View File

@@ -14,6 +14,10 @@ export class RatepayDetails {
*/
'billingAddress'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The address where the goods should be delivered.
*/
'deliveryAddress'?: string;
@@ -42,6 +46,11 @@ export class RatepayDetails {
"baseName": "billingAddress",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",

View File

@@ -9,6 +9,10 @@
export class SamsungPayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
@@ -33,6 +37,11 @@ export class SamsungPayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -9,6 +9,10 @@
export class SepaDirectDebitDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The International Bank Account Number (IBAN).
*/
@@ -33,6 +37,11 @@ export class SepaDirectDebitDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "iban",
"baseName": "iban",

View File

@@ -24,7 +24,7 @@ export class Split {
*/
'reference'?: string;
/**
* The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**, **Remainder**.
* The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**, **Remainder**, **Surcharge**, **Tip**.
*/
'type': Split.TypeEnum;
@@ -70,6 +70,8 @@ export namespace Split {
MarketPlace = <any> 'MarketPlace',
PaymentFee = <any> 'PaymentFee',
Remainder = <any> 'Remainder',
Surcharge = <any> 'Surcharge',
Tip = <any> 'Tip',
Vat = <any> 'VAT',
Verification = <any> 'Verification'
}

View File

@@ -9,6 +9,10 @@
export class StoredPaymentMethodDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
@@ -25,6 +29,11 @@ export class StoredPaymentMethodDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -0,0 +1,66 @@
/*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class SubMerchant {
/**
* The city of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 13 characters
*/
'city'?: string;
/**
* The three-letter country code of the sub-merchant\'s address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
*/
'country'?: string;
/**
* The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
*/
'mcc'?: string;
/**
* The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters
*/
'name'?: string;
/**
* The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
*/
'taxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "city",
"baseName": "city",
"type": "string"
},
{
"name": "country",
"baseName": "country",
"type": "string"
},
{
"name": "mcc",
"baseName": "mcc",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "taxId",
"baseName": "taxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return SubMerchant.attributeTypeMap;
}
}

View File

@@ -118,7 +118,7 @@ export class ThreeDS2RequestData {
'threeDSRequestorAuthenticationInd'?: string;
'threeDSRequestorAuthenticationInfo'?: ThreeDSRequestorAuthenticationInfo;
/**
* Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed)
* Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
*/
'threeDSRequestorChallengeInd'?: ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum;
/**
@@ -373,7 +373,8 @@ export namespace ThreeDS2RequestData {
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04',
_05 = <any> '05'
_05 = <any> '05',
_06 = <any> '06'
}
export enum TransTypeEnum {
_01 = <any> '01',

View File

@@ -14,6 +14,10 @@ export class ThreeDSRequestData {
*/
'challengeWindowSize'?: ThreeDSRequestData.ChallengeWindowSizeEnum;
/**
* Flag for data only flow.
*/
'dataOnly'?: ThreeDSRequestData.DataOnlyEnum;
/**
* Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available.
*/
'nativeThreeDS'?: ThreeDSRequestData.NativeThreeDSEnum;
@@ -30,6 +34,11 @@ export class ThreeDSRequestData {
"baseName": "challengeWindowSize",
"type": "ThreeDSRequestData.ChallengeWindowSizeEnum"
},
{
"name": "dataOnly",
"baseName": "dataOnly",
"type": "ThreeDSRequestData.DataOnlyEnum"
},
{
"name": "nativeThreeDS",
"baseName": "nativeThreeDS",
@@ -54,6 +63,10 @@ export namespace ThreeDSRequestData {
_04 = <any> '04',
_05 = <any> '05'
}
export enum DataOnlyEnum {
False = <any> 'false',
True = <any> 'true'
}
export enum NativeThreeDSEnum {
Preferred = <any> 'preferred'
}

View File

@@ -14,6 +14,10 @@ export class UpiCollectDetails {
*/
'billingSequenceNumber': string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'recurringDetailReference'?: string;
@@ -42,6 +46,11 @@ export class UpiCollectDetails {
"baseName": "billingSequenceNumber",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -9,6 +9,22 @@
export class UpiIntentDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'recurringDetailReference'?: string;
/**
* The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.
*/
'shopperNotificationReference'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
'storedPaymentMethodId'?: string;
/**
* **upi_intent**
*/
@@ -17,6 +33,26 @@ export class UpiIntentDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "shopperNotificationReference",
"baseName": "shopperNotificationReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",

View File

@@ -9,6 +9,10 @@
export class VippsDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
@@ -26,6 +30,11 @@ export class VippsDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",

View File

@@ -9,6 +9,10 @@
export class VisaCheckoutDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
@@ -25,6 +29,11 @@ export class VisaCheckoutDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",

View File

@@ -9,6 +9,10 @@
export class WeChatPayDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* **wechatpay**
*/
@@ -17,6 +21,11 @@ export class WeChatPayDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "type",
"baseName": "type",

View File

@@ -10,6 +10,10 @@
export class WeChatPayMiniProgramDetails {
'appId'?: string;
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
'openid'?: string;
/**
* **wechatpayMiniProgram**
@@ -24,6 +28,11 @@ export class WeChatPayMiniProgramDetails {
"baseName": "appId",
"type": "string"
},
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "openid",
"baseName": "openid",

View File

@@ -9,6 +9,10 @@
export class ZipDetails {
/**
* The checkout attempt identifier.
*/
'checkoutAttemptId'?: string;
/**
* Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them.
*/
@@ -29,6 +33,11 @@ export class ZipDetails {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "checkoutAttemptId",
"baseName": "checkoutAttemptId",
"type": "string"
},
{
"name": "clickAndCollect",
"baseName": "clickAndCollect",

View File

@@ -0,0 +1,39 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class AcceptTermsOfServiceRequest {
/**
* The unique identifier of the user accepting the Terms of Service.
*/
'acceptedBy'?: string;
/**
* The IP address of the user accepting the Terms of Service.
*/
'ipAddress'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acceptedBy",
"baseName": "acceptedBy",
"type": "string"
},
{
"name": "ipAddress",
"baseName": "ipAddress",
"type": "string"
} ];
static getAttributeTypeMap() {
return AcceptTermsOfServiceRequest.attributeTypeMap;
}
}

View File

@@ -0,0 +1,83 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class AcceptTermsOfServiceResponse {
/**
* The unique identifier of the user that accepted the Terms of Service.
*/
'acceptedBy'?: string;
/**
* The unique identifier of the Terms of Service acceptance.
*/
'id'?: string;
/**
* The IP address of the user that accepted the Terms of Service.
*/
'ipAddress'?: string;
/**
* 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. For example, **nl** for Dutch.
*/
'language'?: string;
/**
* The unique identifier of the Terms of Service document.
*/
'termsOfServiceDocumentId'?: string;
/**
* The type of Terms of Service.
*/
'type'?: AcceptTermsOfServiceResponse.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acceptedBy",
"baseName": "acceptedBy",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "ipAddress",
"baseName": "ipAddress",
"type": "string"
},
{
"name": "language",
"baseName": "language",
"type": "string"
},
{
"name": "termsOfServiceDocumentId",
"baseName": "termsOfServiceDocumentId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "AcceptTermsOfServiceResponse.TypeEnum"
} ];
static getAttributeTypeMap() {
return AcceptTermsOfServiceResponse.attributeTypeMap;
}
}
export namespace AcceptTermsOfServiceResponse {
export enum TypeEnum {
AdyenCapital = <any> 'adyenCapital',
AdyenForPlatformsAdvanced = <any> 'adyenForPlatformsAdvanced',
AdyenForPlatformsManage = <any> 'adyenForPlatformsManage',
AdyenIssuing = <any> 'adyenIssuing'
}
}

View File

@@ -0,0 +1,39 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class Amount {
/**
* The type of currency. Must be EUR (or EUR equivalent)
*/
'currency'?: string;
/**
* Total value of amount. Must be >= 0
*/
'value'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "currency",
"baseName": "currency",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "number"
} ];
static getAttributeTypeMap() {
return Amount.attributeTypeMap;
}
}

View File

@@ -26,7 +26,7 @@ export class Attachment {
*/
'pageName'?: string;
/**
* Specifies which side of the ID card is uploaded. * When `type` is **driversLicense**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments.
* Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments.
*/
'pageType'?: string;

View File

@@ -0,0 +1,38 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class CalculateTermsOfServiceStatusResponse {
/**
* The type of Terms of Service that the legal entity needs to accept. If empty, no Terms of Service needs to be accepted.
*/
'termsOfServiceTypes'?: Array<CalculateTermsOfServiceStatusResponse.TermsOfServiceTypesEnum>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "termsOfServiceTypes",
"baseName": "termsOfServiceTypes",
"type": "Array<CalculateTermsOfServiceStatusResponse.TermsOfServiceTypesEnum>"
} ];
static getAttributeTypeMap() {
return CalculateTermsOfServiceStatusResponse.attributeTypeMap;
}
}
export namespace CalculateTermsOfServiceStatusResponse {
export enum TermsOfServiceTypesEnum {
AdyenCapital = <any> 'adyenCapital',
AdyenForPlatformsAdvanced = <any> 'adyenForPlatformsAdvanced',
AdyenForPlatformsManage = <any> 'adyenForPlatformsManage',
AdyenIssuing = <any> 'adyenIssuing'
}
}

View File

@@ -0,0 +1,35 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblemEntity } from './capabilityProblemEntity';
import { VerificationError } from './verificationError';
export class CapabilityProblem {
'entity'?: CapabilityProblemEntity;
'verificationErrors'?: Array<VerificationError>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "entity",
"baseName": "entity",
"type": "CapabilityProblemEntity"
},
{
"name": "verificationErrors",
"baseName": "verificationErrors",
"type": "Array<VerificationError>"
} ];
static getAttributeTypeMap() {
return CapabilityProblem.attributeTypeMap;
}
}

View File

@@ -0,0 +1,47 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblemEntityRecursive } from './capabilityProblemEntityRecursive';
export class CapabilityProblemEntity {
'id'?: string;
'owner'?: CapabilityProblemEntityRecursive;
'type'?: CapabilityProblemEntity.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "owner",
"baseName": "owner",
"type": "CapabilityProblemEntityRecursive"
},
{
"name": "type",
"baseName": "type",
"type": "CapabilityProblemEntity.TypeEnum"
} ];
static getAttributeTypeMap() {
return CapabilityProblemEntity.attributeTypeMap;
}
}
export namespace CapabilityProblemEntity {
export enum TypeEnum {
BankAccount = <any> 'BankAccount',
Document = <any> 'Document',
LegalEntity = <any> 'LegalEntity'
}
}

View File

@@ -0,0 +1,40 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class CapabilityProblemEntityRecursive {
'id'?: string;
'type'?: CapabilityProblemEntityRecursive.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CapabilityProblemEntityRecursive.TypeEnum"
} ];
static getAttributeTypeMap() {
return CapabilityProblemEntityRecursive.attributeTypeMap;
}
}
export namespace CapabilityProblemEntityRecursive {
export enum TypeEnum {
BankAccount = <any> 'BankAccount',
Document = <any> 'Document',
LegalEntity = <any> 'LegalEntity'
}
}

View File

@@ -0,0 +1,64 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Amount } from './amount';
export class CapabilitySettings {
'amountPerIndustry'?: { [key: string]: Amount; };
'authorizedCardUsers'?: boolean;
'fundingSource'?: Array<CapabilitySettings.FundingSourceEnum>;
'interval'?: CapabilitySettings.IntervalEnum;
'maxAmount'?: Amount;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amountPerIndustry",
"baseName": "amountPerIndustry",
"type": "{ [key: string]: Amount; }"
},
{
"name": "authorizedCardUsers",
"baseName": "authorizedCardUsers",
"type": "boolean"
},
{
"name": "fundingSource",
"baseName": "fundingSource",
"type": "Array<CapabilitySettings.FundingSourceEnum>"
},
{
"name": "interval",
"baseName": "interval",
"type": "CapabilitySettings.IntervalEnum"
},
{
"name": "maxAmount",
"baseName": "maxAmount",
"type": "Amount"
} ];
static getAttributeTypeMap() {
return CapabilitySettings.attributeTypeMap;
}
}
export namespace CapabilitySettings {
export enum FundingSourceEnum {
Credit = <any> 'credit',
Debit = <any> 'debit',
Prepaid = <any> 'prepaid'
}
export enum IntervalEnum {
Daily = <any> 'daily',
Monthly = <any> 'monthly',
Weekly = <any> 'weekly'
}
}

View File

@@ -17,6 +17,10 @@ export class Document {
*/
'attachments': Array<Attachment>;
/**
* The creation date of the document.
*/
'creationDate'?: Date;
/**
* Your description for the document.
*/
'description': string;
@@ -41,6 +45,10 @@ export class Document {
*/
'issuerState'?: string;
/**
* The modification date of the document.
*/
'modificationDate'?: Date;
/**
* The number in the document.
*/
'number'?: string;
@@ -63,6 +71,11 @@ export class Document {
"baseName": "attachments",
"type": "Array<Attachment>"
},
{
"name": "creationDate",
"baseName": "creationDate",
"type": "Date"
},
{
"name": "description",
"baseName": "description",
@@ -93,6 +106,11 @@ export class Document {
"baseName": "issuerState",
"type": "string"
},
{
"name": "modificationDate",
"baseName": "modificationDate",
"type": "Date"
},
{
"name": "number",
"baseName": "number",

View File

@@ -0,0 +1,31 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { TermsOfServiceAcceptanceInfo } from './termsOfServiceAcceptanceInfo';
export class GetTermsOfServiceAcceptanceInfosResponse {
/**
* The Terms of Service acceptance information.
*/
'data'?: Array<TermsOfServiceAcceptanceInfo>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "data",
"baseName": "data",
"type": "Array<TermsOfServiceAcceptanceInfo>"
} ];
static getAttributeTypeMap() {
return GetTermsOfServiceAcceptanceInfosResponse.attributeTypeMap;
}
}

View File

@@ -0,0 +1,47 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class GetTermsOfServiceDocumentRequest {
/**
* 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. For example, **nl** for Dutch.
*/
'language'?: string;
/**
* The type of Terms of Service.
*/
'type'?: GetTermsOfServiceDocumentRequest.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "language",
"baseName": "language",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "GetTermsOfServiceDocumentRequest.TypeEnum"
} ];
static getAttributeTypeMap() {
return GetTermsOfServiceDocumentRequest.attributeTypeMap;
}
}
export namespace GetTermsOfServiceDocumentRequest {
export enum TypeEnum {
AdyenCapital = <any> 'adyenCapital',
AdyenForPlatformsAdvanced = <any> 'adyenForPlatformsAdvanced',
AdyenForPlatformsManage = <any> 'adyenForPlatformsManage',
AdyenIssuing = <any> 'adyenIssuing'
}
}

View File

@@ -0,0 +1,74 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class GetTermsOfServiceDocumentResponse {
/**
* The Terms of Service document in Base64-encoded format.
*/
'document'?: string;
/**
* The unique identifier of the legal entity.
*/
'id'?: string;
/**
* 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. For example, **nl** for Dutch.
*/
'language'?: string;
/**
* The unique identifier of the Terms of Service document.
*/
'termsOfServiceDocumentId'?: string;
/**
* The type of Terms of Service.
*/
'type'?: GetTermsOfServiceDocumentResponse.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "document",
"baseName": "document",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "language",
"baseName": "language",
"type": "string"
},
{
"name": "termsOfServiceDocumentId",
"baseName": "termsOfServiceDocumentId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "GetTermsOfServiceDocumentResponse.TypeEnum"
} ];
static getAttributeTypeMap() {
return GetTermsOfServiceDocumentResponse.attributeTypeMap;
}
}
export namespace GetTermsOfServiceDocumentResponse {
export enum TypeEnum {
AdyenCapital = <any> 'adyenCapital',
AdyenForPlatformsAdvanced = <any> 'adyenForPlatformsAdvanced',
AdyenForPlatformsManage = <any> 'adyenForPlatformsManage',
AdyenIssuing = <any> 'adyenIssuing'
}
}

View File

@@ -9,6 +9,10 @@
export class IdentificationData {
/**
* The card number of the document that was issued (AU only).
*/
'cardNumber'?: string;
/**
* The expiry date of the document, in YYYY-MM-DD format.
*/
@@ -37,6 +41,11 @@ export class IdentificationData {
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cardNumber",
"baseName": "cardNumber",
"type": "string"
},
{
"name": "expiryDate",
"baseName": "expiryDate",

View File

@@ -11,10 +11,16 @@ import { DocumentReference } from './documentReference';
import { EntityReference } from './entityReference';
import { Individual } from './individual';
import { LegalEntityAssociation } from './legalEntityAssociation';
import { LegalEntityCapability } from './legalEntityCapability';
import { Organization } from './organization';
import { SoleProprietorship } from './soleProprietorship';
import { TransferInstrumentReference } from './transferInstrumentReference';
export class LegalEntity {
/**
* Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
*/
'capabilities'?: { [key: string]: LegalEntityCapability; };
/**
* List of documents uploaded for the legal entity.
*/
@@ -41,15 +47,20 @@ export class LegalEntity {
/**
* List of transfer instruments owned by the legal entity.
*/
'transferInstruments'?: Array<EntityReference>;
'transferInstruments'?: Array<TransferInstrumentReference>;
/**
* The type of legal entity. Possible values: **individual**, **organization**, or **soleProprietorship**.
*/
'type': LegalEntity.TypeEnum;
'type'?: LegalEntity.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "{ [key: string]: LegalEntityCapability; }"
},
{
"name": "documentDetails",
"baseName": "documentDetails",
@@ -93,7 +104,7 @@ export class LegalEntity {
{
"name": "transferInstruments",
"baseName": "transferInstruments",
"type": "Array<EntityReference>"
"type": "Array<TransferInstrumentReference>"
},
{
"name": "type",

View File

@@ -30,7 +30,7 @@ export class LegalEntityAssociation {
*/
'name'?: string;
/**
* Defines the relationship of the legal entity to the current legal entity. For example, **uboThroughOwnership**, **uboThroughControl**, or **signatory**.
* Defines the relationship of the legal entity to the current legal entity. For example, **uboThroughOwnership**, **uboThroughControl**, **signatory**, or **soleProprietorship**.
*/
'type': LegalEntityAssociation.TypeEnum;
@@ -75,7 +75,9 @@ export class LegalEntityAssociation {
export namespace LegalEntityAssociation {
export enum TypeEnum {
PciSignatory = <any> 'pciSignatory',
Signatory = <any> 'signatory',
SoleProprietorship = <any> 'soleProprietorship',
UboThroughControl = <any> 'uboThroughControl',
UboThroughOwnership = <any> 'uboThroughOwnership'
}

View File

@@ -0,0 +1,113 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblem } from './capabilityProblem';
import { CapabilitySettings } from './capabilitySettings';
import { SupportingEntityCapability } from './supportingEntityCapability';
export class LegalEntityCapability {
/**
* Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful
*/
'allowed'?: boolean;
/**
* The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
'allowedLevel'?: LegalEntityCapability.AllowedLevelEnum;
'allowedSettings'?: CapabilitySettings;
/**
* Contains verification errors and the actions that you can take to resolve them.
*/
'problems'?: Array<CapabilityProblem>;
/**
* Indicates whether the capability is requested. To check whether the Legal Entity is permitted to use the capability,
*/
'requested'?: boolean;
/**
* The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
'requestedLevel'?: LegalEntityCapability.RequestedLevelEnum;
'requestedSettings'?: CapabilitySettings;
/**
* Capability status for transfer instruments associated with legal entity
*/
'transferInstruments'?: Array<SupportingEntityCapability>;
/**
* The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
*/
'verificationStatus'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowed",
"baseName": "allowed",
"type": "boolean"
},
{
"name": "allowedLevel",
"baseName": "allowedLevel",
"type": "LegalEntityCapability.AllowedLevelEnum"
},
{
"name": "allowedSettings",
"baseName": "allowedSettings",
"type": "CapabilitySettings"
},
{
"name": "problems",
"baseName": "problems",
"type": "Array<CapabilityProblem>"
},
{
"name": "requested",
"baseName": "requested",
"type": "boolean"
},
{
"name": "requestedLevel",
"baseName": "requestedLevel",
"type": "LegalEntityCapability.RequestedLevelEnum"
},
{
"name": "requestedSettings",
"baseName": "requestedSettings",
"type": "CapabilitySettings"
},
{
"name": "transferInstruments",
"baseName": "transferInstruments",
"type": "Array<SupportingEntityCapability>"
},
{
"name": "verificationStatus",
"baseName": "verificationStatus",
"type": "string"
} ];
static getAttributeTypeMap() {
return LegalEntityCapability.attributeTypeMap;
}
}
export namespace LegalEntityCapability {
export enum AllowedLevelEnum {
High = <any> 'high',
Low = <any> 'low',
Medium = <any> 'medium',
NotApplicable = <any> 'notApplicable'
}
export enum RequestedLevelEnum {
High = <any> 'high',
Low = <any> 'low',
Medium = <any> 'medium',
NotApplicable = <any> 'notApplicable'
}
}

View File

@@ -9,10 +9,15 @@
import { Individual } from './individual';
import { LegalEntityAssociation } from './legalEntityAssociation';
import { LegalEntityCapability } from './legalEntityCapability';
import { Organization } from './organization';
import { SoleProprietorship } from './soleProprietorship';
export class LegalEntityInfo {
/**
* Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
*/
'capabilities'?: { [key: string]: LegalEntityCapability; };
/**
* List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.
*/
@@ -27,11 +32,16 @@ export class LegalEntityInfo {
/**
* The type of legal entity. Possible values: **individual**, **organization**, or **soleProprietorship**.
*/
'type': LegalEntityInfo.TypeEnum;
'type'?: LegalEntityInfo.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "{ [key: string]: LegalEntityCapability; }"
},
{
"name": "entityAssociations",
"baseName": "entityAssociations",

View File

@@ -9,21 +9,39 @@
import { Individual } from './individual';
import { LegalEntityAssociation } from './legalEntityAssociation';
import { LegalEntityCapability } from './legalEntityCapability';
import { Organization } from './organization';
import { SoleProprietorship } from './soleProprietorship';
export class GenericEntityInfo {
export class LegalEntityInfoRequiredType {
/**
* Contains key-value pairs that specify the actions that the legal entity can do in your platform.The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
*/
'capabilities'?: { [key: string]: LegalEntityCapability; };
/**
* List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.
*/
'entityAssociations'?: Array<LegalEntityAssociation>;
'individual'?: Individual;
'organization'?: Organization;
/**
* Your reference for the legal entity, maximum 150 characters.
*/
'reference'?: string;
'soleProprietorship'?: SoleProprietorship;
/**
* The type of legal entity. Possible values: **individual**, **organization**, or **soleProprietorship**.
*/
'type': LegalEntityInfoRequiredType.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "{ [key: string]: LegalEntityCapability; }"
},
{
"name": "entityAssociations",
"baseName": "entityAssociations",
@@ -39,14 +57,33 @@ export class GenericEntityInfo {
"baseName": "organization",
"type": "Organization"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "soleProprietorship",
"baseName": "soleProprietorship",
"type": "SoleProprietorship"
},
{
"name": "type",
"baseName": "type",
"type": "LegalEntityInfoRequiredType.TypeEnum"
} ];
static getAttributeTypeMap() {
return GenericEntityInfo.attributeTypeMap;
return LegalEntityInfoRequiredType.attributeTypeMap;
}
}
export namespace LegalEntityInfoRequiredType {
export enum TypeEnum {
Individual = <any> 'individual',
Organization = <any> 'organization',
SoleProprietorship = <any> 'soleProprietorship',
Trust = <any> 'trust',
UnincorporatedPartnership = <any> 'unincorporatedPartnership'
}
}

View File

@@ -8,7 +8,10 @@
*/
export * from './acceptTermsOfServiceRequest';
export * from './acceptTermsOfServiceResponse';
export * from './address';
export * from './amount';
export * from './attachment';
export * from './bankAccountInfo';
export * from './birthData';
@@ -16,15 +19,24 @@ export * from './businessLine';
export * from './businessLineInfo';
export * from './businessLineInfoUpdate';
export * from './businessLines';
export * from './calculateTermsOfServiceStatusResponse';
export * from './capabilityProblem';
export * from './capabilityProblemEntity';
export * from './capabilityProblemEntityRecursive';
export * from './capabilitySettings';
export * from './document';
export * from './documentReference';
export * from './entityReference';
export * from './genericEntityInfo';
export * from './getTermsOfServiceAcceptanceInfosResponse';
export * from './getTermsOfServiceDocumentRequest';
export * from './getTermsOfServiceDocumentResponse';
export * from './identificationData';
export * from './individual';
export * from './legalEntity';
export * from './legalEntityAssociation';
export * from './legalEntityCapability';
export * from './legalEntityInfo';
export * from './legalEntityInfoRequiredType';
export * from './name';
export * from './onboardingLink';
export * from './onboardingLinkInfo';
@@ -33,20 +45,28 @@ export * from './onboardingThemes';
export * from './organization';
export * from './ownerEntity';
export * from './phoneNumber';
export * from './recurringDetail';
export * from './remediatingAction';
export * from './serviceError';
export * from './soleProprietorship';
export * from './sourceOfFunds';
export * from './stockData';
export * from './supportingEntityCapability';
export * from './taxInformation';
export * from './taxReportingClassification';
export * from './termsOfServiceAcceptanceInfo';
export * from './transferInstrument';
export * from './transferInstrumentInfo';
export * from './transferInstrumentReference';
export * from './verificationError';
export * from './verificationErrorRecursive';
export * from './webData';
export * from './webDataExemption';
import { AcceptTermsOfServiceRequest } from './acceptTermsOfServiceRequest';
import { AcceptTermsOfServiceResponse } from './acceptTermsOfServiceResponse';
import { Address } from './address';
import { Amount } from './amount';
import { Attachment } from './attachment';
import { BankAccountInfo } from './bankAccountInfo';
import { BirthData } from './birthData';
@@ -54,15 +74,24 @@ import { BusinessLine } from './businessLine';
import { BusinessLineInfo } from './businessLineInfo';
import { BusinessLineInfoUpdate } from './businessLineInfoUpdate';
import { BusinessLines } from './businessLines';
import { CalculateTermsOfServiceStatusResponse } from './calculateTermsOfServiceStatusResponse';
import { CapabilityProblem } from './capabilityProblem';
import { CapabilityProblemEntity } from './capabilityProblemEntity';
import { CapabilityProblemEntityRecursive } from './capabilityProblemEntityRecursive';
import { CapabilitySettings } from './capabilitySettings';
import { Document } from './document';
import { DocumentReference } from './documentReference';
import { EntityReference } from './entityReference';
import { GenericEntityInfo } from './genericEntityInfo';
import { GetTermsOfServiceAcceptanceInfosResponse } from './getTermsOfServiceAcceptanceInfosResponse';
import { GetTermsOfServiceDocumentRequest } from './getTermsOfServiceDocumentRequest';
import { GetTermsOfServiceDocumentResponse } from './getTermsOfServiceDocumentResponse';
import { IdentificationData } from './identificationData';
import { Individual } from './individual';
import { LegalEntity } from './legalEntity';
import { LegalEntityAssociation } from './legalEntityAssociation';
import { LegalEntityCapability } from './legalEntityCapability';
import { LegalEntityInfo } from './legalEntityInfo';
import { LegalEntityInfoRequiredType } from './legalEntityInfoRequiredType';
import { Name } from './name';
import { OnboardingLink } from './onboardingLink';
import { OnboardingLinkInfo } from './onboardingLinkInfo';
@@ -71,15 +100,20 @@ import { OnboardingThemes } from './onboardingThemes';
import { Organization } from './organization';
import { OwnerEntity } from './ownerEntity';
import { PhoneNumber } from './phoneNumber';
import { RecurringDetail } from './recurringDetail';
import { RemediatingAction } from './remediatingAction';
import { ServiceError } from './serviceError';
import { SoleProprietorship } from './soleProprietorship';
import { SourceOfFunds } from './sourceOfFunds';
import { StockData } from './stockData';
import { SupportingEntityCapability } from './supportingEntityCapability';
import { TaxInformation } from './taxInformation';
import { TaxReportingClassification } from './taxReportingClassification';
import { TermsOfServiceAcceptanceInfo } from './termsOfServiceAcceptanceInfo';
import { TransferInstrument } from './transferInstrument';
import { TransferInstrumentInfo } from './transferInstrumentInfo';
import { TransferInstrumentReference } from './transferInstrumentReference';
import { VerificationError } from './verificationError';
import { VerificationErrorRecursive } from './verificationErrorRecursive';
import { WebData } from './webData';
import { WebDataExemption } from './webDataExemption';
@@ -96,11 +130,22 @@ let primitives = [
];
let enumsMap: {[index: string]: any} = {
"AcceptTermsOfServiceResponse.TypeEnum": AcceptTermsOfServiceResponse.TypeEnum,
"CalculateTermsOfServiceStatusResponse.TermsOfServiceTypesEnum": CalculateTermsOfServiceStatusResponse.TermsOfServiceTypesEnum,
"CapabilityProblemEntity.TypeEnum": CapabilityProblemEntity.TypeEnum,
"CapabilityProblemEntityRecursive.TypeEnum": CapabilityProblemEntityRecursive.TypeEnum,
"CapabilitySettings.FundingSourceEnum": CapabilitySettings.FundingSourceEnum,
"CapabilitySettings.IntervalEnum": CapabilitySettings.IntervalEnum,
"Document.TypeEnum": Document.TypeEnum,
"GetTermsOfServiceDocumentRequest.TypeEnum": GetTermsOfServiceDocumentRequest.TypeEnum,
"GetTermsOfServiceDocumentResponse.TypeEnum": GetTermsOfServiceDocumentResponse.TypeEnum,
"IdentificationData.TypeEnum": IdentificationData.TypeEnum,
"LegalEntity.TypeEnum": LegalEntity.TypeEnum,
"LegalEntityAssociation.TypeEnum": LegalEntityAssociation.TypeEnum,
"LegalEntityCapability.AllowedLevelEnum": LegalEntityCapability.AllowedLevelEnum,
"LegalEntityCapability.RequestedLevelEnum": LegalEntityCapability.RequestedLevelEnum,
"LegalEntityInfo.TypeEnum": LegalEntityInfo.TypeEnum,
"LegalEntityInfoRequiredType.TypeEnum": LegalEntityInfoRequiredType.TypeEnum,
"Organization.TypeEnum": Organization.TypeEnum,
"Organization.VatAbsenceReasonEnum": Organization.VatAbsenceReasonEnum,
"SoleProprietorship.VatAbsenceReasonEnum": SoleProprietorship.VatAbsenceReasonEnum,
@@ -108,13 +153,21 @@ let enumsMap: {[index: string]: any} = {
"TaxReportingClassification.BusinessTypeEnum": TaxReportingClassification.BusinessTypeEnum,
"TaxReportingClassification.MainSourceOfIncomeEnum": TaxReportingClassification.MainSourceOfIncomeEnum,
"TaxReportingClassification.TypeEnum": TaxReportingClassification.TypeEnum,
"TermsOfServiceAcceptanceInfo.TypeEnum": TermsOfServiceAcceptanceInfo.TypeEnum,
"TransferInstrument.TypeEnum": TransferInstrument.TypeEnum,
"TransferInstrumentInfo.TypeEnum": TransferInstrumentInfo.TypeEnum,
"VerificationError.CapabilitiesEnum": VerificationError.CapabilitiesEnum,
"VerificationError.TypeEnum": VerificationError.TypeEnum,
"VerificationErrorRecursive.CapabilitiesEnum": VerificationErrorRecursive.CapabilitiesEnum,
"VerificationErrorRecursive.TypeEnum": VerificationErrorRecursive.TypeEnum,
"WebDataExemption.ReasonEnum": WebDataExemption.ReasonEnum,
}
let typeMap: {[index: string]: any} = {
"AcceptTermsOfServiceRequest": AcceptTermsOfServiceRequest,
"AcceptTermsOfServiceResponse": AcceptTermsOfServiceResponse,
"Address": Address,
"Amount": Amount,
"Attachment": Attachment,
"BankAccountInfo": BankAccountInfo,
"BirthData": BirthData,
@@ -122,15 +175,24 @@ let typeMap: {[index: string]: any} = {
"BusinessLineInfo": BusinessLineInfo,
"BusinessLineInfoUpdate": BusinessLineInfoUpdate,
"BusinessLines": BusinessLines,
"CalculateTermsOfServiceStatusResponse": CalculateTermsOfServiceStatusResponse,
"CapabilityProblem": CapabilityProblem,
"CapabilityProblemEntity": CapabilityProblemEntity,
"CapabilityProblemEntityRecursive": CapabilityProblemEntityRecursive,
"CapabilitySettings": CapabilitySettings,
"Document": Document,
"DocumentReference": DocumentReference,
"EntityReference": EntityReference,
"GenericEntityInfo": GenericEntityInfo,
"GetTermsOfServiceAcceptanceInfosResponse": GetTermsOfServiceAcceptanceInfosResponse,
"GetTermsOfServiceDocumentRequest": GetTermsOfServiceDocumentRequest,
"GetTermsOfServiceDocumentResponse": GetTermsOfServiceDocumentResponse,
"IdentificationData": IdentificationData,
"Individual": Individual,
"LegalEntity": LegalEntity,
"LegalEntityAssociation": LegalEntityAssociation,
"LegalEntityCapability": LegalEntityCapability,
"LegalEntityInfo": LegalEntityInfo,
"LegalEntityInfoRequiredType": LegalEntityInfoRequiredType,
"Name": Name,
"OnboardingLink": OnboardingLink,
"OnboardingLinkInfo": OnboardingLinkInfo,
@@ -139,15 +201,20 @@ let typeMap: {[index: string]: any} = {
"Organization": Organization,
"OwnerEntity": OwnerEntity,
"PhoneNumber": PhoneNumber,
"RecurringDetail": RecurringDetail,
"RemediatingAction": RemediatingAction,
"ServiceError": ServiceError,
"SoleProprietorship": SoleProprietorship,
"SourceOfFunds": SourceOfFunds,
"StockData": StockData,
"SupportingEntityCapability": SupportingEntityCapability,
"TaxInformation": TaxInformation,
"TaxReportingClassification": TaxReportingClassification,
"TermsOfServiceAcceptanceInfo": TermsOfServiceAcceptanceInfo,
"TransferInstrument": TransferInstrument,
"TransferInstrumentInfo": TransferInstrumentInfo,
"TransferInstrumentReference": TransferInstrumentReference,
"VerificationError": VerificationError,
"VerificationErrorRecursive": VerificationErrorRecursive,
"WebData": WebData,
"WebDataExemption": WebDataExemption,
}

View File

@@ -10,7 +10,7 @@
export class OnboardingLinkInfo {
/**
* The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. Possible values: **cs-CZ**, **de-DE**, **en-US**, **es-ES**, **it-IT**, **nl-NL**, **no-NO**, **pl-PL**, **pt-PT**, **sv-SE**. If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.
* The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See [possible values](https://docs.adyen.com/marketplaces-and-platforms/onboarding/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.
*/
'locale'?: string;
/**
@@ -18,6 +18,10 @@ export class OnboardingLinkInfo {
*/
'redirectUrl'?: string;
/**
* The enabled/disabled settings in the hosted onboarding webpage.
*/
'settings'?: { [key: string]: boolean; };
/**
* The unique identifier of the hosted onboarding theme.
*/
'themeId'?: string;
@@ -35,6 +39,11 @@ export class OnboardingLinkInfo {
"baseName": "redirectUrl",
"type": "string"
},
{
"name": "settings",
"baseName": "settings",
"type": "{ [key: string]: boolean; }"
},
{
"name": "themeId",
"baseName": "themeId",

View File

@@ -1,48 +0,0 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class RecurringDetail {
/**
* The merchant account used when the payment details were stored.
*/
'merchantAccount'?: string;
/**
* The `recurringDetailReference` returned in the response when the payment details were stored.
*/
'reference'?: string;
/**
* The unique identifier used when the payment details were stored.
*/
'shopperReference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
} ];
static getAttributeTypeMap() {
return RecurringDetail.attributeTypeMap;
}
}

View File

@@ -0,0 +1,33 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class RemediatingAction {
'code'?: string;
'message'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "code",
"baseName": "code",
"type": "string"
},
{
"name": "message",
"baseName": "message",
"type": "string"
} ];
static getAttributeTypeMap() {
return RemediatingAction.attributeTypeMap;
}
}

View File

@@ -10,11 +10,11 @@
export class SourceOfFunds {
/**
* The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. Required when `adyenProcessedFunds` is **true**.
* The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability.
*/
'acquiringBusinessLineId'?: string;
/**
* Indicates whether the funds are coming from transactions processed by Adyen. - If **true**, the `acquiringBusinessLineId` is required. - If **false**, a `description` is required.
* Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required.
*/
'adyenProcessedFunds'?: boolean;
/**

View File

@@ -0,0 +1,67 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblem } from './capabilityProblem';
export class SupportingEntityCapability {
/**
* Indicates whether the supporting entity capability is allowed. If a supporting entity is allowed but its parent legal entity is not, it means there are other supporting entities that failed validation. **The allowed supporting entity can still be used**
*/
'allowed'?: boolean;
/**
* Supporting entity reference
*/
'id'?: string;
/**
* Contains verification errors and the actions that you can take to resolve them.
*/
'problems'?: Array<CapabilityProblem>;
/**
* Indicates whether the supporting entity capability is requested.
*/
'requested'?: boolean;
/**
* The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
*/
'verificationStatus'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowed",
"baseName": "allowed",
"type": "boolean"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "problems",
"baseName": "problems",
"type": "Array<CapabilityProblem>"
},
{
"name": "requested",
"baseName": "requested",
"type": "boolean"
},
{
"name": "verificationStatus",
"baseName": "verificationStatus",
"type": "string"
} ];
static getAttributeTypeMap() {
return SupportingEntityCapability.attributeTypeMap;
}
}

View File

@@ -0,0 +1,74 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class TermsOfServiceAcceptanceInfo {
/**
* The unique identifier of the user that accepted the Terms of Service.
*/
'acceptedBy'?: string;
/**
* The unique identifier of the legal entity for which the Terms of Service are accepted.
*/
'acceptedFor'?: string;
/**
* The date when the Terms of Service were accepted.
*/
'createdAt'?: Date;
/**
* An Adyen-generated reference for the accepted Terms of Service.
*/
'id'?: string;
/**
* The type of Terms of Service.
*/
'type'?: TermsOfServiceAcceptanceInfo.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acceptedBy",
"baseName": "acceptedBy",
"type": "string"
},
{
"name": "acceptedFor",
"baseName": "acceptedFor",
"type": "string"
},
{
"name": "createdAt",
"baseName": "createdAt",
"type": "Date"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "TermsOfServiceAcceptanceInfo.TypeEnum"
} ];
static getAttributeTypeMap() {
return TermsOfServiceAcceptanceInfo.attributeTypeMap;
}
}
export namespace TermsOfServiceAcceptanceInfo {
export enum TypeEnum {
AdyenCapital = <any> 'adyenCapital',
AdyenForPlatformsAdvanced = <any> 'adyenForPlatformsAdvanced',
AdyenForPlatformsManage = <any> 'adyenForPlatformsManage',
AdyenIssuing = <any> 'adyenIssuing'
}
}

View File

@@ -9,10 +9,9 @@
import { BankAccountInfo } from './bankAccountInfo';
import { DocumentReference } from './documentReference';
import { RecurringDetail } from './recurringDetail';
export class TransferInstrument {
'bankAccount'?: BankAccountInfo;
'bankAccount': BankAccountInfo;
/**
* List of documents uploaded for the transfer instrument.
*/
@@ -25,9 +24,8 @@ export class TransferInstrument {
* The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the transfer instrument.
*/
'legalEntityId': string;
'recurringDetail'?: RecurringDetail;
/**
* The type of transfer instrument. Possible values: **bankAccount**, **recurringDetail**.
* The type of transfer instrument. Possible value: **bankAccount**.
*/
'type': TransferInstrument.TypeEnum;
@@ -54,11 +52,6 @@ export class TransferInstrument {
"baseName": "legalEntityId",
"type": "string"
},
{
"name": "recurringDetail",
"baseName": "recurringDetail",
"type": "RecurringDetail"
},
{
"name": "type",
"baseName": "type",

View File

@@ -8,17 +8,15 @@
*/
import { BankAccountInfo } from './bankAccountInfo';
import { RecurringDetail } from './recurringDetail';
export class TransferInstrumentInfo {
'bankAccount'?: BankAccountInfo;
'bankAccount': BankAccountInfo;
/**
* The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the transfer instrument.
*/
'legalEntityId': string;
'recurringDetail'?: RecurringDetail;
/**
* The type of transfer instrument. Possible values: **bankAccount**, **recurringDetail**.
* The type of transfer instrument. Possible value: **bankAccount**.
*/
'type': TransferInstrumentInfo.TypeEnum;
@@ -35,11 +33,6 @@ export class TransferInstrumentInfo {
"baseName": "legalEntityId",
"type": "string"
},
{
"name": "recurringDetail",
"baseName": "recurringDetail",
"type": "RecurringDetail"
},
{
"name": "type",
"baseName": "type",

View File

@@ -0,0 +1,39 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class TransferInstrumentReference {
/**
* Account identifier
*/
'accountIdentifier'?: string;
/**
* The unique identifier of the resource.
*/
'id'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountIdentifier",
"baseName": "accountIdentifier",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
} ];
static getAttributeTypeMap() {
return TransferInstrumentReference.attributeTypeMap;
}
}

View File

@@ -0,0 +1,125 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblemEntity } from './capabilityProblemEntity';
import { RemediatingAction } from './remediatingAction';
import { VerificationErrorRecursive } from './verificationErrorRecursive';
export class VerificationError {
'capabilities'?: Array<VerificationError.CapabilitiesEnum>;
'code'?: string;
'entity'?: CapabilityProblemEntity;
'message'?: string;
'remediatingActions'?: Array<RemediatingAction>;
'subErrors'?: Array<VerificationErrorRecursive>;
'type'?: VerificationError.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "Array<VerificationError.CapabilitiesEnum>"
},
{
"name": "code",
"baseName": "code",
"type": "string"
},
{
"name": "entity",
"baseName": "entity",
"type": "CapabilityProblemEntity"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "remediatingActions",
"baseName": "remediatingActions",
"type": "Array<RemediatingAction>"
},
{
"name": "subErrors",
"baseName": "subErrors",
"type": "Array<VerificationErrorRecursive>"
},
{
"name": "type",
"baseName": "type",
"type": "VerificationError.TypeEnum"
} ];
static getAttributeTypeMap() {
return VerificationError.attributeTypeMap;
}
}
export namespace VerificationError {
export enum CapabilitiesEnum {
AcceptExternalFunding = <any> 'acceptExternalFunding',
AcceptPspFunding = <any> 'acceptPspFunding',
AcceptTransactionInRestrictedCountries = <any> 'acceptTransactionInRestrictedCountries',
AcceptTransactionInRestrictedCountriesCommercial = <any> 'acceptTransactionInRestrictedCountriesCommercial',
AcceptTransactionInRestrictedCountriesConsumer = <any> 'acceptTransactionInRestrictedCountriesConsumer',
AcceptTransactionInRestrictedIndustries = <any> 'acceptTransactionInRestrictedIndustries',
AcceptTransactionInRestrictedIndustriesCommercial = <any> 'acceptTransactionInRestrictedIndustriesCommercial',
AcceptTransactionInRestrictedIndustriesConsumer = <any> 'acceptTransactionInRestrictedIndustriesConsumer',
Acquiring = <any> 'acquiring',
AtmWithdrawal = <any> 'atmWithdrawal',
AtmWithdrawalCommercial = <any> 'atmWithdrawalCommercial',
AtmWithdrawalConsumer = <any> 'atmWithdrawalConsumer',
AtmWithdrawalInRestrictedCountries = <any> 'atmWithdrawalInRestrictedCountries',
AtmWithdrawalInRestrictedCountriesCommercial = <any> 'atmWithdrawalInRestrictedCountriesCommercial',
AtmWithdrawalInRestrictedCountriesConsumer = <any> 'atmWithdrawalInRestrictedCountriesConsumer',
AuthorisedPaymentInstrumentUser = <any> 'authorisedPaymentInstrumentUser',
GetGrantOffers = <any> 'getGrantOffers',
IssueBankAccount = <any> 'issueBankAccount',
IssueCard = <any> 'issueCard',
IssueCardCommercial = <any> 'issueCardCommercial',
IssueCardConsumer = <any> 'issueCardConsumer',
LocalAcceptance = <any> 'localAcceptance',
Payout = <any> 'payout',
PayoutToTransferInstrument = <any> 'payoutToTransferInstrument',
Processing = <any> 'processing',
ReceiveFromBalanceAccount = <any> 'receiveFromBalanceAccount',
ReceiveFromPlatformPayments = <any> 'receiveFromPlatformPayments',
ReceiveFromThirdParty = <any> 'receiveFromThirdParty',
ReceiveFromTransferInstrument = <any> 'receiveFromTransferInstrument',
ReceiveGrants = <any> 'receiveGrants',
ReceivePayments = <any> 'receivePayments',
SendToBalanceAccount = <any> 'sendToBalanceAccount',
SendToThirdParty = <any> 'sendToThirdParty',
SendToTransferInstrument = <any> 'sendToTransferInstrument',
ThirdPartyFunding = <any> 'thirdPartyFunding',
UseCard = <any> 'useCard',
UseCardCommercial = <any> 'useCardCommercial',
UseCardConsumer = <any> 'useCardConsumer',
UseCardInRestrictedCountries = <any> 'useCardInRestrictedCountries',
UseCardInRestrictedCountriesCommercial = <any> 'useCardInRestrictedCountriesCommercial',
UseCardInRestrictedCountriesConsumer = <any> 'useCardInRestrictedCountriesConsumer',
UseCardInRestrictedIndustries = <any> 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = <any> 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = <any> 'useCardInRestrictedIndustriesConsumer',
WithdrawFromAtm = <any> 'withdrawFromAtm',
WithdrawFromAtmCommercial = <any> 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = <any> 'withdrawFromAtmConsumer',
WithdrawFromAtmInRestrictedCountries = <any> 'withdrawFromAtmInRestrictedCountries',
WithdrawFromAtmInRestrictedCountriesCommercial = <any> 'withdrawFromAtmInRestrictedCountriesCommercial',
WithdrawFromAtmInRestrictedCountriesConsumer = <any> 'withdrawFromAtmInRestrictedCountriesConsumer'
}
export enum TypeEnum {
DataMissing = <any> 'dataMissing',
InvalidInput = <any> 'invalidInput',
PendingStatus = <any> 'pendingStatus'
}
}

View File

@@ -0,0 +1,118 @@
/*
* The version of the OpenAPI document: v2
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { CapabilityProblemEntity } from './capabilityProblemEntity';
import { RemediatingAction } from './remediatingAction';
export class VerificationErrorRecursive {
'capabilities'?: Array<VerificationErrorRecursive.CapabilitiesEnum>;
'code'?: string;
'message'?: string;
'type'?: VerificationErrorRecursive.TypeEnum;
'entity'?: CapabilityProblemEntity;
'remediatingActions'?: Array<RemediatingAction>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "Array<VerificationErrorRecursive.CapabilitiesEnum>"
},
{
"name": "code",
"baseName": "code",
"type": "string"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "VerificationErrorRecursive.TypeEnum"
},
{
"name": "entity",
"baseName": "entity",
"type": "CapabilityProblemEntity"
},
{
"name": "remediatingActions",
"baseName": "remediatingActions",
"type": "Array<RemediatingAction>"
} ];
static getAttributeTypeMap() {
return VerificationErrorRecursive.attributeTypeMap;
}
}
export namespace VerificationErrorRecursive {
export enum CapabilitiesEnum {
AcceptExternalFunding = <any> 'acceptExternalFunding',
AcceptPspFunding = <any> 'acceptPspFunding',
AcceptTransactionInRestrictedCountries = <any> 'acceptTransactionInRestrictedCountries',
AcceptTransactionInRestrictedCountriesCommercial = <any> 'acceptTransactionInRestrictedCountriesCommercial',
AcceptTransactionInRestrictedCountriesConsumer = <any> 'acceptTransactionInRestrictedCountriesConsumer',
AcceptTransactionInRestrictedIndustries = <any> 'acceptTransactionInRestrictedIndustries',
AcceptTransactionInRestrictedIndustriesCommercial = <any> 'acceptTransactionInRestrictedIndustriesCommercial',
AcceptTransactionInRestrictedIndustriesConsumer = <any> 'acceptTransactionInRestrictedIndustriesConsumer',
Acquiring = <any> 'acquiring',
AtmWithdrawal = <any> 'atmWithdrawal',
AtmWithdrawalCommercial = <any> 'atmWithdrawalCommercial',
AtmWithdrawalConsumer = <any> 'atmWithdrawalConsumer',
AtmWithdrawalInRestrictedCountries = <any> 'atmWithdrawalInRestrictedCountries',
AtmWithdrawalInRestrictedCountriesCommercial = <any> 'atmWithdrawalInRestrictedCountriesCommercial',
AtmWithdrawalInRestrictedCountriesConsumer = <any> 'atmWithdrawalInRestrictedCountriesConsumer',
AuthorisedPaymentInstrumentUser = <any> 'authorisedPaymentInstrumentUser',
GetGrantOffers = <any> 'getGrantOffers',
IssueBankAccount = <any> 'issueBankAccount',
IssueCard = <any> 'issueCard',
IssueCardCommercial = <any> 'issueCardCommercial',
IssueCardConsumer = <any> 'issueCardConsumer',
LocalAcceptance = <any> 'localAcceptance',
Payout = <any> 'payout',
PayoutToTransferInstrument = <any> 'payoutToTransferInstrument',
Processing = <any> 'processing',
ReceiveFromBalanceAccount = <any> 'receiveFromBalanceAccount',
ReceiveFromPlatformPayments = <any> 'receiveFromPlatformPayments',
ReceiveFromThirdParty = <any> 'receiveFromThirdParty',
ReceiveFromTransferInstrument = <any> 'receiveFromTransferInstrument',
ReceiveGrants = <any> 'receiveGrants',
ReceivePayments = <any> 'receivePayments',
SendToBalanceAccount = <any> 'sendToBalanceAccount',
SendToThirdParty = <any> 'sendToThirdParty',
SendToTransferInstrument = <any> 'sendToTransferInstrument',
ThirdPartyFunding = <any> 'thirdPartyFunding',
UseCard = <any> 'useCard',
UseCardCommercial = <any> 'useCardCommercial',
UseCardConsumer = <any> 'useCardConsumer',
UseCardInRestrictedCountries = <any> 'useCardInRestrictedCountries',
UseCardInRestrictedCountriesCommercial = <any> 'useCardInRestrictedCountriesCommercial',
UseCardInRestrictedCountriesConsumer = <any> 'useCardInRestrictedCountriesConsumer',
UseCardInRestrictedIndustries = <any> 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = <any> 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = <any> 'useCardInRestrictedIndustriesConsumer',
WithdrawFromAtm = <any> 'withdrawFromAtm',
WithdrawFromAtmCommercial = <any> 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = <any> 'withdrawFromAtmConsumer',
WithdrawFromAtmInRestrictedCountries = <any> 'withdrawFromAtmInRestrictedCountries',
WithdrawFromAtmInRestrictedCountriesCommercial = <any> 'withdrawFromAtmInRestrictedCountriesCommercial',
WithdrawFromAtmInRestrictedCountriesConsumer = <any> 'withdrawFromAtmInRestrictedCountriesConsumer'
}
export enum TypeEnum {
DataMissing = <any> 'dataMissing',
InvalidInput = <any> 'invalidInput',
PendingStatus = <any> 'pendingStatus'
}
}

View File

@@ -10,9 +10,13 @@
export class WebData {
/**
* The URL of the website.
* The URL of the website or the app store URL.
*/
'webAddress'?: string;
/**
* The unique identifier of the web address.
*/
'webAddressId'?: string;
static discriminator: string | undefined = undefined;
@@ -21,6 +25,11 @@ export class WebData {
"name": "webAddress",
"baseName": "webAddress",
"type": "string"
},
{
"name": "webAddressId",
"baseName": "webAddressId",
"type": "string"
} ];
static getAttributeTypeMap() {

View File

@@ -10,6 +10,7 @@
import { Address } from './address';
import { Card } from './card';
import { Name } from './name';
import { SubMerchant } from './subMerchant';
export class FundDestination {
/**
@@ -31,6 +32,7 @@ export class FundDestination {
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
*/
'shopperReference'?: string;
'subMerchant'?: SubMerchant;
/**
* the telephone number of the person
*/
@@ -74,6 +76,11 @@ export class FundDestination {
"baseName": "shopperReference",
"type": "string"
},
{
"name": "subMerchant",
"baseName": "subMerchant",
"type": "SubMerchant"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",

View File

@@ -73,6 +73,7 @@ export * from './serviceError';
export * from './shopperInteractionDevice';
export * from './split';
export * from './splitAmount';
export * from './subMerchant';
export * from './technicalCancelRequest';
export * from './threeDS1Result';
export * from './threeDS2RequestData';
@@ -150,6 +151,7 @@ import { ServiceError } from './serviceError';
import { ShopperInteractionDevice } from './shopperInteractionDevice';
import { Split } from './split';
import { SplitAmount } from './splitAmount';
import { SubMerchant } from './subMerchant';
import { TechnicalCancelRequest } from './technicalCancelRequest';
import { ThreeDS1Result } from './threeDS1Result';
import { ThreeDS2RequestData } from './threeDS2RequestData';
@@ -294,6 +296,7 @@ let typeMap: {[index: string]: any} = {
"ShopperInteractionDevice": ShopperInteractionDevice,
"Split": Split,
"SplitAmount": SplitAmount,
"SubMerchant": SubMerchant,
"TechnicalCancelRequest": TechnicalCancelRequest,
"ThreeDS1Result": ThreeDS1Result,
"ThreeDS2RequestData": ThreeDS2RequestData,

View File

@@ -24,7 +24,7 @@ export class Split {
*/
'reference'?: string;
/**
* The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**, **Remainder**.
* The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**, **Remainder**, **Surcharge**, **Tip**.
*/
'type': Split.TypeEnum;
@@ -70,6 +70,8 @@ export namespace Split {
MarketPlace = <any> 'MarketPlace',
PaymentFee = <any> 'PaymentFee',
Remainder = <any> 'Remainder',
Surcharge = <any> 'Surcharge',
Tip = <any> 'Tip',
Vat = <any> 'VAT',
Verification = <any> 'Verification'
}

View File

@@ -0,0 +1,66 @@
/*
* The version of the OpenAPI document: v68
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class SubMerchant {
/**
* The city of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 13 characters
*/
'city'?: string;
/**
* The three-letter country code of the sub-merchant\'s address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
*/
'country'?: string;
/**
* The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
*/
'mcc'?: string;
/**
* The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters
*/
'name'?: string;
/**
* The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
*/
'taxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "city",
"baseName": "city",
"type": "string"
},
{
"name": "country",
"baseName": "country",
"type": "string"
},
{
"name": "mcc",
"baseName": "mcc",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "taxId",
"baseName": "taxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return SubMerchant.attributeTypeMap;
}
}

View File

@@ -118,7 +118,7 @@ export class ThreeDS2RequestData {
'threeDSRequestorAuthenticationInd'?: string;
'threeDSRequestorAuthenticationInfo'?: ThreeDSRequestorAuthenticationInfo;
/**
* Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed)
* Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
*/
'threeDSRequestorChallengeInd'?: ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum;
/**
@@ -373,7 +373,8 @@ export namespace ThreeDS2RequestData {
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04',
_05 = <any> '05'
_05 = <any> '05',
_06 = <any> '06'
}
export enum TransTypeEnum {
_01 = <any> '01',

View File

@@ -10,17 +10,17 @@
export class AULocalAccountIdentification {
/**
* The bank account number (without separators or whitespace).
* The bank account number, without separators or whitespace.
*/
'accountNumber': string;
/**
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch) (without separators or whitespace).
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
*/
'bsbCode': string;
/**
* **auLocal**
*/
'type'?: AULocalAccountIdentification.TypeEnum;
'type': AULocalAccountIdentification.TypeEnum;
static discriminator: string | undefined = undefined;

Some files were not shown because too many files have changed in this diff Show More