commissionRollback(final Long, final Long, final Long) method

Syntax

void commissionRollback ( final Long mainTransactionId , final Long subTransactionId , final Long actorId ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Exceptions

Usage

Performs a "rollback" for the given commission. The rollback is done by booking negative commissions for the existing positive commission, this should only be used as last resort, for example in case of a capturecancel

Notes on transactional semantics:

This operation will run inside its own database transaction. Any failure will trigger a rollback and also if the user requests

persist=false

the changes will also be rolled back. Exception will

always

cause the

SubTransaction

and the main

Transaction

to be marked as failed in a fresh database transaction.