| Constructor and Description |
|---|
AddressCreator(String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Construct a new AddressCreator.
|
AddressCreator(String pathAccountSid,
String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Construct a new AddressCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
AddressCreator |
setAutoCorrectAddress(Boolean autoCorrectAddress)
The auto_correct_address.
|
AddressCreator |
setEmergencyEnabled(Boolean emergencyEnabled)
The emergency_enabled.
|
AddressCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
create, createAsync, createAsyncpublic AddressCreator(String customerName, String street, String city, String region, String postalCode, String isoCountry)
customerName - The customer_namestreet - The streetcity - The cityregion - The regionpostalCode - The postal_codeisoCountry - The iso_countrypublic AddressCreator(String pathAccountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)
pathAccountSid - 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 AddressCreator setEmergencyEnabled(Boolean emergencyEnabled)
emergencyEnabled - The emergency_enabledpublic AddressCreator setAutoCorrectAddress(Boolean autoCorrectAddress)
autoCorrectAddress - The auto_correct_addresspublic Address create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.