/*
 * The version of the OpenAPI document: v1
 * 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 { Address } from './address';

export class BillingEntity {
    'address'?: Address;
    /**
    * The email address of the billing entity.
    */
    'email'?: string;
    /**
    * The unique identifier of the billing entity, for use as `billingEntityId` when creating an order.
    */
    'id'?: string;
    /**
    * The unique name of the billing entity.
    */
    'name'?: string;
    /**
    * The tax number of the billing entity.
    */
    'taxId'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "address",
            "baseName": "address",
            "type": "Address"
        },
        {
            "name": "email",
            "baseName": "email",
            "type": "string"
        },
        {
            "name": "id",
            "baseName": "id",
            "type": "string"
        },
        {
            "name": "name",
            "baseName": "name",
            "type": "string"
        },
        {
            "name": "taxId",
            "baseName": "taxId",
            "type": "string"
        }    ];

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

