| Constructor and Description |
|---|
Builder(BlockscoreApiClient client) |
| Modifier and Type | Method and Description |
|---|---|
Person |
create()
Creates a new
Person. |
Person.Builder |
setAddress(Address address)
Sets the person's address.
|
Person.Builder |
setDateOfBirth(java.util.Date dateOfBirth)
Sets the date of birth.
|
Person.Builder |
setDocumentType(java.lang.String documentType)
Sets the identifying document type.
|
Person.Builder |
setDocumentValue(java.lang.String documentValue)
Sets the identifying document value.
|
Person.Builder |
setFirstName(java.lang.String firstName)
Sets the legal first name of the customer.
|
Person.Builder |
setIpAddress(java.lang.String ipAddress)
Sets a person's IP address.
|
Person.Builder |
setLastName(java.lang.String lastName)
Sets the legal last name of the customer.
|
Person.Builder |
setMiddleName(java.lang.String middleName)
Sets the legal middle name of the customer (optional).
|
Person.Builder |
setNote(java.lang.String note)
You can store additional information about the person here such as your internal system's
identifier for this individual.
|
Person.Builder |
setPhoneNumber(java.lang.String phoneNumber)
Sets a person's phone number.
|
public Builder(BlockscoreApiClient client)
@NotNull public Person.Builder setFirstName(@NotNull java.lang.String firstName)
firstName - the legal first name@NotNull public Person.Builder setMiddleName(@Nullable java.lang.String middleName)
middleName - the legal middle name@NotNull public Person.Builder setLastName(@NotNull java.lang.String lastName)
lastName - the legal last name@NotNull public Person.Builder setDocumentType(@NotNull java.lang.String documentType)
documentType - the document type@NotNull public Person.Builder setDocumentValue(@NotNull java.lang.String documentValue)
documentValue - the document value@NotNull public Person.Builder setDateOfBirth(@NotNull java.util.Date dateOfBirth)
dateOfBirth - the date of birth@NotNull public Person.Builder setAddress(@NotNull Address address)
address - the address@NotNull public Person.Builder setPhoneNumber(@Nullable java.lang.String phoneNumber)
If you set the phone number, we will use it as an additional 'positive' data point for the consumer. That is, if it is provided, it will help us identify them, but if we cannot, they will not be penalized.
phoneNumber - the phone number for this individual.@NotNull public Person.Builder setIpAddress(@Nullable java.lang.String ipAddress)
Your customers' IP address can be passed to us for storage purposes. Soon we will be using this information for anti-fraud and verification purposes. With this information we will be able to back-test your verifications when this feature is released.
ipAddress - the IP address@NotNull public Person.Builder setNote(@Nullable java.lang.String note)
note - Note to store.