Check if there is a individual restriction and validates the restriction.
Syntax
boolean
individualRestrictionCheck
(
final Customer
payer
,
final Customer
payee
,
UseCase
useCase
) throws TransactionRestrictionException
Parameters
-
payer –
the payer to check
-
payee –
the payee to check
-
useCase –
the current use case
Returns
true if an individual restriction existed, but hasn't been violated, false if no individual restriction exists.
Exceptions
-
TransactionRestrictionException –
if a restriction is violated.
Usage
true if an individual restriction existed, but hasn't been violated, false if no individual restriction exists.