Constructor and Description |
---|
AddressCreator(String accountSid,
String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Construct a new AddressCreator.
|
Modifier and Type | Method and Description |
---|---|
Address |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
AddressCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
public AddressCreator(String accountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)
accountSid
- The account_sidcustomerName
- The customer_namestreet
- The streetcity
- The cityregion
- The regionpostalCode
- The postal_codeisoCountry
- The iso_countrypublic AddressCreator setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic Address execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.