    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.

##

Agent()

##

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

##

Agent

     public Agent()

##

getAddress

     public AddressAbstract getAddress()

  Returns the instance variable value for Agent Address.

  Returns:
    com.ups.xml.beans.AddressAbstract

getAttentionName

     public String getAttentionName()

  Returns the instance variable value for Agent Attention Number.

  Returns:
    java.lang.String

getCompanyName

     public String getCompanyName()

  Returns the instance variable value for Agent Company Name.

  Returns:
    java.lang.String

getEmailAddress

     public String getEmailAddress()

  Returns:
    java.lang.String

getFaxNumber

     public Vector getFaxNumber()

  Returns the instance variable value for Agent Fax Number.

  Returns:
    java.util.Vector

getName

     public String getName()

  Returns the instance variable value for Agent Name.

  Returns:
    java.lang.String

getPhoneNumber

     public Vector getPhoneNumber()

  Returns the instance variable value for Agent Phone Number.

  Returns:
    java.util.Vector

getShipperAssignedID

     public String getShipperAssignedID()

  Returns the instance variable value for Agent Shipper Assigned Identification Number.

  Returns:
    java.lang.String

getShipperNumber

     public String getShipperNumber()

  Returns the instance variable value for Agent Shipper Number.

  Returns:
    java.lang.String

getTaxID

     public String getTaxID()

  Returns the instance variable value for Agent Tax Identification Number.

  Returns:
    java.lang.String

setAddress

     public void setAddress(AddressAbstract newAddress)

  Sets the instance variable value for Agent Address.

  Parameters:
    newAddress - com.ups.xml.beans.AddressAbstract

setAttentionName

     public void setAttentionName(String newAttentionName)

  Sets the instance variable value for Agent Attention Name.

  Parameters:
    newAttentionName - java.lang.String

setCompanyName

     public void setCompanyName(String newCompanyName)

  Sets the instance variable value for Agent Company Name.

  Parameters:
    newCompanyName - java.lang.String

setEmailAddress

     public void setEmailAddress(String newEmailAddress)

  Parameters:
    newEmailAddress - java.lang.String

setFaxNumber

     public void setFaxNumber(Vector newFaxNumber)

  Sets the instance variable value for Agent Fax Number.

  Parameters:
    newFaxNumber - java.util.Vector

setName

     public void setName(String newName)

  Sets the instance variable value for Agent Name.

  Parameters:
    newName - java.lang.String

setPhoneNumber

     public void setPhoneNumber(Vector newPhoneNumber)

  Sets the instance variable value for Agent Phone Number.

  Parameters:
    newPhoneNumber - java.util.Vector

setShipperAssignedID

     public void setShipperAssignedID(String newShipperAssignedID)

  Sets the instance variable value for Agent Shipper Assigned Identification Number.

  Parameters:
    newShipperAssignedID - java.lang.String

setShipperNumber

     public void setShipperNumber(String newShipperNumber)

  Sets the instance variable value for Agent Shipper Number.

  Parameters:
    newShipperNumber - java.lang.String

setTaxID

     public void setTaxID(String newTaxID)

  Sets the instance variable value for Agent Tax Indentification Number.

  Parameters:
    newTaxID - java.lang.String

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