public class Candidate extends BasicResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
Candidate.Builder
The builder used for constructing a
Candidate. |
| Modifier | Constructor and Description |
|---|---|
protected |
Candidate() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this candidate.
|
Address |
getAddress()
Gets the primary street address for this person.
|
Date |
getDateOfBirth()
The date of birth of your candidate.
|
String |
getFirstName()
The legal first name of the customer.
|
String |
getLastName()
Gets the legal last name of the customer.
|
String |
getMiddleName()
The legal middle name of the customer.
|
String |
getNote()
Gets any note data you have associated with the Candidate.
|
String |
getPassport()
The passport number of the individual being verified.
|
PaginatedResult<WatchlistHit> |
getPastHits()
Retrieve all historical watchlist hits for this candidate.
|
List<Candidate> |
getRevisionHistory()
Returns a complete revision history of a candidate's edits.
|
String |
getSsn()
Gets either the 4 digits of the US Social Security Number or the whole SSN.
|
Candidate |
save()
Updates this candidate.
|
PaginatedResult<WatchlistHit> |
searchWatchlists()
Performs a watchlist search for this candidate with default search options.
|
PaginatedResult<WatchlistHit> |
searchWatchlists(Double similarityThreshold)
Performs a watchlist search for this candidate with a specified similarity threshold.
|
PaginatedResult<WatchlistHit> |
searchWatchlists(EntityType entityType)
Performs a watchlist search for this candidate with a specified entity type.
|
PaginatedResult<WatchlistHit> |
searchWatchlists(EntityType entityType,
Double similarityThreshold)
Performs a watchlist search for this candidate.
|
void |
setAdapter(BlockscoreRestAdapter restAdapter)
Sets the internal REST api adapter needed to complete Blockscore API requests.
|
Candidate |
setAddress(Address address)
Sets the primary street address for this person.
|
Candidate |
setDateOfBirth(Date dateOfBirth)
Set the date of birth of your candidate.
|
Candidate |
setFirstName(String firstName)
Sets the legal first name of the customer.
|
Candidate |
setLastName(String lastName)
Sets the legal last name.
|
Candidate |
setMiddleName(String middleName)
Sets the legal middle name of the customer.
|
Candidate |
setNote(String note)
You can store additional information about the candidate here such as your internal system's
identifier for this individual.
|
Candidate |
setPassport(String passport)
Sets the passport number of the individual being verified.
|
Candidate |
setSsn(String ssn)
Can be either the last 4 digits of the US Social Security Number or the whole SSN.
|
getCreatedAtDate, getId, getUpdatedAtDate, isLiveModepublic Candidate save()
public void delete()
public List<Candidate> getRevisionHistory()
public PaginatedResult<WatchlistHit> getPastHits()
public PaginatedResult<WatchlistHit> searchWatchlists()
public PaginatedResult<WatchlistHit> searchWatchlists(Double similarityThreshold)
similarityThreshold - the tolerated similarity thresholdpublic PaginatedResult<WatchlistHit> searchWatchlists(EntityType entityType)
entityType - the type of entitypublic PaginatedResult<WatchlistHit> searchWatchlists(EntityType entityType, Double similarityThreshold)
entityType - the type of entitysimilarityThreshold - the accepted threshold of similarity@NotNull public Candidate setFirstName(@NotNull String firstName)
firstName - the first name@NotNull public Candidate setMiddleName(@NotNull String middleName)
middleName - the middle name@NotNull public Candidate setLastName(@NotNull String lastName)
lastName - the last name@NotNull public Candidate setNote(@Nullable String note)
note - the additional information to store.]@NotNull public Candidate setSsn(@Nullable String ssn)
ssn - the SSN to use@NotNull public Candidate setPassport(@Nullable String passport)
passport - the passport number@NotNull public Candidate setDateOfBirth(@Nullable Date dateOfBirth)
dateOfBirth - the date of birthpublic Candidate setAddress(@NotNull Address address)
address - the primary street address@Nullable public String getFirstName()
@Nullable public String getMiddleName()
@Nullable public String getLastName()
@Nullable public String getNote()
@Nullable public String getSsn()
@Nullable public String getPassport()
@Nullable public Date getDateOfBirth()
@Nullable public Address getAddress()
public void setAdapter(BlockscoreRestAdapter restAdapter)