@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
41 lines (40 loc) • 1.33 kB
TypeScript
export declare class AmazonPayDetails {
/**
* This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. This token is used for API only integration specifically.
*/
"amazonPayToken"?: string;
/**
* The checkout attempt identifier.
*/
"checkoutAttemptId"?: string;
/**
* The `checkoutSessionId` is used to identify the checkout session at the Amazon Pay side. This field is required only for drop-in and components integration, where it replaces the amazonPayToken.
*/
"checkoutSessionId"?: string;
/**
* **amazonpay**
*/
"type"?: AmazonPayDetails.TypeEnum;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: 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 AmazonPayDetails {
enum TypeEnum {
Amazonpay = "amazonpay"
}
}