Syntax
PaymentInstrument
getPaymentInstrument
(
final UseCase
useCase
,
final ITransactionParticipant
participant
,
final Customer
customer
,
final boolean
payee
)
Parameters
-
useCase –
the current transaction's use case
-
participant –
the transaction participant information
-
customer –
the corresponding customer entity
Returns
the payment instrument to use for this transaction / use case.
Usage
Returns the payment instrument to be used by this customer. It is either retrieved from the Participant info or from the default wallet settings for this customer.
the payment instrument to use for this transaction / use case.