CustomerDisallowedShippingMethodsMapper
extends ShippingMethodFactory
in package
Class CustomerDisallowedShippingMethodsMapper
Table of Contents
- $textManager : TextManager
- __construct() : mixed
- createShippingMethodId() : ShippingMethodId
- Creates and returns a shipping method ID.
- createShippingMethods() : ShippingMethods
- Creates and returns a collection of shipping methods.
- mapShippingMethod() : ShippingMethod
- mapShippingMethods() : ShippingMethods
- shippingMethodNameFromId() : string
Properties
$textManager
private
TextManager
$textManager
Methods
__construct()
public
__construct(TextManager $textManager) : mixed
Parameters
- $textManager : TextManager
Return values
mixed —createShippingMethodId()
Creates and returns a shipping method ID.
public
createShippingMethodId(string $shippingMethodId) : ShippingMethodId
Parameters
- $shippingMethodId : string
Return values
ShippingMethodId —createShippingMethods()
Creates and returns a collection of shipping methods.
public
createShippingMethods(ShippingMethod ...$shippingMethods) : ShippingMethods
Parameters
- $shippingMethods : ShippingMethod
Return values
ShippingMethods —mapShippingMethod()
public
mapShippingMethod(string $shippingMethodId) : ShippingMethod
Parameters
- $shippingMethodId : string
Return values
ShippingMethod —mapShippingMethods()
public
mapShippingMethods(string $shippingMethodData) : ShippingMethods
Parameters
- $shippingMethodData : string
Return values
ShippingMethods —shippingMethodNameFromId()
private
shippingMethodNameFromId(string $shippingMethodId) : string
Parameters
- $shippingMethodId : string