All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ups.xmlsdk.xpci.Agent

java.lang.Object
   |
   +----com.ups.xmlsdk.xpci.Agent

public class Agent
extends Object
implements Serializable
The Agent Class is to be used as a data container. The instance variables available in the Agent Class are those provided by the XPCI for package activity.


Constructor Index

 o Agent()

Method Index

 o getAddress()
Returns the instance variable value for Agent Address.
 o getAttentionName()
Returns the instance variable value for Agent Attention Number.
 o getCompanyName()
Returns the instance variable value for Agent Company Name.
 o getEmailAddress()
 o getFaxNumber()
Returns the instance variable value for Agent Fax Number.
 o getName()
Returns the instance variable value for Agent Name.
 o getPhoneNumber()
Returns the instance variable value for Agent Phone Number.
 o getShipperAssignedID()
Returns the instance variable value for Agent Shipper Assigned Identification Number.
 o getShipperNumber()
Returns the instance variable value for Agent Shipper Number.
 o getTaxID()
Returns the instance variable value for Agent Tax Identification Number.
 o setAddress(AddressAbstract)
Sets the instance variable value for Agent Address.
 o setAttentionName(String)
Sets the instance variable value for Agent Attention Name.
 o setCompanyName(String)
Sets the instance variable value for Agent Company Name.
 o setEmailAddress(String)
 o setFaxNumber(Vector)
Sets the instance variable value for Agent Fax Number.
 o setName(String)
Sets the instance variable value for Agent Name.
 o setPhoneNumber(Vector)
Sets the instance variable value for Agent Phone Number.
 o setShipperAssignedID(String)
Sets the instance variable value for Agent Shipper Assigned Identification Number.
 o setShipperNumber(String)
Sets the instance variable value for Agent Shipper Number.
 o setTaxID(String)
Sets the instance variable value for Agent Tax Indentification Number.
 o toString()
Returns a String representation of the Agent's state, token delimeted (=).

Constructors

 o Agent
 public Agent()

Methods

 o getAddress
 public AddressAbstract getAddress()
Returns the instance variable value for Agent Address.

Returns:
com.ups.xml.beans.AddressAbstract
 o getAttentionName
 public String getAttentionName()
Returns the instance variable value for Agent Attention Number.

Returns:
java.lang.String
 o getCompanyName
 public String getCompanyName()
Returns the instance variable value for Agent Company Name.

Returns:
java.lang.String
 o getEmailAddress
 public String getEmailAddress()
Returns:
java.lang.String
 o getFaxNumber
 public Vector getFaxNumber()
Returns the instance variable value for Agent Fax Number.

Returns:
java.util.Vector
 o getName
 public String getName()
Returns the instance variable value for Agent Name.

Returns:
java.lang.String
 o getPhoneNumber
 public Vector getPhoneNumber()
Returns the instance variable value for Agent Phone Number.

Returns:
java.util.Vector
 o getShipperAssignedID
 public String getShipperAssignedID()
Returns the instance variable value for Agent Shipper Assigned Identification Number.

Returns:
java.lang.String
 o getShipperNumber
 public String getShipperNumber()
Returns the instance variable value for Agent Shipper Number.

Returns:
java.lang.String
 o getTaxID
 public String getTaxID()
Returns the instance variable value for Agent Tax Identification Number.

Returns:
java.lang.String
 o setAddress
 public void setAddress(AddressAbstract newAddress)
Sets the instance variable value for Agent Address.

Parameters:
newAddress - com.ups.xml.beans.AddressAbstract
 o setAttentionName
 public void setAttentionName(String newAttentionName)
Sets the instance variable value for Agent Attention Name.

Parameters:
newAttentionName - java.lang.String
 o setCompanyName
 public void setCompanyName(String newCompanyName)
Sets the instance variable value for Agent Company Name.

Parameters:
newCompanyName - java.lang.String
 o setEmailAddress
 public void setEmailAddress(String newEmailAddress)
Parameters:
newEmailAddress - java.lang.String
 o setFaxNumber
 public void setFaxNumber(Vector newFaxNumber)
Sets the instance variable value for Agent Fax Number.

Parameters:
newFaxNumber - java.util.Vector
 o setName
 public void setName(String newName)
Sets the instance variable value for Agent Name.

Parameters:
newName - java.lang.String
 o setPhoneNumber
 public void setPhoneNumber(Vector newPhoneNumber)
Sets the instance variable value for Agent Phone Number.

Parameters:
newPhoneNumber - java.util.Vector
 o setShipperAssignedID
 public void setShipperAssignedID(String newShipperAssignedID)
Sets the instance variable value for Agent Shipper Assigned Identification Number.

Parameters:
newShipperAssignedID - java.lang.String
 o setShipperNumber
 public void setShipperNumber(String newShipperNumber)
Sets the instance variable value for Agent Shipper Number.

Parameters:
newShipperNumber - java.lang.String
 o setTaxID
 public void setTaxID(String newTaxID)
Sets the instance variable value for Agent Tax Indentification Number.

Parameters:
newTaxID - java.lang.String
 o toString
 public String toString()
Returns a String representation of the Agent's state, token delimeted (=).

Returns:
java.lang.String
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index