ShippingMethodFactory
in package
Class ShippingMethodFactory
Table of Contents
- createShippingMethodId() : ShippingMethodId
- Creates and returns a shipping method ID.
- createShippingMethods() : ShippingMethods
- Creates and returns a collection of shipping methods.
Methods
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