net.authorize
Class Result<T>

java.lang.Object
  extended by net.authorize.Result<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Result, Result, Result

public abstract class Result<T>
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String MessageDigestAlgorithm
           
protected  T target
           
protected  Transaction transaction
           
 
Constructor Summary
Result()
           
 
Method Summary
 T getTarget()
          Get the target (request + response transaction).
 Transaction getTransaction()
          Get the request transaction.
static boolean isAuthorizeNetResponse(String md5Value, String apiLoginId, String amount, String transId, String transHash)
          Verify that the relay response post is actually coming from AuthorizeNet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transaction

protected Transaction transaction

target

protected T target

MessageDigestAlgorithm

public static final String MessageDigestAlgorithm
See Also:
Constant Field Values
Constructor Detail

Result

public Result()
Method Detail

getTransaction

public Transaction getTransaction()
Get the request transaction.

Returns:
Transaction

getTarget

public T getTarget()
Get the target (request + response transaction).

Returns:
Transaction

isAuthorizeNetResponse

public static boolean isAuthorizeNetResponse(String md5Value,
                                             String apiLoginId,
                                             String amount,
                                             String transId,
                                             String transHash)
Verify that the relay response post is actually coming from AuthorizeNet.

Returns:
boolean true if the txn came from Authorize.Net


Copyright © 2014. All Rights Reserved.