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.
-
Response()
- Response constructor.
-
getCustomerContext()
- Returns the instance variable value for Response Customer Context
-
getError()
- Returns the instance variable value for Response Errors
-
getResponseStatusCode()
- Returns the instance variable value for Response Status code
-
getResponseStatusDescription()
- Returns the instance variable value for Response Status Description
-
getXpciVersion()
- Returns the instance variable value for Response XPCI Version
-
setCustomerContext(String)
- Sets the instance variable value for Response Customer Context
-
setError(Vector)
- Sets the instance variable value for Response Errors
-
setResponseStatusCode(String)
- Sets the instance variable value for Response Status Code
-
setResponseStatusDescription(String)
- Sets the instance variable value for Response Status Description
-
setXpciVersion(String)
- Sets the instance variable value for Response XPCI Version
-
toString()
- Returns a String representation of the Response's state, token delimeted (=).
Response
public Response()
- Response constructor.
getCustomerContext
public String getCustomerContext()
- Returns the instance variable value for Response Customer Context
- Returns:
- java.lang.String
getError
public Vector getError()
- Returns the instance variable value for Response Errors
- Returns:
- java.util.Vector
getResponseStatusCode
public String getResponseStatusCode()
- Returns the instance variable value for Response Status code
- Returns:
- java.lang.String
getResponseStatusDescription
public String getResponseStatusDescription()
- Returns the instance variable value for Response Status Description
- Returns:
- java.lang.String
getXpciVersion
public String getXpciVersion()
- Returns the instance variable value for Response XPCI Version
- Returns:
- java.lang.String
setCustomerContext
public void setCustomerContext(String newCustomerContext)
- Sets the instance variable value for Response Customer Context
- Parameters:
- newCustomerContext - java.lang.String
setError
public void setError(Vector newError)
- Sets the instance variable value for Response Errors
- Parameters:
- newError - java.util.Vector
setResponseStatusCode
public void setResponseStatusCode(String newResponseStatusCode)
- Sets the instance variable value for Response Status Code
- Parameters:
- newResponseStatusCode - java.lang.String
setResponseStatusDescription
public void setResponseStatusDescription(String newResponseStatusDescription)
- Sets the instance variable value for Response Status Description
- Parameters:
- newResponseStatusDescription - java.lang.String
setXpciVersion
public void setXpciVersion(String newXpciVersion)
- Sets the instance variable value for Response XPCI Version
- Parameters:
- newXpciVersion - java.lang.String
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