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


export class AdditionalBankIdentification {
    /**
    * The value of the additional bank identification.
    */
    'code'?: string;
    /**
    * The type of additional bank identification, depending on the country.  Possible values:   * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces  * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
    */
    'type'?: AdditionalBankIdentification.TypeEnum;

    static discriminator: string | undefined = undefined;

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

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

export namespace AdditionalBankIdentification {
    export enum TypeEnum {
        GbSortCode = <any> 'gbSortCode',
        UsRoutingNumber = <any> 'usRoutingNumber'
    }
}
