net.authorize.cim
Class Result<T>
java.lang.Object
net.authorize.Result<T>
net.authorize.xml.Result<T>
net.authorize.cim.Result<T>
- All Implemented Interfaces:
- Serializable
public class Result<T>
- extends Result<T>
Templated wrapper container for passing back the result from the request gateway.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
refId
protected String refId
customerProfileIdList
protected ArrayList<String> customerProfileIdList
customerProfile
protected CustomerProfile customerProfile
customerPaymentProfileIdList
protected ArrayList<String> customerPaymentProfileIdList
paymentProfileList
protected ArrayList<PaymentProfile> paymentProfileList
customerShippingAddressIdList
protected ArrayList<String> customerShippingAddressIdList
directResponseList
protected ArrayList<DirectResponse> directResponseList
Result
public Result()
createResult
public static <T> Result<T> createResult(T object,
BasicXmlDocument response)
getCustomerProfileId
public String getCustomerProfileId()
- Get the first/only customer profile id from a possible list of many
- Returns:
- the customerProfileId
getDirectResponseList
public ArrayList<DirectResponse> getDirectResponseList()
- Get the directResponse list
- Returns:
- the directResponseList
getRefId
public String getRefId()
- Returns:
- the refId
getCustomerPaymentProfileIdList
public ArrayList<String> getCustomerPaymentProfileIdList()
- Returns:
- the customerPaymentProfileIdList
getCustomerShippingAddressIdList
public ArrayList<String> getCustomerShippingAddressIdList()
- Returns:
- the customerShippingAddressIdList
getCustomerProfileIdList
public ArrayList<String> getCustomerProfileIdList()
- Returns:
- the customerProfileIdList
getCustomerPaymentProfileList
public ArrayList<PaymentProfile> getCustomerPaymentProfileList()
- Returns:
- the paymentProfile
getCustomerPaymentProfile
public PaymentProfile getCustomerPaymentProfile()
- Get the first/only payment profile from a possible list of many
- Returns:
- the customerProfileId
getCustomerProfile
public CustomerProfile getCustomerProfile()
- Returns:
- the customerProfile
printMessages
public void printMessages()
- Print out messages for debugging.
- Overrides:
printMessages in class Result<T>
Copyright © 2014. All Rights Reserved.