Package com.onfido.models
Class Applicant
- java.lang.Object
-
- com.onfido.models.Applicant
-
public final class Applicant extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicant.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AddressgetAddress()The applicants addressjava.time.OffsetDateTimegetCreatedAt()The date and time when this applicant was created.java.time.OffsetDateTimegetDeleteAt()The date and time when this applicant is scheduled to be deleted.java.time.LocalDategetDob()The applicant’s date of birthStringgetEmail()The applicant’s email address.StringgetFirstName()The applicant’s first nameStringgetHref()The uri of this resource.StringgetId()The unique identifier for the applicant.List<IdNumber>getIdNumbers()The applicants ID numbersStringgetLastName()The applicant’s surnamebooleangetSandbox()Read-only.inthashCode()static Applicant.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static Applicant.Request request()
-
getId
public String getId()
The unique identifier for the applicant. Read-only.- Returns:
- The unique identifier for the applicant. Read-only.
-
getCreatedAt
public java.time.OffsetDateTime getCreatedAt()
The date and time when this applicant was created. Read-only.- Returns:
- The date and time when this applicant was created. Read-only.
-
getDeleteAt
public java.time.OffsetDateTime getDeleteAt()
The date and time when this applicant is scheduled to be deleted. Read-only.- Returns:
- The date and time when this applicant is scheduled to be deleted. Read-only.
-
getHref
public String getHref()
The uri of this resource. Read-only.- Returns:
- The uri of this resource. Read-only.
-
getSandbox
public boolean getSandbox()
Read-only.- Returns:
- Read-only.
-
getFirstName
public String getFirstName()
The applicant’s first name- Returns:
- The applicant’s first name
-
getLastName
public String getLastName()
The applicant’s surname- Returns:
- The applicant’s surname
-
getEmail
public String getEmail()
The applicant’s email address. Required if doing a US check or a standard UK check.- Returns:
- The applicant’s email address. Required if doing a US check or a standard UK check.
-
getDob
public java.time.LocalDate getDob()
The applicant’s date of birth- Returns:
- The applicant’s date of birth
-
getAddress
public Address getAddress()
The applicants address- Returns:
- The applicants address
-
getIdNumbers
public List<IdNumber> getIdNumbers()
The applicants ID numbers- Returns:
- The applicants ID numbers
-
-