CustomerDisallowedShippingMethodsRepository
in
Interface CustomerDisallowedShippingMethodsRepository
Table of Contents
- getCustomersDisallowedShippingMethods() : ShippingMethods
- Returns all disallowed shipping methods for a given customer.
- setDisallowedShippingMethods() : void
- Sets the disallowed shipping methods for a given customer.
Methods
getCustomersDisallowedShippingMethods()
Returns all disallowed shipping methods for a given customer.
public
getCustomersDisallowedShippingMethods(int $customerId) : ShippingMethods
Parameters
- $customerId : int
Tags
Return values
ShippingMethods —setDisallowedShippingMethods()
Sets the disallowed shipping methods for a given customer.
public
setDisallowedShippingMethods(int $customerId, ShippingMethodId ...$shippingMethodIds) : void
Parameters
- $customerId : int
- $shippingMethodIds : ShippingMethodId