net.authorize.sim
Class Result
java.lang.Object
net.authorize.sim.Result
- All Implemented Interfaces:
- Serializable
public class Result
- extends Object
- implements Serializable
- 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 Result createResult(String apiLoginId,
String merchantMD5Key,
Map<String,String[]> responseMap)
- Create a result for SIM based on the response map.
- Parameters:
apiLoginId - merchant api login IdmerchantMD5Key - MD5 key that is created in the Security Settings in the merchant interface.responseMap -
- Returns:
- the result
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
isApproved
public boolean isApproved()
isDeclined
public boolean isDeclined()
isError
public boolean isError()
isReview
public boolean isReview()
getResponseCode
public ResponseCode getResponseCode()
getReasonResponseCode
public ResponseReasonCode getReasonResponseCode()
getResponseMap
public Map<String,String> getResponseMap()
Copyright © 2014. All Rights Reserved.