com.ibm.etill.framework.cassette
Interface CassetteTransaction

All Superinterfaces:
Archivable

public interface CassetteTransaction
extends Archivable

The CassetteTransaction interface defines the interface both for the cassette's payment object and its credit object. This object must be able to save itself to the database, therefore it extends the Archivable interface.


Method Summary
 void resetTransaction()
          Resets the state and contents of this CassetteTransaction object to its initial values such that the object appears as if it has just been instantiated.
 
Methods inherited from interface com.ibm.etill.framework.archive.Archivable
createRecord, deleteRecord, updateRecord
 

Method Detail

resetTransaction

public void resetTransaction()
Resets the state and contents of this CassetteTransaction object to its initial values such that the object appears as if it has just been instantiated. The framework calls this method to ensure that a Payment or Credit that is in VOID state can be reused for a new approval (payment) or refund (credit).