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


export class GetAccountHolderRequest {
    /**
    * The code of the account of which to retrieve the details. > Required if no `accountHolderCode` is provided.
    */
    'accountCode'?: string;
    /**
    * The code of the account holder of which to retrieve the details. > Required if no `accountCode` is provided.
    */
    'accountHolderCode'?: string;
    /**
    * True if the request should return the account holder details
    */
    'showDetails'?: boolean;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accountCode",
            "baseName": "accountCode",
            "type": "string"
        },
        {
            "name": "accountHolderCode",
            "baseName": "accountHolderCode",
            "type": "string"
        },
        {
            "name": "showDetails",
            "baseName": "showDetails",
            "type": "boolean"
        }    ];

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

