PHP Class Smalot\Magento\Cart\CartShipping

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Show file Open project: smalot/magento-client

Public Methods

Method Description
getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of available shipping methods for a shopping cart (quote).
getMethod ( integer $quoteId, string $shippingMethod, string $store = null ) : Smalot\Magento\ActionInterface Allows you to set a shipping method for a shopping cart (quote).

Method Details

getList() public method

Allows you to retrieve the list of available shipping methods for a shopping cart (quote).
public getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
return Smalot\Magento\ActionInterface

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