net.authorize.aim
Class Result<T>

java.lang.Object
  extended by net.authorize.Result<T>
      extended by net.authorize.aim.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

Field Summary
 
Fields inherited from class net.authorize.Result
MessageDigestAlgorithm, target, transaction
 
Method Summary
static
<T> Result<T>
createResult(T object, Map<ResponseField,String> responseMap)
           
 ResponseReasonCode getReasonResponseCode()
           
 ResponseCode getResponseCode()
           
 String getResponseText()
           
 boolean isApproved()
           
 boolean isDeclined()
           
 boolean isError()
           
 boolean isReview()
           
 
Methods inherited from class net.authorize.Result
getTarget, getTransaction, isAuthorizeNetResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createResult

public static <T> Result<T> createResult(T object,
                                         Map<ResponseField,String> responseMap)

getResponseCode

public ResponseCode getResponseCode()

getReasonResponseCode

public ResponseReasonCode getReasonResponseCode()

getResponseText

public String getResponseText()
Returns:
the reponseText

isApproved

public boolean isApproved()

isDeclined

public boolean isDeclined()

isError

public boolean isError()

isReview

public boolean isReview()


Copyright © 2014. All Rights Reserved.