CustomerDisallowedPaymentMethodsReadService
in package
implements
CustomerDisallowedPaymentMethodsReadService
Class CustomerDisallowedPaymentMethodsReadService
Interfaces, Classes and Traits
- CustomerDisallowedPaymentMethodsReadService
- Interface CustomerDisallowedPaymentMethodsReadService
Table of Contents
- $repository : CustomerDisallowedPaymentMethodsRepository
- __construct() : mixed
- getCustomersDisallowedPaymentMethods() : PaymentMethods
- Returns all disallowed payment methods for a given customer.
Properties
$repository
private
CustomerDisallowedPaymentMethodsRepository
$repository
Methods
__construct()
public
__construct(CustomerDisallowedPaymentMethodsRepository $repository) : mixed
Parameters
- $repository : CustomerDisallowedPaymentMethodsRepository
Return values
mixed —getCustomersDisallowedPaymentMethods()
Returns all disallowed payment methods for a given customer.
public
getCustomersDisallowedPaymentMethods(int $customerId) : PaymentMethods
Parameters
- $customerId : int