Package com.adyen.model.marketpay
Class PersonalData
- java.lang.Object
-
- com.adyen.model.marketpay.PersonalData
-
public class PersonalData extends Object
PersonalData
-
-
Constructor Summary
Constructors Constructor Description PersonalData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonalDataaddDocumentDataItem(PersonalDocumentData documentDataItem)PersonalDatadateOfBirth(String dateOfBirth)PersonalDatadocumentData(List<PersonalDocumentData> documentData)booleanequals(Object o)StringgetDateOfBirth()The date of birth of the person.List<PersonalDocumentData>getDocumentData()Key value pairs of document type and identify numbersStringgetNationality()The nationality of the person represented by a two-character country code.inthashCode()PersonalDatanationality(String nationality)voidsetDateOfBirth(String dateOfBirth)voidsetDocumentData(List<PersonalDocumentData> documentData)voidsetNationality(String nationality)StringtoString()
-
-
-
Method Detail
-
dateOfBirth
public PersonalData dateOfBirth(String dateOfBirth)
-
getDateOfBirth
public String getDateOfBirth()
The date of birth of the person. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(String dateOfBirth)
-
documentData
public PersonalData documentData(List<PersonalDocumentData> documentData)
-
addDocumentDataItem
public PersonalData addDocumentDataItem(PersonalDocumentData documentDataItem)
-
getDocumentData
public List<PersonalDocumentData> getDocumentData()
Key value pairs of document type and identify numbers- Returns:
- documentData
-
setDocumentData
public void setDocumentData(List<PersonalDocumentData> documentData)
-
nationality
public PersonalData nationality(String nationality)
-
getNationality
public String getNationality()
The nationality of the person represented by a two-character country code. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL').- Returns:
- nationality
-
setNationality
public void setNationality(String nationality)
-
-