/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * Adyen NodeJS API Library
 * Copyright (c) 2021 Adyen B.V.
 * This file is open source and available under the MIT license.
 * See the LICENSE file for more info.
 */
 
/**
 * Terminal API
 * Definition of Terminal API Schema
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import { PaymentInstrumentData } from './paymentInstrumentData';
import { TransactionIdentification } from './transactionIdentification';

export class PaymentAccountReq {
    'AccountType'?: PaymentAccountReq.AccountTypeEnum;
    'CardAcquisitionReference'?: TransactionIdentification;
    'PaymentInstrumentData'?: PaymentInstrumentData;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "AccountType",
            "baseName": "AccountType",
            "type": "PaymentAccountReq.AccountTypeEnum"
        },
        {
            "name": "CardAcquisitionReference",
            "baseName": "CardAcquisitionReference",
            "type": "TransactionIdentification"
        },
        {
            "name": "PaymentInstrumentData",
            "baseName": "PaymentInstrumentData",
            "type": "PaymentInstrumentData"
        }    ];

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

export namespace PaymentAccountReq {
    export enum AccountTypeEnum {
        CardTotals = <any> 'CardTotals',
        Checking = <any> 'Checking',
        CreditCard = <any> 'CreditCard',
        Default = <any> 'Default',
        EpurseCard = <any> 'EpurseCard',
        Investment = <any> 'Investment',
        Savings = <any> 'Savings',
        Universal = <any> 'Universal'
    }
}
