Creates a check-pay-invoice (aka pre-authorization) request based on the data stored with the invoice itself.
Syntax
ICheckPayInvoiceRequest
makePreAuthfromInvoiceId
(
final Long
actorId
,
final ICheckPayInvoiceRequest
request
) throws MobiliserServiceException, DataAccessException, TransactionException
Parameters
-
actorId –
the authenticated user
-
request –
the request holding the invoice id (and other operational data like traceNo)
Returns
a ready-to-use check-pay-invoice request with all required information provided.
Exceptions
-
MobiliserServiceException –
if creating the pre-auth request 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
a ready-to-use check-pay-invoice request with all required information provided.