| Constructor and Description |
|---|
Builder(BlockscoreApiClient client) |
| Modifier and Type | Method and Description |
|---|---|
Candidate |
create()
Creates a new
Candidate. |
Candidate.Builder |
setAddress(Address address)
Sets the primary street address for this person.
|
Candidate.Builder |
setDateOfBirth(java.util.Date dateOfBirth)
Set the date of birth of your candidate.
|
Candidate.Builder |
setFirstName(java.lang.String firstName)
Sets the legal first name of the customer.
|
Candidate.Builder |
setLastName(java.lang.String lastName)
Sets the legal last name of the candidate.
|
Candidate.Builder |
setMiddleName(java.lang.String middleName)
Sets the legal middle name of the candidate.
|
Candidate.Builder |
setNote(java.lang.String note)
You can store additional information about the candidate here such as your internal system's
identifier for this individual.
|
Candidate.Builder |
setPassport(java.lang.String passport)
Sets the passport number of the individual being verified.
|
Candidate.Builder |
setSsn(java.lang.String ssn)
Can be either the last 4 digits of the US Social Security Number or the whole SSN.
|
public Builder(BlockscoreApiClient client)
@NotNull public Candidate.Builder setFirstName(@NotNull java.lang.String firstName)
firstName - the first name@NotNull public Candidate.Builder setMiddleName(@NotNull java.lang.String middleName)
middleName - the middle name@NotNull public Candidate.Builder setLastName(@NotNull java.lang.String lastName)
lastName - the last name@NotNull public Candidate.Builder setNote(@Nullable java.lang.String note)
note - the additional information to store@NotNull public Candidate.Builder setSsn(@Nullable java.lang.String ssn)
ssn - the SSN to use@NotNull public Candidate.Builder setPassport(@Nullable java.lang.String passport)
passport - the passport data@NotNull public Candidate.Builder setDateOfBirth(@Nullable java.util.Date dateOfBirth)
dateOfBirth - the date of birthpublic Candidate.Builder setAddress(@NotNull Address address)
address - the address