Syntax
PaymentInstrument
findPaymentInstrument
(
final UseCase
useCase
,
final Customer
customer
,
final boolean
payee
,
final PaymentInstrumentCriteria
criteria
)
Parameters
-
useCase –
use case
-
customer –
the Customer for which to fetch the payment instrument
-
payee –
true if customer is the payee; false if he is the payer
-
criteria –
criteria for the payment instrument
Returns
the payment instrument
Usage
Identifies the payment instrument for the specified customer.
the payment instrument