Class VerificationRequestEvent
- java.lang.Object
-
- com.sinch.sdk.domains.verification.models.webhooks.VerificationEvent
-
- com.sinch.sdk.domains.verification.models.webhooks.VerificationRequestEvent
-
public class VerificationRequestEvent extends VerificationEvent
This event is received onto a POST request to the specified verification callback URL and is triggered when a new verification request is made from the SDK client or the Verification Request API. This callback event is only triggered when a verification callback URL is specified in your dashboard.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Collection<String>>getAcceptLanguage()Allows you to set or override if provided in the API request, the SMS verification content language.Optional<Price>getPrice()The amount of money and currency of the verification requestStringtoString()-
Methods inherited from class com.sinch.sdk.domains.verification.models.webhooks.VerificationEvent
getCustom, getEvent, getId, getIdentity, getMethod, getReference
-
-
-
-
Method Detail
-
getPrice
public Optional<Price> getPrice()
The amount of money and currency of the verification request- Returns:
- Price value
- Since:
- 1.0
-
getAcceptLanguage
public Optional<Collection<String>> getAcceptLanguage()
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 see https://developers.sinch.com/docs/verification/api-reference/verification/tag/Verification-callbacks/#tag/Verification-callbacks/paths/VerificationRequestEvent/post- Returns:
- Values collection list
- Since:
- 1.0
-
toString
public String toString()
- Overrides:
toStringin classVerificationEvent
-
-