1 | <?php |
||
27 | class CartShipping extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to retrieve the list of available shipping methods for a shopping cart (quote). |
||
31 | * |
||
32 | * @param int $quoteId |
||
33 | * @param string $store |
||
34 | * |
||
35 | * @return ActionInterface |
||
36 | */ |
||
37 | public function getList($quoteId, $store = null) |
||
41 | |||
42 | /** |
||
43 | * Allows you to set a shipping method for a shopping cart (quote). |
||
44 | * |
||
45 | * @param int $quoteId |
||
46 | * @param string $shippingMethod |
||
47 | * @param string $store |
||
48 | * |
||
49 | * @return ActionInterface |
||
50 | */ |
||
51 | public function getMethod($quoteId, $shippingMethod, $store = null) |
||
55 | } |
||
56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.