Represents a set of payment instruments associated with a registered customer.
Note: this class allows access to sensitive personal and private
information. Pay attention to appropriate legal and regulatory requirements
when developing.
Returns the default payment instrument associated with the related customer. If not available, returns the first
payment instrument or null if no payment instruments are associated with the customer.
Returns the default payment instrument associated with the related customer. If not available, returns the first
payment instrument or null if no payment instruments are associated with the customer.
Returns a collection of all payment instruments associated with the
related customer filtered by the given payment method id. If
null is passed as payment method id all payment instruments
of the customer will be retrieved. If for the given payment method id no
payment instrument is associated with the customer an empty collection
will be returned.
Parameters:
paymentMethodID - the paymentMethodID the payment method id to filter for
Returns:
Collection of payment instruments for a payment method.