@Deprecated public class Transaction extends Transaction implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
MD5Value
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.String> |
merchantDefinedMap
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.String> |
requestMap
Deprecated.
|
protected TransactionType |
transactionType
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 | Constructor and Description |
|---|---|
protected |
Transaction(Merchant merchant,
TransactionType transactionType,
java.math.BigDecimal amount)
Deprecated.
Constructor for creation a transaction with typed objects.
|
| Modifier and Type | Method and Description |
|---|---|
static Transaction |
createTransaction(Merchant merchant,
TransactionType transactionType,
java.math.BigDecimal amount)
Deprecated.
Create a Transaction for a merchant.
|
static Transaction |
createTransaction(Transaction transaction,
BasicXmlDocument response)
Deprecated.
Create a transaction from a response XML doc.
|
static Transaction |
createTransaction(Transaction transaction,
java.util.Map<ResponseField,java.lang.String> responseMap)
Deprecated.
Create a transaction from a responseMap.
|
java.lang.String |
getAuthorizationCode()
Deprecated.
Get the authorization code of the transaction.
|
CreditCard |
getCreditCard()
Deprecated.
Get the CreditCard associated with the transaction.
|
java.lang.String |
getCurrencyCode()
Deprecated.
Get the currency code for Card Present transactions.
|
BasicXmlDocument |
getCurrentResponse()
Deprecated.
Return a response XML doc if the transaction was a Card Present transaction.
|
Customer |
getCustomer()
Deprecated.
Get the Customer information associated with the transaction.
|
ECheck |
getECheck()
Deprecated.
|
EmailReceipt |
getEmailReceipt()
Deprecated.
Get the EmailReceipt associated with the transaction.
|
java.lang.String |
getMD5Value()
Deprecated.
|
java.lang.String |
getMerchantDefinedField(java.lang.String field)
Deprecated.
Get a merchant defined field.
|
java.util.Map<java.lang.String,java.lang.String> |
getMerchantDefinedMap()
Deprecated.
Get the merchant defined data map.
|
Order |
getOrder()
Deprecated.
Get the Order associated with the transaction.
|
java.util.Map<java.lang.String,java.lang.String> |
getRequestMap()
Deprecated.
|
java.lang.String |
getResponseField(ResponseField responseField)
Deprecated.
Returns the payment gateway response data for a specific ResponseField.
|
java.util.Map<ResponseField,java.lang.String> |
getResponseMap()
Deprecated.
Return the payment gateway response data map.
|
ShippingAddress |
getShippingAddress()
Deprecated.
Get the ShippingAddress for the transaction request.
|
ShippingCharges |
getShippingCharges()
Deprecated.
Get the ShippingCharges associated with the transaction.
|
Solution |
getSolutionField()
Deprecated.
Get a solution field.
|
java.lang.String |
getTransactionId()
Deprecated.
Return the payment gateway assigned transaction ID of the transaction.
|
TransactionType |
getTransactionType()
Deprecated.
Get the transaction type.
|
boolean |
isCardPresent()
Deprecated.
Return true if the transaction is a Card Present type transaction.
|
void |
setAuthorizationCode(java.lang.String authCode)
Deprecated.
The authorization code of an original transaction not captured on the payment gateway.
|
void |
setCreditCard(CreditCard creditCard)
Deprecated.
Set the CreditCard information for the transaction request.
|
void |
setCurrencyCode(java.lang.String currencyCode)
Deprecated.
Set the currency code for Card Present transactions.
|
void |
setCustomer(Customer customer)
Deprecated.
Set the Customer information for the transaction request.
|
void |
setDuplicateWindow(int seconds)
Deprecated.
The window of time after the submission of a transaction that a duplicate transaction can not be submitted.
|
void |
setECheck(ECheck eCheck)
Deprecated.
|
void |
setEmailReceipt(EmailReceipt emailReceipt)
Deprecated.
Set the EmailReceipt information for the transaction request.
|
void |
setMerchantDefinedField(java.lang.String field,
java.lang.String value)
Deprecated.
Set a merchant defined field.
|
void |
setOrder(Order order)
Deprecated.
Set the Order (and OrderItems) for the transaction request.
|
void |
setRecurringBilling(boolean recurringBillingStatus)
Deprecated.
Indicating marker used by merchant account providers to identify transactions which originate from merchant
hosted recurring billing applications.
|
void |
setShippingAddress(ShippingAddress shippingAddress)
Deprecated.
Set the ShippingAddress for the transaction request.
|
void |
setShippingCharges(ShippingCharges shippingCharges)
Deprecated.
Set the ShippingCharges for the transaction request.
|
void |
setSolutionField(Solution solution)
Deprecated.
Set a solution field.
|
void |
setSplitTenderId(java.lang.String splitTenderId)
Deprecated.
The payment gateway assigned slit tender ID of an original transaction.
|
void |
setTransactionId(java.lang.String transactionId)
Deprecated.
The payment gateway assigned transaction ID of an original transaction.
|
java.lang.String |
toNVPString()
Deprecated.
Prepare the name/value pair mapping based on the Map(s) provided.
|
getDecodedString, getEncodedString, setEncapCharDelimiter, setTransactionFieldDelimiter, toXMLStringprotected java.util.Map<java.lang.String,java.lang.String> requestMap
protected java.util.Map<java.lang.String,java.lang.String> merchantDefinedMap
protected TransactionType transactionType
protected java.lang.String MD5Value
protected Transaction(Merchant merchant, TransactionType transactionType, java.math.BigDecimal amount)
merchant - transactionType - amount - public static final Transaction createTransaction(Transaction transaction, java.util.Map<ResponseField,java.lang.String> responseMap)
transaction - responseMap - public static final Transaction createTransaction(Transaction transaction, BasicXmlDocument response)
transaction - response - public static Transaction createTransaction(Merchant merchant, TransactionType transactionType, java.math.BigDecimal amount)
merchant - transactionType - amount - public java.util.Map<java.lang.String,java.lang.String> getRequestMap()
public java.util.Map<ResponseField,java.lang.String> getResponseMap()
public void setTransactionId(java.lang.String transactionId)
transactionId - public void setSplitTenderId(java.lang.String splitTenderId)
splitTenderId - public java.lang.String getTransactionId()
public TransactionType getTransactionType()
public void setAuthorizationCode(java.lang.String authCode)
authCode - public java.lang.String getAuthorizationCode()
public void setCreditCard(CreditCard creditCard)
creditCard - public CreditCard getCreditCard()
public void setECheck(ECheck eCheck)
eCheck - the eCheck to setpublic ECheck getECheck()
public void setCustomer(Customer customer)
customer - public Customer getCustomer()
public void setEmailReceipt(EmailReceipt emailReceipt)
emailReceipt - public EmailReceipt getEmailReceipt()
public void setOrder(Order order)
order - public Order getOrder()
public void setShippingAddress(ShippingAddress shippingAddress)
shippingAddress - public ShippingAddress getShippingAddress()
public void setShippingCharges(ShippingCharges shippingCharges)
shippingCharges - public ShippingCharges getShippingCharges()
public void setDuplicateWindow(int seconds)
seconds - public void setCurrencyCode(java.lang.String currencyCode)
currencyCode - public java.lang.String getCurrencyCode()
public void setRecurringBilling(boolean recurringBillingStatus)
recurringBillingStatus - public void setMerchantDefinedField(java.lang.String field,
java.lang.String value)
field - value - public java.lang.String getMerchantDefinedField(java.lang.String field)
field - public java.util.Map<java.lang.String,java.lang.String> getMerchantDefinedMap()
public java.lang.String getResponseField(ResponseField responseField)
responseField - public java.lang.String toNVPString()
toNVPString in class Transactionpublic boolean isCardPresent()
public BasicXmlDocument getCurrentResponse()
public java.lang.String getMD5Value()
public void setSolutionField(Solution solution)
solution - public Solution getSolutionField()
Copyright © 2018. All Rights Reserved.