@Deprecated public class Transaction extends Transaction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
XML_NAMESPACE
Deprecated.
|
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| Modifier and Type | Method and Description |
|---|---|
static Transaction |
createTransaction(Merchant merchant,
TransactionType transactionType)
Deprecated.
Creates a transaction.
|
static Transaction |
createTransaction(Transaction transaction,
BasicXmlDocument response)
Deprecated.
Create a transaction from a response.
|
BasicXmlDocument |
getCurrentRequest()
Deprecated.
Returns the current request.
|
BasicXmlDocument |
getCurrentResponse()
Deprecated.
Returns the current response.
|
ReportingDetails |
getReportingDetails()
Deprecated.
|
TransactionType |
getTransactionType()
Deprecated.
|
void |
setReportingDetails(ReportingDetails reportingDetails)
Deprecated.
|
java.lang.String |
toXMLString()
Deprecated.
Convert request to XML.
|
getDecodedString, getEncodedString, setEncapCharDelimiter, setTransactionFieldDelimiter, toNVPStringpublic 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 java.lang.String toXMLString()
toXMLString in class Transactionpublic void setReportingDetails(ReportingDetails reportingDetails)
reportingDetails - the reportingDetails to setpublic ReportingDetails getReportingDetails()
Copyright © 2018. All Rights Reserved.