Smalot\Magento\Cart\CartShipping::getMethod PHP Method

getMethod() public method

Allows you to set a shipping method for a shopping cart (quote).
public getMethod ( integer $quoteId, string $shippingMethod, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$shippingMethod string
$store string
return Smalot\Magento\ActionInterface
    public function getMethod($quoteId, $shippingMethod, $store = null)
    {
        return $this->__createAction('cart_shipping.method', func_get_args());
    }