Creates and initializes the
AuthorisationCancel
transaction in the database with the values from the
Authorisation
, performing various checks in the process. This action can be used if an authorization cancel must be performed based on some internal processes, and not based on an external service call.
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.
the id of the newly created authorization cancel transaction