com.ibm.etill.framework.cassette
Class BatchOpenRequest

java.lang.Object
  |
  +--com.ibm.etill.framework.cassette.CassetteRequest
        |
        +--com.ibm.etill.framework.cassette.APIRequest
              |
              +--com.ibm.etill.framework.cassette.BatchRequest
                    |
                    +--com.ibm.etill.framework.cassette.BatchOpenRequest
All Implemented Interfaces:
FrameworkReturnCodes, PaymentAPIConstants, Serializable

public class BatchOpenRequest
extends BatchRequest

BatchOpenRequest objects hold all the information necessary for a cassette to process a given BATCHOPEN API command. Since the BATCHOPEN API command operates on a Batch (specifically, it creates a new batch), BatchOpenRequest extends BatchRequest.

See Also:
APIResponse, Serialized Form

 
Constructor Summary
BatchOpenRequest(ETillConnection connection, Batch batch, ParameterTable frameworkKeywords, ParameterTable protocolData)
          Constructs an BatchOpenRequest object which references or contains all of the specified input parameters.
 
Methods inherited from class com.ibm.etill.framework.cassette.BatchRequest
getAccountNumber, getBatch, getBatchNumber
 
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

BatchOpenRequest

public BatchOpenRequest(ETillConnection connection,
                        Batch batch,
                        ParameterTable frameworkKeywords,
                        ParameterTable protocolData)
                 throws ETillAbortOperation
Constructs an BatchOpenRequest object which references or contains all of the specified input parameters. The Framework invokes this constructor every time a new BATCHOPEN command is received from a merchant application.
Parameters:
connection - the ETillConnection object over which the BATCHOPEN command was sent from the merchant application to Commerce Payments.
batch - the Batch object that the Framework created and initialized before calling this constructor.
frameworkKeywords - a ParameterTable that contains the framework command parameters that were specified on the command string.
protocolData - a ParameterTable that contains the protocol data parameters that were specified on the command string. If no such parameters were specified, then this value will be null.
Throws:
ETillAbortOperation - may be thrown by one of the ancestor classes' constructors.