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.
|
java.util.Date |
getDateOfBirth()
The date of birth of your candidate.
|
java.lang.String |
getFirstName()
The legal first name of the customer.
|
java.lang.String |
getLastName()
Gets the legal last name of the customer.
|
java.lang.String |
getMiddleName()
The legal middle name of the customer.
|
java.lang.String |
getNote()
Gets any note data you have associated with the Candidate.
|
java.lang.String |
getPassport()
The passport number of the individual being verified.
|
PaginatedResult<WatchlistHit> |
getPastHits()
Retrieve all historical watchlist hits for this candidate.
|
java.util.List<Candidate> |
getRevisionHistory()
Returns a complete revision history of a candidate's edits.
|
java.lang.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(java.lang.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,
java.lang.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(java.util.Date dateOfBirth)
Set the date of birth of your candidate.
|
Candidate |
setFirstName(java.lang.String firstName)
Sets the legal first name of the customer.
|
Candidate |
setLastName(java.lang.String lastName)
Sets the legal last name.
|
Candidate |
setMiddleName(java.lang.String middleName)
Sets the legal middle name of the customer.
|
Candidate |
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 |
setPassport(java.lang.String passport)
Sets the passport number of the individual being verified.
|
Candidate |
setSsn(java.lang.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 java.util.List<Candidate> getRevisionHistory()
public PaginatedResult<WatchlistHit> getPastHits()
public PaginatedResult<WatchlistHit> searchWatchlists()
public PaginatedResult<WatchlistHit> searchWatchlists(java.lang.Double similarityThreshold)
similarityThreshold - the tolerated similarity thresholdpublic PaginatedResult<WatchlistHit> searchWatchlists(EntityType entityType)
entityType - the type of entitypublic PaginatedResult<WatchlistHit> searchWatchlists(EntityType entityType, java.lang.Double similarityThreshold)
entityType - the type of entitysimilarityThreshold - the accepted threshold of similarity@NotNull public Candidate setFirstName(@NotNull java.lang.String firstName)
firstName - the first name@NotNull public Candidate setMiddleName(@NotNull java.lang.String middleName)
middleName - the middle name@NotNull public Candidate setLastName(@NotNull java.lang.String lastName)
lastName - the last name@NotNull public Candidate setNote(@Nullable java.lang.String note)
note - the additional information to store.]@NotNull public Candidate setSsn(@Nullable java.lang.String ssn)
ssn - the SSN to use@NotNull public Candidate setPassport(@Nullable java.lang.String passport)
passport - the passport number@NotNull public Candidate setDateOfBirth(@Nullable java.util.Date dateOfBirth)
dateOfBirth - the date of birthpublic Candidate setAddress(@NotNull Address address)
address - the primary street address@Nullable public java.lang.String getFirstName()
@Nullable public java.lang.String getMiddleName()
@Nullable public java.lang.String getLastName()
@Nullable public java.lang.String getNote()
@Nullable public java.lang.String getSsn()
@Nullable public java.lang.String getPassport()
@Nullable public java.util.Date getDateOfBirth()
@Nullable public Address getAddress()
public void setAdapter(BlockscoreRestAdapter restAdapter)
restAdapter - the REST adapter