Constructor and Description |
---|
BundleCreator(String friendlyName,
String email)
Construct a new BundleCreator.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
BundleCreator |
setEndUserType(Bundle.EndUserType endUserType)
The type
of End User of the Bundle resource..
|
BundleCreator |
setIsoCountry(String isoCountry)
The ISO country
code of the Bundle's phone number country ownership request..
|
BundleCreator |
setNumberType(String numberType)
The type of phone number of the Bundle's ownership request.
|
BundleCreator |
setRegulationSid(String regulationSid)
The unique string of a regulation that is associated to the Bundle resource..
|
BundleCreator |
setStatusCallback(String statusCallback)
The URL we call to inform your application of status changes..
|
BundleCreator |
setStatusCallback(URI statusCallback)
The URL we call to inform your application of status changes..
|
create, createAsync, createAsync
public BundleCreator setStatusCallback(URI statusCallback)
statusCallback
- The URL we call to inform your application of status
changes.public BundleCreator setStatusCallback(String statusCallback)
statusCallback
- The URL we call to inform your application of status
changes.public BundleCreator setRegulationSid(String regulationSid)
regulationSid
- The unique string of a regulation.public BundleCreator setIsoCountry(String isoCountry)
isoCountry
- The ISO country code of the countrypublic BundleCreator setEndUserType(Bundle.EndUserType endUserType)
endUserType
- The type of End User of the Bundle resourcepublic BundleCreator setNumberType(String numberType)
numberType
- The type of phone numberpublic Bundle create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.