afterInitTransaction(final Req, final Res, final AtomicReference< CallerInformation >, final AtomicReference< Long >, boolean) method

AT this stage the transaction is already fully initialized and all standard business logic checks have been executed.

Syntax

void afterInitTransaction ( final Req request , final Res response , final AtomicReference< CallerInformation > callerRef , final AtomicReference< Long > authIdRef , boolean persist )

Parameters

Usage

Fees are already attached to the transaction. If the transaction is failing after this call and before the

afterAuthorisationSuccess

is called the

onFailure

method is executed. Any BL checks that should fail the transactions should be executed here and a

MobiliserServiceException

should be thrown.