Package com.incode.welcome_sdk.modules
Class EKYC.Builder
-
- All Implemented Interfaces:
public final class EKYC.Builder
-
-
Constructor Summary
Constructors Constructor Description EKYC.Builder()
-
Method Summary
Modifier and Type Method Description final EKYC.BuildersetVerifyName(Boolean verifyName)Sets the visibility of the name field on the eKYC module final EKYC.BuildersetVerifyEmail(Boolean verifyEmail)Sets the visibility of the email field on the eKYC module final EKYC.BuildersetVerifyAddress(Boolean verifyAddress)Sets the visibility of the address fields on the eKYC module final EKYC.BuildersetVerifyPhone(Boolean verifyPhone)Sets the visibility of the phone field on the eKYC module final EKYC.BuildersetVerifyTaxId(Boolean verifyTaxId)Sets the visibility of the tax ID field on the eKYC module final EKYC.BuildersetVerifyDateOfBirth(Boolean verifyDateOfBirth)Sets the visibility of the date of birth field on the eKYC module final EKYC.BuildersetVerifyNationality(Boolean verifyNationality)Sets the visibility of the nationality field on the eKYC module final EKYC.BuildersetNameSource(EKYC.DataInputSource nameSource)Sets the data input source of the name field on the eKYC module final EKYC.BuildersetAddressSource(EKYC.DataInputSource addressSource)Sets the data input source of the address field on the eKYC module final EKYC.BuildersetDateOfBirthSource(EKYC.DataInputSource dateOfBirthSource)Sets the data input source of the address field on the eKYC module final EKYCbuild()Builds the EKYC instance with the specified verification requirements. -
-
Method Detail
-
setVerifyName
final EKYC.Builder setVerifyName(Boolean verifyName)
Sets the visibility of the name field on the eKYC module
- Parameters:
verifyName-trueto show the name field,falseto hide it.- Returns:
Builder
-
setVerifyEmail
final EKYC.Builder setVerifyEmail(Boolean verifyEmail)
Sets the visibility of the email field on the eKYC module
- Parameters:
verifyEmail-trueto show the email field,falseto hide it.- Returns:
Builder
-
setVerifyAddress
final EKYC.Builder setVerifyAddress(Boolean verifyAddress)
Sets the visibility of the address fields on the eKYC module
- Parameters:
verifyAddress-trueto show the address fields,falseto hide them.- Returns:
Builder
-
setVerifyPhone
final EKYC.Builder setVerifyPhone(Boolean verifyPhone)
Sets the visibility of the phone field on the eKYC module
- Parameters:
verifyPhone-trueto show the phone field,falseto hide it.- Returns:
Builder
-
setVerifyTaxId
final EKYC.Builder setVerifyTaxId(Boolean verifyTaxId)
Sets the visibility of the tax ID field on the eKYC module
- Parameters:
verifyTaxId-trueto show the tax ID field,falseto hide it.- Returns:
Builder
-
setVerifyDateOfBirth
final EKYC.Builder setVerifyDateOfBirth(Boolean verifyDateOfBirth)
Sets the visibility of the date of birth field on the eKYC module
- Parameters:
verifyDateOfBirth-trueto show the date of birth field,falseto hide it.- Returns:
Builder
-
setVerifyNationality
final EKYC.Builder setVerifyNationality(Boolean verifyNationality)
Sets the visibility of the nationality field on the eKYC module
- Parameters:
verifyNationality-trueto show the nationality field,falseto hide it.- Returns:
Builder
-
setNameSource
final EKYC.Builder setNameSource(EKYC.DataInputSource nameSource)
Sets the data input source of the name field on the eKYC module
- Parameters:
nameSource-DataInputSource.USER_INPUTto populate EKYC name field based on user input;DataInputSource.DOCUMENTto populate EKYC name field based on a scanned document;DataInputSource.PROOF_OF_ADDRESSto populate EKYC name field based on a proof of address document; Default isDataInputSource.USER_INPUT.- Returns:
Builder
-
setAddressSource
final EKYC.Builder setAddressSource(EKYC.DataInputSource addressSource)
Sets the data input source of the address field on the eKYC module
- Parameters:
addressSource-DataInputSource.USER_INPUTto populate EKYC address field based on user input;DataInputSource.DOCUMENTto populate EKYC address field based on a scanned document;DataInputSource.PROOF_OF_ADDRESSto populate EKYC address field based on a proof of address document; Default isDataInputSource.USER_INPUT.- Returns:
Builder
-
setDateOfBirthSource
final EKYC.Builder setDateOfBirthSource(EKYC.DataInputSource dateOfBirthSource)
Sets the data input source of the address field on the eKYC module
- Parameters:
dateOfBirthSource-DataInputSource.USER_INPUTto populate EKYC date of birth field based on user input;DataInputSource.DOCUMENTto populate EKYC date of birth field based on a scanned document; Default isDataInputSource.USER_INPUT.- Returns:
Builder
-
-
-
-