All Packages Class Hierarchy This Package Previous Next Index
Class com.ups.xmlsdk.xpci.Address
java.lang.Object
|
+----com.ups.xmlsdk.xpci.AddressAbstract
|
+----com.ups.xmlsdk.xpci.Address
- public class Address
- extends AddressAbstract
- implements Serializable
The Address Class is to be used as a data container. The instance variables available
in the Address Class are those provided by the XPCI for Address.
-
Address()
-
-
getAddressLine1()
- Returns the instance variable value for Address Line1.
-
getAddressLine2()
- Returns the instance variable value for Address Line2.
-
getAddressLine3()
- Returns the instance variable value for Address Line3.
-
getCity()
- Returns the instance variable value for Address City.
-
getCountryCode()
- Returns the instance variable value for Address Country Code.
-
getPostalCode()
- Returns the instance variable value for Address Postal Code.
-
getStateProvinceCode()
- Returns the instance variable value for Address State Province Code.
-
isResidentialAddress()
- Returns the boolean indicator of the instance variable for Residential Address.
-
setAddressLine1(String)
- Sets the instance variable value for Address Line1.
-
setAddressLine2(String)
- Sets the instance variable value for Address Line2.
-
setAddressLine3(String)
- Sets the instance variable value for Address Line3.
-
setCity(String)
- Sets the instance variable value for Address City.
-
setCountryCode(String)
- Sets the instance variable value for Address Country Code.
-
setPostalCode(String)
- Sets the instance variable value for Address Postal Code.
-
setResidentialAddress(boolean)
- Sets the boolean indicator instance variable for Residential Address.
-
setStateProvinceCode(String)
- Sets the instance variable value for Address State Province Code.
-
toString()
- Returns a String representation of the Address's state, token delimeted (=).
Address
public Address()
getAddressLine1
public String getAddressLine1()
- Returns the instance variable value for Address Line1.
- Returns:
- java.lang.String
getAddressLine2
public String getAddressLine2()
- Returns the instance variable value for Address Line2.
- Returns:
- java.lang.String
getAddressLine3
public String getAddressLine3()
- Returns the instance variable value for Address Line3.
- Returns:
- java.lang.String
getCity
public String getCity()
- Returns the instance variable value for Address City.
- Returns:
- java.lang.String
getCountryCode
public String getCountryCode()
- Returns the instance variable value for Address Country Code.
- Returns:
- java.lang.String
getPostalCode
public String getPostalCode()
- Returns the instance variable value for Address Postal Code.
- Returns:
- java.lang.String
getStateProvinceCode
public String getStateProvinceCode()
- Returns the instance variable value for Address State Province Code.
- Returns:
- java.lang.String
isResidentialAddress
public boolean isResidentialAddress()
- Returns the boolean indicator of the instance variable for Residential Address.
- Returns:
- boolean
setAddressLine1
public void setAddressLine1(String newAddressLine1)
- Sets the instance variable value for Address Line1.
- Parameters:
- newAddressLine1 - java.lang.String
setAddressLine2
public void setAddressLine2(String newAddressLine2)
- Sets the instance variable value for Address Line2.
- Parameters:
- newAddressLine2 - java.lang.String
setAddressLine3
public void setAddressLine3(String newAddressLine3)
- Sets the instance variable value for Address Line3.
- Parameters:
- newAddressLine3 - java.lang.String
setCity
public void setCity(String newCity)
- Sets the instance variable value for Address City.
- Parameters:
- newCity - java.lang.String
setCountryCode
public void setCountryCode(String newCountryCode)
- Sets the instance variable value for Address Country Code.
- Parameters:
- newCountryCode - java.lang.String
setPostalCode
public void setPostalCode(String newPostalCode)
- Sets the instance variable value for Address Postal Code.
- Parameters:
- newPostalCode - java.lang.String
setResidentialAddress
public void setResidentialAddress(boolean newResidentialAddress)
- Sets the boolean indicator instance variable for Residential Address.
- Parameters:
- newResidentialAddress - boolean
setStateProvinceCode
public void setStateProvinceCode(String newStateProvinceCode)
- Sets the instance variable value for Address State Province Code.
- Parameters:
- newStateProvinceCode - java.lang.String
toString
public String toString()
- Returns a String representation of the Address's state, token delimeted (=).
- Returns:
- java.lang.String
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index