com.ibm.etill.framework.cassette
Class ReceivePaymentRequest

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.ReceivePaymentRequest
All Implemented Interfaces:
FrameworkReturnCodes, PaymentAPIConstants, Serializable

public class ReceivePaymentRequest
extends OrderRequest

ReceivePaymentRequest objects hold all the information necessary for a cassette to process a given RECEIVEPAYMENT API command. Since the RECEIVEPAYMENT API command operates on an Order (specifically, it creates a new order), ReceivePaymentRequest extends OrderRequest.

See Also:
APIResponse, Serialized Form

 
Constructor Summary
ReceivePaymentRequest(ETillConnection connection, Order order, ParameterTable frameworkKeywords, ParameterTable protocolData)
          Constructs an ReceivePaymentRequest object which references the specified connection, order, and protocol data parameters.
 
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
 

Constructor Detail

ReceivePaymentRequest

public ReceivePaymentRequest(ETillConnection connection,
                             Order order,
                             ParameterTable frameworkKeywords,
                             ParameterTable protocolData)
                      throws ETillAbortOperation
Constructs an ReceivePaymentRequest object which references the specified connection, order, and protocol data parameters. The Framework invokes this constructor every time a new RECEIVEPAYMENT command is received from a merchant application.
Parameters:
connection - the ETillConnection object over which the RECEIVEPAYMENT command was sent from the merchant application to Commerce Payments.
order - the Order object that the Framework created and initialized before calling this constructor.
frameworkKeywords - contains all of the protocol data parameters. The table keys are the parameter keywords and the associated values are the parameter values.
protocolData - Framework command parameters, keyed by their keywords .
Throws:
ETillAbortOperation - may be thrown by one of the ancestor classes' constructors.