Verifies if the passed customer can participate in the use case as payer, based on the customer's privileges.
Syntax
void
verifyPayerPrivilege
(
Customer
payer
,
UseCase
useCase
) throws TransactionParticipantException
Parameters
-
payer –
the customer to check.
-
useCase –
the current use case.
Exceptions
-
TransactionParticipantException –
if the payer is lacking the required privilege.