Package glair.vision.model.param
Class IdentityVerificationParam.Builder
java.lang.Object
glair.vision.model.param.IdentityVerificationParam.Builder
- Enclosing class:
- IdentityVerificationParam
Builder class for constructing IdentityVerificationParam object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build an IdentityVerificationParam object.dateOfBirth(String dateOfBirth) Sets the date of birth of the individual.Sets the name of the individual.Sets the NIK (Nomor Induk Kependudukan).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nik
Sets the NIK (Nomor Induk Kependudukan).- Parameters:
nik- The NIK to set.- Returns:
- The Builder object.
-
name
Sets the name of the individual.- Parameters:
name- The name (spaces allowed).- Returns:
- The Builder object.
-
dateOfBirth
Sets the date of birth of the individual.- Parameters:
dateOfBirth- The date of birth in the format "dd-mm-yyyy".
(01-01-2000)- Returns:
- The Builder object.
-
build
Build an IdentityVerificationParam object.- Returns:
- The constructed object.
- Throws:
Exception- If required fields are missing.
-