/*
 * The version of the OpenAPI document: v6
 * 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 { UltimateParentCompanyBusinessDetails } from './ultimateParentCompanyBusinessDetails';
import { ViasAddress } from './viasAddress';

export class UltimateParentCompany {
    'address'?: ViasAddress;
    'businessDetails'?: UltimateParentCompanyBusinessDetails;
    /**
    * Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create an ultimate parent company. Required when updating an existing entry in an `/updateAccountHolder` request.
    */
    'ultimateParentCompanyCode'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "address",
            "baseName": "address",
            "type": "ViasAddress"
        },
        {
            "name": "businessDetails",
            "baseName": "businessDetails",
            "type": "UltimateParentCompanyBusinessDetails"
        },
        {
            "name": "ultimateParentCompanyCode",
            "baseName": "ultimateParentCompanyCode",
            "type": "string"
        }    ];

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

