|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.authorize.Transaction
net.authorize.reporting.Transaction
public class Transaction
Transaction object for Reporting.
| Field Summary | |
|---|---|
static String |
XML_NAMESPACE
|
| Fields inherited from class net.authorize.Transaction |
|---|
BRACKET_PIPE_DELIMITER, CURRENCY_DECIMAL_PLACES, EMPTY_STRING, ENCAP_CHAR_DELIMITER, FALSE, MAX_AUTH_CODE_LENGTH, QUANTITY_DECIMAL_PLACES, TRANSACTION_FIELD_DELIMITER, TRUE, VERSION, ZERO_AMOUNT, ZERO_STRING |
| Method Summary | |
|---|---|
static Transaction |
createTransaction(Merchant merchant,
TransactionType transactionType)
Creates a transaction. |
static Transaction |
createTransaction(Transaction transaction,
BasicXmlDocument response)
Create a transaction from a response. |
BasicXmlDocument |
getCurrentRequest()
Returns the current request. |
BasicXmlDocument |
getCurrentResponse()
Returns the current response. |
ReportingDetails |
getReportingDetails()
|
TransactionType |
getTransactionType()
|
void |
setReportingDetails(ReportingDetails reportingDetails)
|
String |
toXMLString()
Convert request to XML. |
| Methods inherited from class net.authorize.Transaction |
|---|
getDecodedString, getEncodedString, setEncapCharDelimiter, setTransactionFieldDelimiter, toNVPString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String XML_NAMESPACE
| Method Detail |
|---|
public static Transaction createTransaction(Merchant merchant,
TransactionType transactionType)
merchant - transactionType -
public static final Transaction createTransaction(Transaction transaction,
BasicXmlDocument response)
transaction - response -
public TransactionType getTransactionType()
public BasicXmlDocument getCurrentRequest()
public BasicXmlDocument getCurrentResponse()
public String toXMLString()
toXMLString in class Transactionpublic void setReportingDetails(ReportingDetails reportingDetails)
reportingDetails - the reportingDetails to setpublic ReportingDetails getReportingDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||