Class VerificationResultEvent
- java.lang.Object
-
- com.sinch.sdk.domains.verification.models.webhooks.VerificationEvent
-
- com.sinch.sdk.domains.verification.models.webhooks.VerificationResultEvent
-
public class VerificationResultEvent extends VerificationEvent
This event is received onto a POST request to the specified verification callback URL and triggered when a verification has been completed and the result is known. It's used to report the verification result to the developer's backend application. This callback event is only triggered when the verification callback URL is specified in your dashboard.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<VerificationReportReasonType>getReason()Displays the reason why a verification has FAILED, was DENIED, or was ABORTEDOptional<VerificationSourceType>getSource()Used to show if the call/SMS was intercepted or notVerificationReportStatusTypegetStatus()The status of the verification requestStringtoString()-
Methods inherited from class com.sinch.sdk.domains.verification.models.webhooks.VerificationEvent
getCustom, getEvent, getId, getIdentity, getMethod, getReference
-
-
-
-
Method Detail
-
getStatus
public VerificationReportStatusType getStatus()
The status of the verification request- Returns:
- Status value
- Since:
- 1.0
-
getReason
public Optional<VerificationReportReasonType> getReason()
Displays the reason why a verification has FAILED, was DENIED, or was ABORTED- Returns:
- reason value
- Since:
- 1.0
-
getSource
public Optional<VerificationSourceType> getSource()
Used to show if the call/SMS was intercepted or not- Returns:
- Type value
- Since:
- 1.0
-
toString
public String toString()
- Overrides:
toStringin classVerificationEvent
-
-