SilverCart\Checkout\ShippingCheckoutStep
ShippingCheckoutStep.
Trait to provide shipping method related methods to a checkout step.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2018 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
trait ShippingCheckoutStep
{
- // members
- protected ShippingMethod $shippingMethod = NULL;
- // methods
- public ShippingMethod getShippingMethod()
- public CheckoutStep setShippingMethod()
- public CheckoutStep initShippingMethod()
Hierarchy
Members
protected
- $shippingMethod
—
\SilverCart\Model\Shipment\ShippingMethod
Chosen shipping method.
Methods
public
- getShippingMethod() — Returns the chosen shipping method.
- initShippingMethod() — Initializes the shipping method by using the checkout data.
- setShippingMethod() — Sets the chosen shipping method.