public class RatePlanCreator extends Creator<RatePlan>
Constructor and Description |
---|
RatePlanCreator() |
Modifier and Type | Method and Description |
---|---|
RatePlan |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
RatePlanCreator |
setCommandsEnabled(Boolean commandsEnabled)
The commands_enabled.
|
RatePlanCreator |
setDataEnabled(Boolean dataEnabled)
The data_enabled.
|
RatePlanCreator |
setDataLimit(Integer dataLimit)
The data_limit.
|
RatePlanCreator |
setDataMetering(String dataMetering)
The data_metering.
|
RatePlanCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
RatePlanCreator |
setInternationalRoaming(List<String> internationalRoaming)
The international_roaming.
|
RatePlanCreator |
setInternationalRoaming(String internationalRoaming)
The international_roaming.
|
RatePlanCreator |
setMessagingEnabled(Boolean messagingEnabled)
The messaging_enabled.
|
RatePlanCreator |
setNationalRoamingEnabled(Boolean nationalRoamingEnabled)
The national_roaming_enabled.
|
RatePlanCreator |
setUniqueName(String uniqueName)
The unique_name.
|
RatePlanCreator |
setVoiceEnabled(Boolean voiceEnabled)
The voice_enabled.
|
create, createAsync, createAsync
public RatePlanCreator setUniqueName(String uniqueName)
uniqueName
- The unique_namepublic RatePlanCreator setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic RatePlanCreator setDataEnabled(Boolean dataEnabled)
dataEnabled
- The data_enabledpublic RatePlanCreator setDataLimit(Integer dataLimit)
dataLimit
- The data_limitpublic RatePlanCreator setDataMetering(String dataMetering)
dataMetering
- The data_meteringpublic RatePlanCreator setMessagingEnabled(Boolean messagingEnabled)
messagingEnabled
- The messaging_enabledpublic RatePlanCreator setVoiceEnabled(Boolean voiceEnabled)
voiceEnabled
- The voice_enabledpublic RatePlanCreator setCommandsEnabled(Boolean commandsEnabled)
commandsEnabled
- The commands_enabledpublic RatePlanCreator setNationalRoamingEnabled(Boolean nationalRoamingEnabled)
nationalRoamingEnabled
- The national_roaming_enabledpublic RatePlanCreator setInternationalRoaming(List<String> internationalRoaming)
internationalRoaming
- The international_roamingpublic RatePlanCreator setInternationalRoaming(String internationalRoaming)
internationalRoaming
- The international_roamingpublic RatePlan create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.