Package com.yoti.api.client
Class DocumentDetails
java.lang.Object
com.yoti.api.client.DocumentDetails
Details of the document used to create the Yoti account.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentDetails.Builderbuilder()Return issuing country, may contain letters.The date of expiration for the document.Either a country code, or the name of the issuing authorityReturn issuing countrygetType()Return document type.toString()
-
Field Details
-
DOCUMENT_TYPE_PASSPORT
- See Also:
-
DOCUMENT_TYPE_DRIVING_LICENCE
- See Also:
-
DOCUMENT_TYPE_AADHAAR
- See Also:
-
DOCUMENT_TYPE_PASS_CARD
- See Also:
-
-
Method Details
-
getType
Return document type.- Returns:
- Return document type
-
getIssuingCountry
Return issuing country- Returns:
- Return issuing country
-
getDocumentNumber
Return issuing country, may contain letters.- Returns:
- Return issuing country, may contain letters.
-
getExpirationDate
The date of expiration for the document.- Returns:
- The date of expiration for the document.
-
getIssuingAuthority
Either a country code, or the name of the issuing authority- Returns:
- Either a country code, or the name of the issuing authority
-
toString
-
builder
-