Package com.onfido.models
Class ExtractedData
- java.lang.Object
-
- com.onfido.models.ExtractedData
-
public final class ExtractedData extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtractedData.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAddressLine1()Line 1 of the addressStringgetAddressLine2()Line 2 of the addressStringgetAddressLine3()Line 3 of the addressStringgetAddressLine4()Line 4 of the addressStringgetAddressLine5()Line 5 of the addressStringgetAliasName()Alias namejava.time.LocalDategetDateOfBirth()Date of birth in yyyy-mm-dd formatjava.time.LocalDategetDateOfExpiry()Date of expiry in yyyy-mm-dd formatStringgetDocumentNumber()The official document numberStringgetDocumentType()Type of documentjava.time.LocalDategetExpiryDate()Date of expiry in yyyy-mm-dd formatStringgetFirstName()First nameStringgetFullName()Full nameStringgetGender()Gender.StringgetIssuingAuthority()Issuing authorityStringgetIssuingCountry()Document country in 3-letter ISO codejava.time.LocalDategetIssuingDate()Issuing date in yyyy-mm-dd formatStringgetIssuingState()The state that issued the documentStringgetLastName()Last nameStringgetMiddleName()Middle nameStringgetMrzLine1()Line 1 of the MRZ codeStringgetMrzLine2()Line 2 of the MRZ codeStringgetMrzLine3()Line 3 of the MRZ codeStringgetNationality()Nationality in 3-letter ISO codeStringgetPersonalNumber()The owner's unique identification numberStringgetPlaceOfBirth()Place of birthStringgetSpouseName()Spouse nameStringgetWidowName()Widow nameinthashCode()static ExtractedData.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static ExtractedData.Request request()
-
getDocumentNumber
public String getDocumentNumber()
The official document number- Returns:
- The official document number
-
getFirstName
public String getFirstName()
First name- Returns:
- First name
-
getLastName
public String getLastName()
Last name- Returns:
- Last name
-
getMiddleName
public String getMiddleName()
Middle name- Returns:
- Middle name
-
getFullName
public String getFullName()
Full name- Returns:
- Full name
-
getSpouseName
public String getSpouseName()
Spouse name- Returns:
- Spouse name
-
getWidowName
public String getWidowName()
Widow name- Returns:
- Widow name
-
getAliasName
public String getAliasName()
Alias name- Returns:
- Alias name
-
getGender
public String getGender()
Gender. Valid values are Male and Female.- Returns:
- Gender. Valid values are Male and Female.
-
getDateOfBirth
public java.time.LocalDate getDateOfBirth()
Date of birth in yyyy-mm-dd format- Returns:
- Date of birth in yyyy-mm-dd format
-
getDateOfExpiry
public java.time.LocalDate getDateOfExpiry()
Date of expiry in yyyy-mm-dd format- Returns:
- Date of expiry in yyyy-mm-dd format
-
getExpiryDate
public java.time.LocalDate getExpiryDate()
Date of expiry in yyyy-mm-dd format- Returns:
- Date of expiry in yyyy-mm-dd format
-
getNationality
public String getNationality()
Nationality in 3-letter ISO code- Returns:
- Nationality in 3-letter ISO code
-
getMrzLine1
public String getMrzLine1()
Line 1 of the MRZ code- Returns:
- Line 1 of the MRZ code
-
getMrzLine2
public String getMrzLine2()
Line 2 of the MRZ code- Returns:
- Line 2 of the MRZ code
-
getMrzLine3
public String getMrzLine3()
Line 3 of the MRZ code- Returns:
- Line 3 of the MRZ code
-
getAddressLine1
public String getAddressLine1()
Line 1 of the address- Returns:
- Line 1 of the address
-
getAddressLine2
public String getAddressLine2()
Line 2 of the address- Returns:
- Line 2 of the address
-
getAddressLine3
public String getAddressLine3()
Line 3 of the address- Returns:
- Line 3 of the address
-
getAddressLine4
public String getAddressLine4()
Line 4 of the address- Returns:
- Line 4 of the address
-
getAddressLine5
public String getAddressLine5()
Line 5 of the address- Returns:
- Line 5 of the address
-
getIssuingAuthority
public String getIssuingAuthority()
Issuing authority- Returns:
- Issuing authority
-
getIssuingCountry
public String getIssuingCountry()
Document country in 3-letter ISO code- Returns:
- Document country in 3-letter ISO code
-
getIssuingDate
public java.time.LocalDate getIssuingDate()
Issuing date in yyyy-mm-dd format- Returns:
- Issuing date in yyyy-mm-dd format
-
getDocumentType
public String getDocumentType()
Type of document- Returns:
- Type of document
-
getPlaceOfBirth
public String getPlaceOfBirth()
Place of birth- Returns:
- Place of birth
-
getIssuingState
public String getIssuingState()
The state that issued the document- Returns:
- The state that issued the document
-
getPersonalNumber
public String getPersonalNumber()
The owner's unique identification number- Returns:
- The owner's unique identification number
-
-