Transaction delete bean
The transaction delete bean is the primary facility to delete and undelete transactions in an existing Transaction Server batch (ICL).
The payload class name for the transaction delete bean is
com.ibm.paydir.ima.txacc.app.bridge.payment.PaymentDeleteBean.
The target transactions are identified using their payment ID. By default, the transaction delete bean
deletes a specified transaction, but it can also use the
setDelete() mutator method to
undelete a transaction. Note: Deleting a transaction does not remove the transaction from the batch (ICL) but
simply marks it as deleted. A deleted transaction is removed from the batch (ICL) totals providing that it was
not already deleted before the request was issued. Likewise, an undeleted transaction is added to the batch
(ICL) totals provided that it was in the deleted state before the request was issued.
When requested, the transaction delete bean returns ACTION_DELETE as its action code value. The caller can
use the mutator methods that are shown in the following table to configure the transaction delete bean.
| Method name | Takes data type | Description |
|---|---|---|
| setDelete | Boolean | Sets the transaction delete flag to deleted (true) or undelete (false). The default is true. |