/*
 * 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 ZipDetails {
    /**
    * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them.
    */
    'clickAndCollect'?: string;
    /**
    * This is the `recurringDetailReference` returned in the response when you created the token.
    */
    'recurringDetailReference'?: string;
    /**
    * This is the `recurringDetailReference` returned in the response when you created the token.
    */
    'storedPaymentMethodId'?: string;
    /**
    * **zip**
    */
    'type'?: ZipDetails.TypeEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "clickAndCollect",
            "baseName": "clickAndCollect",
            "type": "string"
        },
        {
            "name": "recurringDetailReference",
            "baseName": "recurringDetailReference",
            "type": "string"
        },
        {
            "name": "storedPaymentMethodId",
            "baseName": "storedPaymentMethodId",
            "type": "string"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "ZipDetails.TypeEnum"
        }    ];

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

export namespace ZipDetails {
    export enum TypeEnum {
        Zip = <any> 'zip',
        ZipPos = <any> 'zip_pos'
    }
}
