/*
 * 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 { PersonalDocumentData } from './personalDocumentData';

export class ViasPersonalData {
    /**
    * The person\'s date of birth, in ISO-8601 YYYY-MM-DD format. For example, **2000-01-31**.
    */
    'dateOfBirth'?: string;
    /**
    * Array that contains information about the person\'s identification document. You can submit only one entry per document type.
    */
    'documentData'?: Array<PersonalDocumentData>;
    /**
    * The nationality of the person represented by a two-character country code,  in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **NL**. 
    */
    'nationality'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "dateOfBirth",
            "baseName": "dateOfBirth",
            "type": "string"
        },
        {
            "name": "documentData",
            "baseName": "documentData",
            "type": "Array<PersonalDocumentData>"
        },
        {
            "name": "nationality",
            "baseName": "nationality",
            "type": "string"
        }    ];

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

