/*
 * The version of the OpenAPI document: v2
 * 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 ProcessingTypesRestriction {
    /**
    * Defines how the condition must be evaluated.
    */
    'operation': string;
    /**
    * List of processing types.  Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**.  
    */
    'value'?: Array<ProcessingTypesRestriction.ValueEnum>;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "operation",
            "baseName": "operation",
            "type": "string"
        },
        {
            "name": "value",
            "baseName": "value",
            "type": "Array<ProcessingTypesRestriction.ValueEnum>"
        }    ];

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

export namespace ProcessingTypesRestriction {
    export enum ValueEnum {
        AtmWithdraw = <any> 'atmWithdraw',
        BalanceInquiry = <any> 'balanceInquiry',
        Ecommerce = <any> 'ecommerce',
        Moto = <any> 'moto',
        Pos = <any> 'pos',
        Recurring = <any> 'recurring',
        Token = <any> 'token',
        Unknown = <any> 'unknown'
    }
}
