CustomerDisallowedPaymentMethodsRepository
in
Interface CustomerDisallowedPaymentMethodsRepository
Table of Contents
- getCustomersDisallowedPaymentMethods() : PaymentMethods
- Returns all disallowed payment methods for a given customer.
- setDisallowedPaymentMethods() : void
- Sets the disallowed payment methods for a given customer.
Methods
getCustomersDisallowedPaymentMethods()
Returns all disallowed payment methods for a given customer.
public
getCustomersDisallowedPaymentMethods(int $customerId) : PaymentMethods
Parameters
- $customerId : int
Tags
Return values
PaymentMethods —setDisallowedPaymentMethods()
Sets the disallowed payment methods for a given customer.
public
setDisallowedPaymentMethods(int $customerId, PaymentMethodId ...$methodsIds) : void
Parameters
- $customerId : int
- $methodsIds : PaymentMethodId