Interface VerificationStartEvent
- All Superinterfaces:
VerificationSinchEvent
VerificationStartEvent
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builderstatic classThe type of the event. -
Method Summary
-
Method Details
-
getId
String getId()The ID of the verification request.Field is required
- Specified by:
getIdin interfaceVerificationSinchEvent- Returns:
- id
-
getMethod
VerificationMethod getMethod()Get methodField is required
- Specified by:
getMethodin interfaceVerificationSinchEvent- Returns:
- method
-
getIdentity
Identity getIdentity()Get identityField is required
- Specified by:
getIdentityin interfaceVerificationSinchEvent- 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 interfaceVerificationSinchEvent- 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 interfaceVerificationSinchEvent- Returns:
- custom
-
getPrice
Price getPrice()Get price- Returns:
- price
-
getAcceptLanguage
Deprecated.Allows you to set or override if provided in the API request, the SMS verification content language. Only used with the SMS verification method. The content language specified in the API request or in the callback can be overridden by carrier provider specific templates, due to compliance and legal requirements, such as US shortcode requirements (pdf).- Returns:
- acceptLanguage
-
builder
Getting builder- Returns:
- New Builder instance
-