All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ups.xmlsdk.xpci.Response

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

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


Constructor Index

 o Response()
Response constructor.

Method Index

 o getCustomerContext()
Returns the instance variable value for Response Customer Context
 o getError()
Returns the instance variable value for Response Errors
 o getResponseStatusCode()
Returns the instance variable value for Response Status code
 o getResponseStatusDescription()
Returns the instance variable value for Response Status Description
 o getXpciVersion()
Returns the instance variable value for Response XPCI Version
 o setCustomerContext(String)
Sets the instance variable value for Response Customer Context
 o setError(Vector)
Sets the instance variable value for Response Errors
 o setResponseStatusCode(String)
Sets the instance variable value for Response Status Code
 o setResponseStatusDescription(String)
Sets the instance variable value for Response Status Description
 o setXpciVersion(String)
Sets the instance variable value for Response XPCI Version
 o toString()
Returns a String representation of the Response's state, token delimeted (=).

Constructors

 o Response
 public Response()
Response constructor.

Methods

 o getCustomerContext
 public String getCustomerContext()
Returns the instance variable value for Response Customer Context

Returns:
java.lang.String
 o getError
 public Vector getError()
Returns the instance variable value for Response Errors

Returns:
java.util.Vector
 o getResponseStatusCode
 public String getResponseStatusCode()
Returns the instance variable value for Response Status code

Returns:
java.lang.String
 o getResponseStatusDescription
 public String getResponseStatusDescription()
Returns the instance variable value for Response Status Description

Returns:
java.lang.String
 o getXpciVersion
 public String getXpciVersion()
Returns the instance variable value for Response XPCI Version

Returns:
java.lang.String
 o setCustomerContext
 public void setCustomerContext(String newCustomerContext)
Sets the instance variable value for Response Customer Context

Parameters:
newCustomerContext - java.lang.String
 o setError
 public void setError(Vector newError)
Sets the instance variable value for Response Errors

Parameters:
newError - java.util.Vector
 o setResponseStatusCode
 public void setResponseStatusCode(String newResponseStatusCode)
Sets the instance variable value for Response Status Code

Parameters:
newResponseStatusCode - java.lang.String
 o setResponseStatusDescription
 public void setResponseStatusDescription(String newResponseStatusDescription)
Sets the instance variable value for Response Status Description

Parameters:
newResponseStatusDescription - java.lang.String
 o setXpciVersion
 public void setXpciVersion(String newXpciVersion)
Sets the instance variable value for Response XPCI Version

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

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index