public class Person extends BasicResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
Person.Builder
The builder used for constructing a
Person. |
| Modifier and Type | Method and Description |
|---|---|
QuestionSet |
createQuestionSet()
Creates a question set with no time limit.
|
QuestionSet |
createQuestionSet(long timeLimit)
Creates a question set with a set time limit in seconds.
|
Address |
getAddress()
Gets the address for this individual.
|
java.util.Date |
getDateOfBirth()
Gets the date of birth for this individual.
|
PersonDetails |
getDetails()
Contains a breakdown of how the status (validity) was determined.
|
java.lang.String |
getDocumentType()
Gets the identifying document type.
|
java.lang.String |
getDocumentValue()
Gets the identifying document value.
|
java.lang.String |
getFirstName()
Gets the first name.
|
java.lang.String |
getIpAddress()
Gets the IP address for this person.
|
java.lang.String |
getLastName()
Gets the last name.
|
java.lang.String |
getMiddleName()
Gets the middle name.
|
java.lang.String |
getNote()
Gets any note data you have associated with the Person.
|
java.lang.String |
getPhoneNumber()
Gets phone number of the individual (if available).
|
java.util.List<java.lang.String> |
getQuestionSetIds()
Gets the question set ids associated with this Person record.
|
boolean |
isValid()
Returns either valid or invalid and is the culmination of whether or not the passed
in information is valid against various databases and signals.
|
QuestionSet |
retrieveQuestionSet(java.lang.String questionSetId)
Retrieve a question set you have created.
|
void |
setAdapter(BlockscoreRestAdapter restAdapter)
Sets the internal REST api adapter needed to complete Blockscore API requests.
|
getCreatedAtDate, getId, getUpdatedAtDate, isLiveModepublic void setAdapter(BlockscoreRestAdapter restAdapter)
restAdapter - the REST adapter@NotNull public QuestionSet createQuestionSet()
public QuestionSet createQuestionSet(long timeLimit)
timeLimit - the time limitpublic QuestionSet retrieveQuestionSet(@NotNull java.lang.String questionSetId)
questionSetId - Question set ID@NotNull public java.lang.String getFirstName()
@Nullable public java.lang.String getMiddleName()
@NotNull public java.lang.String getLastName()
@NotNull public java.lang.String getDocumentType()
@NotNull public java.lang.String getDocumentValue()
@NotNull public java.util.Date getDateOfBirth()
@NotNull public Address getAddress()
@Nullable public java.lang.String getPhoneNumber()
@Nullable public java.lang.String getIpAddress()
@Nullable public java.lang.String getNote()
public boolean isValid()
@NotNull public PersonDetails getDetails()
@NotNull public java.util.List<java.lang.String> getQuestionSetIds()