/*
 * 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 USLocalAccountIdentification {
    /**
    * The bank account number (without separators or whitespace).
    */
    'accountNumber': string;
    /**
    * The bank account type.  Possible values: **checking** or **savings**. Defaults to **checking**.
    */
    'accountType'?: USLocalAccountIdentification.AccountTypeEnum;
    /**
    * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number) (without separators or whitespace).
    */
    'routingNumber': string;
    /**
    * **usLocal**
    */
    'type'?: USLocalAccountIdentification.TypeEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accountNumber",
            "baseName": "accountNumber",
            "type": "string"
        },
        {
            "name": "accountType",
            "baseName": "accountType",
            "type": "USLocalAccountIdentification.AccountTypeEnum"
        },
        {
            "name": "routingNumber",
            "baseName": "routingNumber",
            "type": "string"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "USLocalAccountIdentification.TypeEnum"
        }    ];

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

export namespace USLocalAccountIdentification {
    export enum AccountTypeEnum {
        Checking = <any> 'checking',
        Savings = <any> 'savings'
    }
    export enum TypeEnum {
        UsLocal = <any> 'usLocal'
    }
}
