/*
 * The version of the OpenAPI document: v3
 * 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 { AdditionalBankIdentification } from './additionalBankIdentification';

export class NumberAndBicAccountIdentification {
    /**
    * The bank account number, without separators or whitespace. The length and format depends on the bank or country.
    */
    'accountNumber': string;
    'additionalBankIdentification'?: AdditionalBankIdentification;
    /**
    * The bank\'s 8 or 11 character BIC or SWIFT code.
    */
    'bic': string;
    /**
    * **numberAndBic**
    */
    'type'?: NumberAndBicAccountIdentification.TypeEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accountNumber",
            "baseName": "accountNumber",
            "type": "string"
        },
        {
            "name": "additionalBankIdentification",
            "baseName": "additionalBankIdentification",
            "type": "AdditionalBankIdentification"
        },
        {
            "name": "bic",
            "baseName": "bic",
            "type": "string"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "NumberAndBicAccountIdentification.TypeEnum"
        }    ];

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

export namespace NumberAndBicAccountIdentification {
    export enum TypeEnum {
        NumberAndBic = <any> 'numberAndBic'
    }
}
