Package com.vonage.client.verify2
Class Workflow
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.verify2.Workflow
- All Implemented Interfaces:
Jsonable
- Direct Known Subclasses:
EmailWorkflow,SilentAuthWorkflow,SmsWorkflow,VoiceWorkflow,WhatsappCodelessWorkflow,WhatsappWorkflow
Base workflow.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classWorkflow.Builder<W extends Workflow,B extends Workflow.Builder<? extends W, ? extends B>> Builder class for an SMS workflow. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe communication channel for this verification workflow.getTo()The phone number to contact with the message.protected StringvalidateFrom(String from) protected StringvalidateTo(String to) Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Field Details
-
channel
-
to
-
from
-
-
Constructor Details
-
Workflow
-
Workflow
-
Workflow
-
-
Method Details
-
validateTo
-
validateFrom
-
getChannel
The communication channel for this verification workflow.- Returns:
- The channel as an enum.
-
getTo
The phone number to contact with the message.- Returns:
- The recipient's phone number, in E.164 format.
-