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.
|
Date |
getDateOfBirth()
Gets the date of birth for this individual.
|
PersonDetails |
getDetails()
Contains a breakdown of how the status (validity) was determined.
|
String |
getDocumentType()
Gets the identifying document type.
|
String |
getDocumentValue()
Gets the identifying document value.
|
String |
getFirstName()
Gets the first name.
|
String |
getIpAddress()
Gets the IP address for this person.
|
String |
getLastName()
Gets the last name.
|
String |
getMiddleName()
Gets the middle name.
|
String |
getNote()
Gets any note data you have associated with the Person.
|
String |
getPhoneNumber()
Gets phone number of the individual (if available).
|
List<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(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)
@NotNull public QuestionSet createQuestionSet()
public QuestionSet createQuestionSet(long timeLimit)
timeLimit - the time limitpublic QuestionSet retrieveQuestionSet(@NotNull String questionSetId)
questionSetId - Question set ID@NotNull public String getFirstName()
@Nullable public String getMiddleName()
@NotNull public String getLastName()
@NotNull public String getDocumentType()
@NotNull public String getDocumentValue()
@NotNull public Date getDateOfBirth()
@NotNull public Address getAddress()
@Nullable public String getPhoneNumber()
@Nullable public String getIpAddress()
@Nullable public String getNote()
public boolean isValid()
@NotNull public PersonDetails getDetails()