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
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.