Class VerificationCreator
- java.lang.Object
-
- com.twilio.base.Creator<Verification>
-
- com.twilio.rest.verify.v2.service.VerificationCreator
-
public class VerificationCreator extends Creator<Verification>
-
-
Constructor Summary
Constructors Constructor Description VerificationCreator(String pathServiceSid, String to, String channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Verification
create(TwilioRestClient client)
Execute a request using specified client.VerificationCreator
setAmount(String amount)
VerificationCreator
setAppHash(String appHash)
VerificationCreator
setChannel(String channel)
VerificationCreator
setChannelConfiguration(Map<String,Object> channelConfiguration)
VerificationCreator
setCustomCode(String customCode)
VerificationCreator
setCustomFriendlyName(String customFriendlyName)
VerificationCreator
setCustomMessage(String customMessage)
VerificationCreator
setLocale(String locale)
VerificationCreator
setPayee(String payee)
VerificationCreator
setRateLimits(Map<String,Object> rateLimits)
VerificationCreator
setSendDigits(String sendDigits)
VerificationCreator
setTemplateCustomSubstitutions(String templateCustomSubstitutions)
VerificationCreator
setTemplateSid(String templateSid)
VerificationCreator
setTo(String to)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setTo
public VerificationCreator setTo(String to)
-
setChannel
public VerificationCreator setChannel(String channel)
-
setCustomFriendlyName
public VerificationCreator setCustomFriendlyName(String customFriendlyName)
-
setCustomMessage
public VerificationCreator setCustomMessage(String customMessage)
-
setSendDigits
public VerificationCreator setSendDigits(String sendDigits)
-
setLocale
public VerificationCreator setLocale(String locale)
-
setCustomCode
public VerificationCreator setCustomCode(String customCode)
-
setAmount
public VerificationCreator setAmount(String amount)
-
setPayee
public VerificationCreator setPayee(String payee)
-
setRateLimits
public VerificationCreator setRateLimits(Map<String,Object> rateLimits)
-
setChannelConfiguration
public VerificationCreator setChannelConfiguration(Map<String,Object> channelConfiguration)
-
setAppHash
public VerificationCreator setAppHash(String appHash)
-
setTemplateSid
public VerificationCreator setTemplateSid(String templateSid)
-
setTemplateCustomSubstitutions
public VerificationCreator setTemplateCustomSubstitutions(String templateCustomSubstitutions)
-
create
public Verification create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<Verification>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-