PersonalData

@Serializable()
public final class PersonalData

Parameters

uniqueNumber

This is a unique number that will be associated with the customer when enrolling or when performing future verifications.

name

Name of the customer, can be optionally provided for any Service.

firstName

First name of the customer, can be optionally provided for any Service.

middleName

Middle name of the customer, can be optionally provided for any Service.

lastName

Last name of the customer, can be optionally provided for any Service.

phone

Phone Number of the customer

phoneCountryCode

Phone Number country code of the customer.

email

Email address of the Customer, can be optionally provided for any Service.

dob

Date of birth of the customer, can be optionally provided for any Service.

gender

Gender of the Customer, can be optionally provided for any Service. Valid values are: F or M

addressLine1

Address Line 1 for the Customer, can be optionally provided for any Service.

addressLine2

Address Line 2 for the Customer, can be optionally provided for any Service.

city

City address of the Customer, can be optionally provided for any Service.

district

District address of the Customer, can be optionally provided for any Service.

postalCode

Postal Code of the Customer, can be optionally provided for any Service.

country

Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.

Constructors

Link copied to clipboard
public PersonalData PersonalData(String uniqueNumber, String name, String firstName, String middleName, String lastName, String phone, String phoneCountryCode, String email, String dob, String gender, String addressLine1, String addressLine2, String city, String district, String postalCode, String country)

Properties

Link copied to clipboard

Type:string
example: 123 Main Street
Address Line 1 for the Customer, can be optionally provided for any Service.

Link copied to clipboard

Type:string
example:Company Name
Address Line 2 for the Customer, can be optionally provided for any Service.

Link copied to clipboard
private String city

Type:string
example:San Francisco
City address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
private String country

Type: string
maxLength: 3
minLength: 3
example: USA
Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.

Link copied to clipboard
private String district

Type:string
example:CA
District address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
private String dob

Type:string($DD/MM/YYYY)
example: 31/12/2019
Date of birth of the customer, can be optionally provided for any Service.

Link copied to clipboard
private String email

Type:string($email)
example: someone@company.com
Email address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
private String firstName

Type:string
example: John
First name of the customer, can be optionally provided for any Service.

Link copied to clipboard
private String gender

Type:string
example: M
Gender of the Customer, can be optionally provided for any Service. Valid values are: F or M.

Link copied to clipboard
private String lastName

Type:string
example: Doe
Last name of the customer, can be optionally provided for any Service.

Link copied to clipboard

Type:string
example: Allen
Middle name of the customer, can be optionally provided for any Service.

Link copied to clipboard
private String name

Type:string
example: John Doe
Name of the customer, can be optionally provided for any Service.

Link copied to clipboard
private String phone

Type:string
example: 1234567890
Phone Number of the customer

Link copied to clipboard

Type:string
Phone Number country code of the customer.

Link copied to clipboard

Type:string
example:123456
Postal Code of the Customer, can be optionally provided for any Service.

Link copied to clipboard

Type:string
maxLength: 45
This is a unique number that will be associated with the customer when enrolling or when performing future verifications.

Functions

Link copied to clipboard
public final String getAddressLine1()

Type:string
example: 123 Main Street
Address Line 1 for the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getAddressLine2()

Type:string
example:Company Name
Address Line 2 for the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getCity()

Type:string
example:San Francisco
City address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getCountry()

Type: string
maxLength: 3
minLength: 3
example: USA
Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.

Link copied to clipboard
public final String getDistrict()

Type:string
example:CA
District address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getDob()

Type:string($DD/MM/YYYY)
example: 31/12/2019
Date of birth of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getEmail()

Type:string($email)
example: someone@company.com
Email address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getFirstName()

Type:string
example: John
First name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getGender()

Type:string
example: M
Gender of the Customer, can be optionally provided for any Service. Valid values are: F or M.

Link copied to clipboard
public final String getLastName()

Type:string
example: Doe
Last name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getMiddleName()

Type:string
example: Allen
Middle name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getName()

Type:string
example: John Doe
Name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getPhone()

Type:string
example: 1234567890
Phone Number of the customer

Link copied to clipboard
public final String getPhoneCountryCode()

Type:string
Phone Number country code of the customer.

Link copied to clipboard
public final String getPostalCode()

Type:string
example:123456
Postal Code of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final String getUniqueNumber()

Type:string
maxLength: 45
This is a unique number that will be associated with the customer when enrolling or when performing future verifications.

Link copied to clipboard
public final Unit setAddressLine1(String addressLine1)

Type:string
example: 123 Main Street
Address Line 1 for the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setAddressLine2(String addressLine2)

Type:string
example:Company Name
Address Line 2 for the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setCity(String city)

Type:string
example:San Francisco
City address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setCountry(String country)

Type: string
maxLength: 3
minLength: 3
example: USA
Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.

Link copied to clipboard
public final Unit setDistrict(String district)

Type:string
example:CA
District address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setDob(String dob)

Type:string($DD/MM/YYYY)
example: 31/12/2019
Date of birth of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setEmail(String email)

Type:string($email)
example: someone@company.com
Email address of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setFirstName(String firstName)

Type:string
example: John
First name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setGender(String gender)

Type:string
example: M
Gender of the Customer, can be optionally provided for any Service. Valid values are: F or M.

Link copied to clipboard
public final Unit setLastName(String lastName)

Type:string
example: Doe
Last name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setMiddleName(String middleName)

Type:string
example: Allen
Middle name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setName(String name)

Type:string
example: John Doe
Name of the customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setPhone(String phone)

Type:string
example: 1234567890
Phone Number of the customer

Link copied to clipboard
public final Unit setPhoneCountryCode(String phoneCountryCode)

Type:string
Phone Number country code of the customer.

Link copied to clipboard
public final Unit setPostalCode(String postalCode)

Type:string
example:123456
Postal Code of the Customer, can be optionally provided for any Service.

Link copied to clipboard
public final Unit setUniqueNumber(String uniqueNumber)

Type:string
maxLength: 45
This is a unique number that will be associated with the customer when enrolling or when performing future verifications.