1 | <?php |
||
27 | class Cart extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to create an empty shopping cart. |
||
31 | * |
||
32 | * @param string $storeId |
||
33 | * |
||
34 | * @return ActionInterface |
||
35 | */ |
||
36 | public function create($storeId = null) |
||
40 | |||
41 | /** |
||
42 | * Allows you to retrieve full information about the shopping cart (quote). |
||
43 | * |
||
44 | * @param int $quoteId |
||
45 | * @param string $store |
||
46 | * |
||
47 | * @return ActionInterface |
||
48 | */ |
||
49 | public function getInfo($quoteId, $store = null) |
||
53 | |||
54 | /** |
||
55 | * Allows you to retrieve the website license agreement for the quote according to the website (store). |
||
56 | * |
||
57 | * @param int $quoteId |
||
58 | * @param string $store |
||
59 | * |
||
60 | * @return ActionInterface |
||
61 | */ |
||
62 | public function getLicense($quoteId, $store = null) |
||
66 | |||
67 | /** |
||
68 | * Allows you to create an order from a shopping cart (quote). |
||
69 | * Before placing the order, you need to add the customer, customer address, shipping and payment methods. |
||
70 | * |
||
71 | * @param int $quoteId |
||
72 | * @param string $store |
||
73 | * @param array $agreements |
||
74 | * |
||
75 | * @return ActionInterface |
||
76 | */ |
||
77 | public function order($quoteId, $store = null, $agreements = null) |
||
81 | |||
82 | /** |
||
83 | * Allows you to retrieve total prices for a shopping cart (quote). |
||
84 | * |
||
85 | * @param int $quoteId |
||
86 | * @param string $store |
||
87 | * |
||
88 | * @return ActionInterface |
||
89 | */ |
||
90 | public function getTotals($quoteId, $store = null) |
||
94 | } |
||
95 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.