Creates and initializes the
CaptureCancel
transaction in the database with the values from the request, performing various checks in the process.
Notes on transactional semantics:
If a business logic exception occurs, a
MobiliserServiceException
will be thrown which will trigger a rollback. Any other exception will also trigger a rollback of the database transaction.
a InitTransactionResult holding the id of the newly created CaptureCancel transaction along with the parameters from the main Transaction