/*
 * The version of the OpenAPI document: v6
 * 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 PayoutScheduleResponse {
    /**
    * The date of the next scheduled payout.
    */
    'nextScheduledPayout'?: Date;
    /**
    * The payout schedule of the account. Permitted values: `DEFAULT`, `DAILY`, `DAILY_US`, `DAILY_EU`, `DAILY_AU`, `DAILY_SG`, `WEEKLY`, `WEEKLY_ON_TUE_FRI_MIDNIGHT`, `BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT`, `MONTHLY`, `HOLD`.
    */
    'schedule': PayoutScheduleResponse.ScheduleEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "nextScheduledPayout",
            "baseName": "nextScheduledPayout",
            "type": "Date"
        },
        {
            "name": "schedule",
            "baseName": "schedule",
            "type": "PayoutScheduleResponse.ScheduleEnum"
        }    ];

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

export namespace PayoutScheduleResponse {
    export enum ScheduleEnum {
        BiweeklyOn1StAnd15ThAtMidnight = <any> 'BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT',
        Daily = <any> 'DAILY',
        DailyAu = <any> 'DAILY_AU',
        DailyEu = <any> 'DAILY_EU',
        DailySg = <any> 'DAILY_SG',
        DailyUs = <any> 'DAILY_US',
        Hold = <any> 'HOLD',
        Monthly = <any> 'MONTHLY',
        Weekly = <any> 'WEEKLY',
        WeeklyOnTueFriMidnight = <any> 'WEEKLY_ON_TUE_FRI_MIDNIGHT'
    }
}
