@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
66 lines (65 loc) • 1.78 kB
TypeScript
export declare class KlarnaDetails {
/**
* 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;
/**
* The type of flow to initiate.
*/
"subtype"?: string;
/**
* **klarna**
*/
"type": KlarnaDetails.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 KlarnaDetails {
enum TypeEnum {
Klarna = "klarna",
Klarnapayments = "klarnapayments",
KlarnapaymentsAccount = "klarnapayments_account",
KlarnapaymentsB2b = "klarnapayments_b2b",
KlarnaPaynow = "klarna_paynow",
KlarnaAccount = "klarna_account",
KlarnaB2b = "klarna_b2b"
}
}