com.ibm.etill.framework.cassette
Interface CassetteBatch

All Superinterfaces:
Archivable

public interface CassetteBatch
extends Archivable

The CassetteBatch interface should be implemented by the class within the cassette which represents the batch to the cassette's payment protocol. This object must be able to save itself to the database, therefor it extends the Archivable interface.


Method Summary
 Cassette cassette()
          Returns the cassette's Cassette object.
 
Methods inherited from interface com.ibm.etill.framework.archive.Archivable
createRecord, deleteRecord, updateRecord
 

Method Detail

cassette

public Cassette cassette()
Returns the cassette's Cassette object. This is purely a convenience method. When the CassetteBatch is constructed, it should store a reference to the Cassette object. That reference is then returned by this method.
Returns:
Cassette - a reference to the Cassette object under which this CassetteBatch is processed.