Interface VerificationStartRequestWhatsApp
- All Superinterfaces:
VerificationStartRequest
VerificationStartRequestWhatsApp
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Getting builderGet codeTypeCan be used to pass custom data in the request.getExtraOption(String key) Return the additional "whatsappOptions" with the specified name.Get identityUsed to pass your own reference in the request for tracking purposes.
-
Method Details
-
getIdentity
Identity getIdentity()Get identityField is required
- Specified by:
getIdentityin interfaceVerificationStartRequest- Returns:
- identity
-
getReference
String getReference()Used to pass your own reference in the request for tracking purposes. Must be a unique value for each started verification request. The value must be encodable in the URL path segment. This value is passed to all events and returned from the status and report endpoints. The reference can be used to check the status of verifications, like with ID or identity.- Specified by:
getReferencein interfaceVerificationStartRequest- Returns:
- reference
-
getCustom
String getCustom()Can be used to pass custom data in the request. Will be passed to all events. Max length 4096 characters, can be arbitrary text data.- Specified by:
getCustomin interfaceVerificationStartRequest- Returns:
- custom
-
getCodeType
WhatsAppCodeType getCodeType()Get codeType- Returns:
- codeType
-
getExtraOption
Return the additional "whatsappOptions" with the specified name.- Parameters:
key- the name of the property- Returns:
- the additional property with the specified name
-
builder
Getting builder- Returns:
- New Builder instance
-