public class Result<T> extends Result<T>
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<String> |
customerPaymentProfileIdList |
protected CustomerProfile |
customerProfile |
protected ArrayList<String> |
customerProfileIdList |
protected ArrayList<String> |
customerShippingAddressIdList |
protected ArrayList<DirectResponse> |
directResponseList |
protected ArrayList<PaymentProfile> |
paymentProfileList |
protected String |
refId |
protected String |
token |
ERROR, messages, OK, resultCodeMessageDigestAlgorithm, target, transaction| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Result<T> |
createResult(T object,
BasicXmlDocument response) |
PaymentProfile |
getCustomerPaymentProfile()
Get the first/only payment profile from a possible list of many
|
ArrayList<String> |
getCustomerPaymentProfileIdList() |
ArrayList<PaymentProfile> |
getCustomerPaymentProfileList() |
CustomerProfile |
getCustomerProfile() |
String |
getCustomerProfileId()
Get the first/only customer profile id from a possible list of many
|
ArrayList<String> |
getCustomerProfileIdList() |
ArrayList<String> |
getCustomerShippingAddressIdList() |
ArrayList<DirectResponse> |
getDirectResponseList()
Get the directResponse list
|
String |
getRefId() |
String |
getToken() |
void |
printMessages()
Print out messages for debugging.
|
getElementText, getMessages, getResultCode, importResponseMessages, isError, isOkgetTarget, getTransaction, isAuthorizeNetResponseprotected String refId
protected CustomerProfile customerProfile
protected String token
protected ArrayList<PaymentProfile> paymentProfileList
protected ArrayList<DirectResponse> directResponseList
public static <T> Result<T> createResult(T object, BasicXmlDocument response)
public String getCustomerProfileId()
public ArrayList<DirectResponse> getDirectResponseList()
public String getRefId()
public String getToken()
public ArrayList<String> getCustomerPaymentProfileIdList()
public ArrayList<String> getCustomerShippingAddressIdList()
public ArrayList<String> getCustomerProfileIdList()
public ArrayList<PaymentProfile> getCustomerPaymentProfileList()
public PaymentProfile getCustomerPaymentProfile()
public CustomerProfile getCustomerProfile()
public void printMessages()
printMessages in class Result<T>Copyright © 2016. All Rights Reserved.