/*
 * The version of the OpenAPI document: v68
 * 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.
 */

import { RecurringDetail } from './recurringDetail';

export class RecurringDetailsResult {
    /**
    * The date when the recurring details were created.
    */
    'creationDate'?: Date;
    /**
    * Payment details stored for recurring payments.
    */
    'details'?: Array<RecurringDetail>;
    /**
    * The most recent email for this shopper (if available).
    */
    'lastKnownShopperEmail'?: string;
    /**
    * The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
    */
    'shopperReference'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "creationDate",
            "baseName": "creationDate",
            "type": "Date"
        },
        {
            "name": "details",
            "baseName": "details",
            "type": "Array<RecurringDetail>"
        },
        {
            "name": "lastKnownShopperEmail",
            "baseName": "lastKnownShopperEmail",
            "type": "string"
        },
        {
            "name": "shopperReference",
            "baseName": "shopperReference",
            "type": "string"
        }    ];

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

