com.twilio.sdk.resource.factory
Interface AddressFactory
- All Known Implementing Classes:
- AddressList
public interface AddressFactory
A factory for creating Address objects.
Required parameters to create an Address:
- CustomerName: You or your customer's business name
- Street: The number and street for the address
- City: The city for this address
- Region: The state or region
- PostalCode: The postal code or zip code
- IsoCountry: The country, in ISO-3166-1 alpha-2 (two-character) format, e.g. 'CA' for Canada
Optional parameters:
- FriendlyName: A user-defined name for this Address; 64 characters maximum
create
Address create(Map<String,String> params)
throws TwilioRestException
- Throws:
TwilioRestException
create
Address create(List<org.apache.http.NameValuePair> params)
throws TwilioRestException
- Throws:
TwilioRestException
Copyright © 2011 Twilio, Inc. All Rights Reserved.