public class AddressRequest extends Request
Addresses
.Modifier and Type | Field and Description |
---|---|
private String |
company |
private String |
countryCodeAlpha2 |
private String |
countryCodeAlpha3 |
private String |
countryCodeNumeric |
private String |
countryName |
private String |
extendedAddress |
private String |
firstName |
private String |
lastName |
private String |
locality |
private String |
postalCode |
private String |
region |
private String |
streetAddress |
protected String |
tagName |
Constructor and Description |
---|
AddressRequest() |
Modifier and Type | Method and Description |
---|---|
protected RequestBuilder |
buildRequest(String root) |
AddressRequest |
company(String company) |
AddressRequest |
countryCodeAlpha2(String countryCodeAlpha2) |
AddressRequest |
countryCodeAlpha3(String countryCodeAlpha3) |
AddressRequest |
countryCodeNumeric(String countryCodeNumeric) |
AddressRequest |
countryName(String countryName) |
AddressRequest |
extendedAddress(String extendedAddress) |
AddressRequest |
firstName(String firstName) |
AddressRequest |
lastName(String lastName) |
AddressRequest |
locality(String locality) |
AddressRequest |
postalCode(String postalCode) |
AddressRequest |
region(String region) |
AddressRequest |
streetAddress(String streetAddress) |
String |
toQueryString() |
String |
toQueryString(String root) |
String |
toXML() |
buildXMLElement, buildXMLElement, getKind
private String countryCodeAlpha2
private String countryCodeAlpha3
private String countryCodeNumeric
private String countryName
private String extendedAddress
private String firstName
private String lastName
private String locality
private String postalCode
private String region
private String streetAddress
private String company
protected String tagName
public AddressRequest company(String company)
public AddressRequest countryCodeAlpha2(String countryCodeAlpha2)
public AddressRequest countryCodeAlpha3(String countryCodeAlpha3)
public AddressRequest countryCodeNumeric(String countryCodeNumeric)
public AddressRequest countryName(String countryName)
public AddressRequest extendedAddress(String extendedAddress)
public AddressRequest firstName(String firstName)
public AddressRequest lastName(String lastName)
public AddressRequest locality(String locality)
public AddressRequest postalCode(String postalCode)
public AddressRequest region(String region)
public AddressRequest streetAddress(String streetAddress)
public String toQueryString()
toQueryString
in class Request
public String toQueryString(String root)
toQueryString
in class Request
protected RequestBuilder buildRequest(String root)
Copyright © 2013-2017. All Rights Reserved.