/*
 * 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 AccountEvent {
    /**
    * The event. >Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`. For more information, refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process).
    */
    'event': AccountEvent.EventEnum;
    /**
    * The date on which the event will take place.
    */
    'executionDate': Date;
    /**
    * The reason why this event has been created.
    */
    'reason': string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "event",
            "baseName": "event",
            "type": "AccountEvent.EventEnum"
        },
        {
            "name": "executionDate",
            "baseName": "executionDate",
            "type": "Date"
        },
        {
            "name": "reason",
            "baseName": "reason",
            "type": "string"
        }    ];

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

export namespace AccountEvent {
    export enum EventEnum {
        InactivateAccount = <any> 'InactivateAccount',
        RefundNotPaidOutTransfers = <any> 'RefundNotPaidOutTransfers'
    }
}
