getPaymentInstrument(final UseCase, final ITransactionParticipant, final Customer, final boolean) method

Syntax

PaymentInstrument getPaymentInstrument ( final UseCase useCase , final ITransactionParticipant participant , final Customer customer , final boolean payee )

Parameters

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.