@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
59 lines (58 loc) • 1.59 kB
TypeScript
export declare class AfterpayDetails {
/**
* The address where to send the invoice.
*/
"billingAddress"?: string;
/**
* The checkout attempt identifier.
*/
"checkoutAttemptId"?: string;
/**
* The address where the goods should be delivered.
*/
"deliveryAddress"?: string;
/**
* Shopper name, date of birth, phone number, and email address.
*/
"personalDetails"?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*
* @deprecated since Adyen Checkout API v49
* Use `storedPaymentMethodId` instead.
*/
"recurringDetailReference"?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
"storedPaymentMethodId"?: string;
/**
* **afterpay_default**
*/
"type": AfterpayDetails.TypeEnum;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace AfterpayDetails {
enum TypeEnum {
AfterpayDefault = "afterpay_default",
Afterpaytouch = "afterpaytouch",
AfterpayB2b = "afterpay_b2b",
Clearpay = "clearpay"
}
}