net.authorize.reporting
Class Result<T>

java.lang.Object
  extended by net.authorize.Result<T>
      extended by net.authorize.xml.Result<T>
          extended by net.authorize.reporting.Result<T>
All Implemented Interfaces:
Serializable

public class Result<T>
extends Result<T>

Reporting specific templated wrapper container for passing back the result from the request gateway.

See Also:
Serialized Form

Field Summary
protected  String refId
           
protected  ReportingDetails reportingDetails
           
 
Fields inherited from class net.authorize.xml.Result
ERROR, messages, OK, resultCode
 
Fields inherited from class net.authorize.Result
MessageDigestAlgorithm, target, transaction
 
Constructor Summary
Result()
           
 
Method Summary
static
<T> Result<T>
createResult(T object, BasicXmlDocument response)
           
 String getRefId()
           
 ReportingDetails getReportingDetails()
           
 void printMessages()
          Print out messages for debugging.
 
Methods inherited from class net.authorize.xml.Result
getElementText, getMessages, getResultCode, importResponseMessages, isError, isOk
 
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
 

Field Detail

refId

protected String refId

reportingDetails

protected ReportingDetails reportingDetails
Constructor Detail

Result

public Result()
Method Detail

createResult

public static <T> Result<T> createResult(T object,
                                         BasicXmlDocument response)

getRefId

public String getRefId()
Returns:
the refId

getReportingDetails

public ReportingDetails getReportingDetails()
Returns:
the reportingDetails

printMessages

public void printMessages()
Print out messages for debugging.

Overrides:
printMessages in class Result<T>


Copyright © 2014. All Rights Reserved.