1 | <?php |
||
27 | class OrderShipment extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to add a new comment to the order shipment. |
||
31 | * |
||
32 | * @param string $shipmentIncrementId |
||
33 | * @param string $comment |
||
34 | * @param string $email |
||
35 | * @param string $includeInEmail |
||
36 | * |
||
37 | * @return ActionInterface |
||
38 | */ |
||
39 | public function addComment($shipmentIncrementId, $comment = null, $email = null, $includeInEmail = null) |
||
43 | |||
44 | /** |
||
45 | * Allows you to add a new tracking number to the order shipment. |
||
46 | * |
||
47 | * @param string $shipmentIncrementId |
||
48 | * @param string $carrier |
||
49 | * @param string $title |
||
50 | * @param string $trackNumber |
||
51 | * |
||
52 | * @return ActionInterface |
||
53 | */ |
||
54 | public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber) |
||
58 | |||
59 | /** |
||
60 | * Allows you to create a new shipment for an order. |
||
61 | * |
||
62 | * @param string $orderIncrementId |
||
63 | * @param string $itemsQty |
||
64 | * @param string $comment |
||
65 | * @param int $email |
||
66 | * @param int $includeComment |
||
67 | * |
||
68 | * @return ActionInterface |
||
69 | */ |
||
70 | public function create($orderIncrementId, $itemsQty = null, $comment = null, $email = null, $includeComment = null) |
||
74 | |||
75 | /** |
||
76 | * Allows you to retrieve the list of allowed carriers for an order. |
||
77 | * |
||
78 | * @param string $orderIncrementId |
||
79 | * |
||
80 | * @return ActionInterface |
||
81 | */ |
||
82 | public function getCarriers($orderIncrementId) |
||
86 | |||
87 | /** |
||
88 | * Allows you to retrieve the shipment information. |
||
89 | * |
||
90 | * @param $shipmentIncrementId |
||
91 | * |
||
92 | * @return ActionInterface |
||
93 | */ |
||
94 | public function getInfo($shipmentIncrementId) |
||
98 | |||
99 | /** |
||
100 | * Allows you to retrieve the list of order shipments. |
||
101 | * Additional filters can be applied. |
||
102 | * |
||
103 | * @param array $filters |
||
104 | * |
||
105 | * @return ActionInterface |
||
106 | */ |
||
107 | public function getList($filters) |
||
111 | |||
112 | /** |
||
113 | * Allows you to remove a tracking number from the order shipment. |
||
114 | * |
||
115 | * @param string $shipmentIncrementId |
||
116 | * @param string $trackId |
||
117 | * |
||
118 | * @return ActionInterface |
||
119 | */ |
||
120 | public function removeTrack($shipmentIncrementId, $trackId) |
||
124 | } |
||
125 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.