Pipelet: Customer GetCustomerPaymentInstruments

Pipelet GetCustomerPaymentInstruments

Return the set of stored PaymentInstruments for the specified Customer.



Input Parameters

PaymentMethod : String Optional

Optional parameter used for filtering. If provided, then only customer payment instruments with a payment method matching the passed value are returned. If a customer payment instrument has a null payment method, then it is always returned.

Customer : Customer Required

Custome to get payment instruments from. Must represent a registered customer, otherwise the pipelet throws an exception.

Output Parameters

PaymentInstruments : Collection : Required

An (possibly empty) iterator containing all credit cart objects of the current user.