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.


Constructor Index

 o Address()

Method Index

 o getAddressLine1()
Returns the instance variable value for Address Line1.
 o getAddressLine2()
Returns the instance variable value for Address Line2.
 o getAddressLine3()
Returns the instance variable value for Address Line3.
 o getCity()
Returns the instance variable value for Address City.
 o getCountryCode()
Returns the instance variable value for Address Country Code.
 o getPostalCode()
Returns the instance variable value for Address Postal Code.
 o getStateProvinceCode()
Returns the instance variable value for Address State Province Code.
 o isResidentialAddress()
Returns the boolean indicator of the instance variable for Residential Address.
 o setAddressLine1(String)
Sets the instance variable value for Address Line1.
 o setAddressLine2(String)
Sets the instance variable value for Address Line2.
 o setAddressLine3(String)
Sets the instance variable value for Address Line3.
 o setCity(String)
Sets the instance variable value for Address City.
 o setCountryCode(String)
Sets the instance variable value for Address Country Code.
 o setPostalCode(String)
Sets the instance variable value for Address Postal Code.
 o setResidentialAddress(boolean)
Sets the boolean indicator instance variable for Residential Address.
 o setStateProvinceCode(String)
Sets the instance variable value for Address State Province Code.
 o toString()
Returns a String representation of the Address's state, token delimeted (=).

Constructors

 o Address
 public Address()

Methods

 o getAddressLine1
 public String getAddressLine1()
Returns the instance variable value for Address Line1.

Returns:
java.lang.String
 o getAddressLine2
 public String getAddressLine2()
Returns the instance variable value for Address Line2.

Returns:
java.lang.String
 o getAddressLine3
 public String getAddressLine3()
Returns the instance variable value for Address Line3.

Returns:
java.lang.String
 o getCity
 public String getCity()
Returns the instance variable value for Address City.

Returns:
java.lang.String
 o getCountryCode
 public String getCountryCode()
Returns the instance variable value for Address Country Code.

Returns:
java.lang.String
 o getPostalCode
 public String getPostalCode()
Returns the instance variable value for Address Postal Code.

Returns:
java.lang.String
 o getStateProvinceCode
 public String getStateProvinceCode()
Returns the instance variable value for Address State Province Code.

Returns:
java.lang.String
 o isResidentialAddress
 public boolean isResidentialAddress()
Returns the boolean indicator of the instance variable for Residential Address.

Returns:
boolean
 o setAddressLine1
 public void setAddressLine1(String newAddressLine1)
Sets the instance variable value for Address Line1.

Parameters:
newAddressLine1 - java.lang.String
 o setAddressLine2
 public void setAddressLine2(String newAddressLine2)
Sets the instance variable value for Address Line2.

Parameters:
newAddressLine2 - java.lang.String
 o setAddressLine3
 public void setAddressLine3(String newAddressLine3)
Sets the instance variable value for Address Line3.

Parameters:
newAddressLine3 - java.lang.String
 o setCity
 public void setCity(String newCity)
Sets the instance variable value for Address City.

Parameters:
newCity - java.lang.String
 o setCountryCode
 public void setCountryCode(String newCountryCode)
Sets the instance variable value for Address Country Code.

Parameters:
newCountryCode - java.lang.String
 o setPostalCode
 public void setPostalCode(String newPostalCode)
Sets the instance variable value for Address Postal Code.

Parameters:
newPostalCode - java.lang.String
 o setResidentialAddress
 public void setResidentialAddress(boolean newResidentialAddress)
Sets the boolean indicator instance variable for Residential Address.

Parameters:
newResidentialAddress - boolean
 o setStateProvinceCode
 public void setStateProvinceCode(String newStateProvinceCode)
Sets the instance variable value for Address State Province Code.

Parameters:
newStateProvinceCode - java.lang.String
 o 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