/*
 * The version of the OpenAPI document: v2
 * 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 BulkAddress {
    /**
    * The name of the city.
    */
    'city'?: string;
    /**
    * The name of the company.
    */
    'company'?: string;
    /**
    * The two-character ISO-3166-1 alpha-2 country code. For example, **US**.
    */
    'country': string;
    /**
    * The email address.
    */
    'email'?: string;
    /**
    * The house number or name.
    */
    'houseNumberOrName'?: string;
    /**
    * The full telephone number.
    */
    'mobile'?: string;
    /**
    * The postal code.  Maximum length:  * 5 digits for addresses in the US.  * 10 characters for all other countries.
    */
    'postalCode'?: string;
    /**
    * The two-letter ISO 3166-2 state or province code.  Maximum length: 2 characters for addresses in the US.
    */
    'stateOrProvince'?: string;
    /**
    * The streetname of the house.
    */
    'street'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "city",
            "baseName": "city",
            "type": "string"
        },
        {
            "name": "company",
            "baseName": "company",
            "type": "string"
        },
        {
            "name": "country",
            "baseName": "country",
            "type": "string"
        },
        {
            "name": "email",
            "baseName": "email",
            "type": "string"
        },
        {
            "name": "houseNumberOrName",
            "baseName": "houseNumberOrName",
            "type": "string"
        },
        {
            "name": "mobile",
            "baseName": "mobile",
            "type": "string"
        },
        {
            "name": "postalCode",
            "baseName": "postalCode",
            "type": "string"
        },
        {
            "name": "stateOrProvince",
            "baseName": "stateOrProvince",
            "type": "string"
        },
        {
            "name": "street",
            "baseName": "street",
            "type": "string"
        }    ];

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

