adjustBalances(final long, final Long) method

Syntax

void adjustBalances ( final long subTransactionId , final Long actorId ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Exceptions

Usage

Adjusts the balances for the given subtransaction. This does not perform any limit checking, but only adjusts the limit sums based on transaction amounts. This method should hence only be used for follow-up transactions, not for the authorization step.

Notes on transactional semantics:

This operation will run inside its own database transaction. Any failure will trigger a rollback. Exceptions will

always

cause the

SubTransaction

to be marked as failed in a fresh database transaction.