/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * 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 { TrackData } from './trackData';

export class CheckData {
    'AccountNumber'?: string;
    'BankID'?: string;
    'CheckCardNumber'?: string;
    'CheckNumber'?: string;
    'Country'?: string;
    'TrackData'?: TrackData;
    'TypeCode'?: CheckData.TypeCodeEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "AccountNumber",
            "baseName": "AccountNumber",
            "type": "string"
        },
        {
            "name": "BankID",
            "baseName": "BankID",
            "type": "string"
        },
        {
            "name": "CheckCardNumber",
            "baseName": "CheckCardNumber",
            "type": "string"
        },
        {
            "name": "CheckNumber",
            "baseName": "CheckNumber",
            "type": "string"
        },
        {
            "name": "Country",
            "baseName": "Country",
            "type": "string"
        },
        {
            "name": "TrackData",
            "baseName": "TrackData",
            "type": "TrackData"
        },
        {
            "name": "TypeCode",
            "baseName": "TypeCode",
            "type": "CheckData.TypeCodeEnum"
        }    ];

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

export namespace CheckData {
    export enum TypeCodeEnum {
        Company = <any> 'Company',
        Personal = <any> 'Personal'
    }
}
