Package com.adyen.model.marketpay
Class PersonalDocumentData
- java.lang.Object
-
- com.adyen.model.marketpay.PersonalDocumentData
-
public class PersonalDocumentData extends Object
PersonalDocumentData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersonalDocumentData.TypeEnumThe type of the document.
-
Constructor Summary
Constructors Constructor Description PersonalDocumentData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PersonalDocumentDataexpirationDate(String expirationDate)StringgetExpirationDate()The expiration date of the document.StringgetIssuerCountry()The two-character country code of the issuer.StringgetIssuerState()The state issued the document (if applicable)StringgetNumber()The number of the document.PersonalDocumentData.TypeEnumgetType()The type of the document.inthashCode()PersonalDocumentDataissuerCountry(String issuerCountry)PersonalDocumentDataissuerState(String issuerState)PersonalDocumentDatanumber(String number)voidsetExpirationDate(String expirationDate)voidsetIssuerCountry(String issuerCountry)voidsetIssuerState(String issuerState)voidsetNumber(String number)voidsetType(PersonalDocumentData.TypeEnum type)StringtoString()PersonalDocumentDatatype(PersonalDocumentData.TypeEnum type)
-
-
-
Method Detail
-
expirationDate
public PersonalDocumentData expirationDate(String expirationDate)
-
getExpirationDate
public String getExpirationDate()
The expiration date of the document. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).- Returns:
- expirationDate
-
setExpirationDate
public void setExpirationDate(String expirationDate)
-
issuerCountry
public PersonalDocumentData issuerCountry(String issuerCountry)
-
getIssuerCountry
public String getIssuerCountry()
The two-character country code of the issuer. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL').- Returns:
- issuerCountry
-
setIssuerCountry
public void setIssuerCountry(String issuerCountry)
-
issuerState
public PersonalDocumentData issuerState(String issuerState)
-
getIssuerState
public String getIssuerState()
The state issued the document (if applicable)- Returns:
- issuerState
-
setIssuerState
public void setIssuerState(String issuerState)
-
number
public PersonalDocumentData number(String number)
-
getNumber
public String getNumber()
The number of the document. Delete the given type if the value empty.- Returns:
- number
-
setNumber
public void setNumber(String number)
-
type
public PersonalDocumentData type(PersonalDocumentData.TypeEnum type)
-
getType
public PersonalDocumentData.TypeEnum getType()
The type of the document. More then one item pert type does not allowed. Valid values: ID, PASSPORT, VISA, DRIVINGLICENSE- Returns:
- type
-
setType
public void setType(PersonalDocumentData.TypeEnum type)
-
-