Class Address
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.product.order.attribute.Address
@ApiType("SoftLayer_Container_Product_Order_Attribute_Address") public class Address extends Entity
This is the datatype that needs to be populated and sent to SoftLayer_Product_Order::placeOrder. The SoftLayer_Container_Product_Order_Attribute_Address datatype contains the address information.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
addressLine1
The physical street address.protected boolean
addressLine1Specified
protected String
addressLine2
The second line in the address.protected boolean
addressLine2Specified
protected String
city
The city nameprotected boolean
citySpecified
protected String
countryCode
The 2-character Country code.protected boolean
countryCodeSpecified
protected String
nonUsState
State, Region or Province not part of the U.S.protected boolean
nonUsStateSpecified
protected String
postalCode
The Zip or Postal Code.protected boolean
postalCodeSpecified
protected String
state
U.S.protected boolean
stateSpecified
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
Modifier and Type Method Description String
getAddressLine1()
String
getAddressLine2()
String
getCity()
String
getCountryCode()
String
getNonUsState()
String
getPostalCode()
String
getState()
boolean
isAddressLine1Specified()
boolean
isAddressLine2Specified()
boolean
isCitySpecified()
boolean
isCountryCodeSpecified()
boolean
isNonUsStateSpecified()
boolean
isPostalCodeSpecified()
boolean
isStateSpecified()
void
setAddressLine1(String addressLine1)
void
setAddressLine2(String addressLine2)
void
setCity(String city)
void
setCountryCode(String countryCode)
void
setNonUsState(String nonUsState)
void
setPostalCode(String postalCode)
void
setState(String state)
void
unsetAddressLine1()
void
unsetAddressLine2()
void
unsetCity()
void
unsetCountryCode()
void
unsetNonUsState()
void
unsetPostalCode()
void
unsetState()
-
Field Details
-
addressLine1
The physical street address. -
addressLine1Specified
protected boolean addressLine1Specified -
addressLine2
The second line in the address. Information such as suite number goes here. -
addressLine2Specified
protected boolean addressLine2Specified -
city
The city name -
citySpecified
protected boolean citySpecified -
countryCode
The 2-character Country code. (i.e. US) -
countryCodeSpecified
protected boolean countryCodeSpecified -
nonUsState
State, Region or Province not part of the U.S. or Canada. -
nonUsStateSpecified
protected boolean nonUsStateSpecified -
postalCode
The Zip or Postal Code. -
postalCodeSpecified
protected boolean postalCodeSpecified -
state
U.S. State, Region or Canadian Province. -
stateSpecified
protected boolean stateSpecified
-
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
getAddressLine1
-
setAddressLine1
-
isAddressLine1Specified
public boolean isAddressLine1Specified() -
unsetAddressLine1
public void unsetAddressLine1() -
getAddressLine2
-
setAddressLine2
-
isAddressLine2Specified
public boolean isAddressLine2Specified() -
unsetAddressLine2
public void unsetAddressLine2() -
getCity
-
setCity
-
isCitySpecified
public boolean isCitySpecified() -
unsetCity
public void unsetCity() -
getCountryCode
-
setCountryCode
-
isCountryCodeSpecified
public boolean isCountryCodeSpecified() -
unsetCountryCode
public void unsetCountryCode() -
getNonUsState
-
setNonUsState
-
isNonUsStateSpecified
public boolean isNonUsStateSpecified() -
unsetNonUsState
public void unsetNonUsState() -
getPostalCode
-
setPostalCode
-
isPostalCodeSpecified
public boolean isPostalCodeSpecified() -
unsetPostalCode
public void unsetPostalCode() -
getState
-
setState
-
isStateSpecified
public boolean isStateSpecified() -
unsetState
public void unsetState()
-