1 | <?php |
||
27 | class CartProduct extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to add one or more products to the shopping cart (quote). |
||
31 | * |
||
32 | * @param int $quoteId |
||
33 | * @param array $productsData |
||
34 | * @param string $storeId |
||
35 | * |
||
36 | * @return ActionInterface |
||
37 | */ |
||
38 | public function add($quoteId, $productsData, $storeId = null) |
||
42 | |||
43 | /** |
||
44 | * Allows you to retrieve the list of products in the shopping cart (quote). |
||
45 | * |
||
46 | * @param int $quoteId |
||
47 | * @param string $store |
||
48 | * |
||
49 | * @return ActionInterface |
||
50 | */ |
||
51 | public function getList($quoteId, $store = null) |
||
55 | |||
56 | /** |
||
57 | * Allows you to move products from the current quote to a customer quote. |
||
58 | * |
||
59 | * @param int $quoteId |
||
60 | * @param array $productsData |
||
61 | * @param string $store |
||
62 | * |
||
63 | * @return ActionInterface |
||
64 | */ |
||
65 | public function moveToCustomerQuote($quoteId, $productsData, $store = null) |
||
69 | |||
70 | /** |
||
71 | * Allows you to remove one or several products from a shopping cart (quote). |
||
72 | * |
||
73 | * @param int $quoteId |
||
74 | * @param array $productsData |
||
75 | * @param string $store |
||
76 | * |
||
77 | * @return ActionInterface |
||
78 | */ |
||
79 | public function remove($quoteId, $productsData, $store = null) |
||
83 | |||
84 | /** |
||
85 | * Allows you to update one or several products in the shopping cart (quote). |
||
86 | * |
||
87 | * @param int $quoteId |
||
88 | * @param array $productsData |
||
89 | * @param string $store |
||
90 | * |
||
91 | * @return ActionInterface |
||
92 | */ |
||
93 | public function update($quoteId, $productsData, $store = null) |
||
97 | } |
||
98 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.