/*
 * 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 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.
    */
    'amazonPayToken'?: string;
    /**
    * **amazonpay**
    */
    'type'?: AmazonPayDetails.TypeEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "amazonPayToken",
            "baseName": "amazonPayToken",
            "type": "string"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "AmazonPayDetails.TypeEnum"
        }    ];

    static getAttributeTypeMap() {
        return AmazonPayDetails.attributeTypeMap;
    }
}

export namespace AmazonPayDetails {
    export enum TypeEnum {
        Amazonpay = <any> 'amazonpay'
    }
}
