net.authorize.aim
Class Result<T>
java.lang.Object
net.authorize.Result<T>
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.