net.authorize.aim.cardpresent
Class Result<T>
java.lang.Object
net.authorize.Result<T>
net.authorize.aim.cardpresent.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
|
Constructor Summary |
protected |
Result()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
responseCode
protected ResponseCode responseCode
responseReasonCodes
protected ArrayList<ResponseReasonCode> responseReasonCodes
xmlResponseDocument
protected BasicXmlDocument xmlResponseDocument
Result
protected Result()
createResult
public static <T> Result<T> createResult(T object,
BasicXmlDocument response)
getResponseCode
public ResponseCode getResponseCode()
- Returns:
- the responseCode
getResponseReasonCodes
public ArrayList<ResponseReasonCode> getResponseReasonCodes()
- Returns:
- the responseReasonCodes
getAuthCode
public String getAuthCode()
- Returns:
- the authCode
getAvsResultCode
public AVSCode getAvsResultCode()
- Returns:
- the avsResultCode
getCardCodeResponse
public CardCodeResponseType getCardCodeResponse()
- Returns:
- the cardCodeReponse
getTransId
public String getTransId()
- Returns:
- the transId
getRefTransId
public String getRefTransId()
- Returns:
- the refTransId
getTransHash
public String getTransHash()
- Returns:
- the transHash
isTestMode
public boolean isTestMode()
- Returns:
- the testMode
getUserRef
public String getUserRef()
- Returns:
- the userRef
isApproved
public boolean isApproved()
isDeclined
public boolean isDeclined()
isError
public boolean isError()
getXmlResponseDocument
public BasicXmlDocument getXmlResponseDocument()
- Return the response as a raw xml document.
- Returns:
- the xmlResponseDocument
isAuthorizeNet
public boolean isAuthorizeNet()
- Verify that the relay response post is actually coming from
AuthorizeNet.
- Returns:
- boolean true if the txn came from Authorize.Net
getPrepaidCard
public PrepaidCard getPrepaidCard()
setPrepaidCard
public void setPrepaidCard(PrepaidCard prepaidCard)
getSplitTenderId
public String getSplitTenderId()
setSplitTenderId
public void setSplitTenderId(String splitTenderId)
Copyright © 2014. All Rights Reserved.