com.ibm.etill.framework.cassette
Class PaymentTransactionRequest

java.lang.Object
  |
  +--com.ibm.etill.framework.cassette.CassetteRequest
        |
        +--com.ibm.etill.framework.cassette.APIRequest
              |
              +--com.ibm.etill.framework.cassette.OrderRequest
                    |
                    +--com.ibm.etill.framework.cassette.PaymentTransactionRequest
All Implemented Interfaces:
FrameworkReturnCodes, PaymentAPIConstants, Serializable
Direct Known Subclasses:
ApproveRequest, ApproveReversalRequest, DepositRequest, DepositReversalRequest, RefundRequest, RefundReversalRequest

public class PaymentTransactionRequest
extends OrderRequest

PaymentTransactionRequests are requests which operate on payment transactions (that is, Payments and Credits). Generic payment transaction operations are Approve, Deposit and Refund, plus their reversals. PaymentTransactionRequest adds the common payment transaction data to the request hierarchy and serves as the base class for each of the specific payment transaction requests. Since all payment transactions are associated with an Order, PaymentTransactionRequest extends OrderRequest.

See Also:
APIResponse, Serialized Form

 
Method Summary
 Amount getAmount()
          Returns the value of the Amount object which contains the amount data specified on the input API request.
 Transaction getTransaction()
          Returns the generic Transaction object (for example, the Payment or Credit object) at which this PaymentTransactionRequest is directed.
 
Methods inherited from class com.ibm.etill.framework.cassette.OrderRequest
getAccount, getAccountNumber, getBatchNumber, getMerchant, getOrder
 
Methods inherited from class com.ibm.etill.framework.cassette.APIRequest
getFrameworkKeywords, getProtocolData
 
Methods inherited from class com.ibm.etill.framework.cassette.CassetteRequest
getConnection, getToken, obtainLocks, releaseLocks
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAmount

public final Amount getAmount()
Returns the value of the Amount object which contains the amount data specified on the input API request.
Returns:
Amount - the object which contains the amount, and amountExp10 and currency code values specified on the API request message.

getTransaction

public final Transaction getTransaction()
Returns the generic Transaction object (for example, the Payment or Credit object) at which this PaymentTransactionRequest is directed.
Returns:
Transaction - the object at which this request is directed.