/*
 * 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.
 */

import { Amount } from './amount';

export class AccountProcessingState {
    /**
    * The reason why processing has been disabled.
    */
    'disableReason'?: string;
    /**
    * Indicates whether the processing of payments is allowed.
    */
    'disabled'?: boolean;
    'processedFrom'?: Amount;
    'processedTo'?: Amount;
    /**
    * The processing tier that the account holder occupies.
    */
    'tierNumber'?: number;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "disableReason",
            "baseName": "disableReason",
            "type": "string"
        },
        {
            "name": "disabled",
            "baseName": "disabled",
            "type": "boolean"
        },
        {
            "name": "processedFrom",
            "baseName": "processedFrom",
            "type": "Amount"
        },
        {
            "name": "processedTo",
            "baseName": "processedTo",
            "type": "Amount"
        },
        {
            "name": "tierNumber",
            "baseName": "tierNumber",
            "type": "number"
        }    ];

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

