Syntax
CreateMoneyTransactionResult
createMoneyTransactions
(
final IGenericAuthorisationRequest
request
,
final CallerInformation
caller
) throws MobiliserServiceException, DataAccessException, TransactionException
Parameters
-
request –
the authorization request
-
caller –
the actor (authenticated user)
Returns
a CreateMoneyTransactionResult object containing the details of the created transactions
Exceptions
-
MobiliserServiceException –
if the creation of the transactions fails for some reason (business rules)
-
DataAccessException –
if some error occurs communicating / writing / reading persistent storage
-
TransactionException –
if some error occurs while handling the transactions related to persistent storage
Usage
Creates the
Transaction
and
Authorisation
for the given
IGenericAuthorisationRequest
.
Notes on transactional semantics:
This operation will run inside its own database transaction. Any failure will trigger a rollback.
a CreateMoneyTransactionResult object containing the details of the created transactions