net.authorize.sim
Class Result

java.lang.Object
  extended by net.authorize.sim.Result
All Implemented Interfaces:
Serializable

public class Result
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
static Result createResult(String apiLoginId, String merchantMD5Key, Map<String,String[]> responseMap)
          Create a result for SIM based on the response map.
 ResponseReasonCode getReasonResponseCode()
           
 ResponseCode getResponseCode()
           
 Map<String,String> getResponseMap()
           
 boolean isApproved()
           
 boolean isAuthorizeNet()
          Verify that the relay response post is actually coming from AuthorizeNet.
 boolean isDeclined()
           
 boolean isError()
           
 boolean isReview()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 Id
merchantMD5Key - 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.