@@ -106,7 +106,7 @@ |
||
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
109 | - * @param $parameterName |
|
109 | + * @param string $parameterName |
|
110 | 110 | * @param \ReflectionMethod $method |
111 | 111 | * @param $data |
112 | 112 | * @return void |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
11 | 11 | * @param string $partnerCode |
12 | - * @return bool|\GuzzleHttp\Message\Response |
|
12 | + * @return \GuzzleHttp\Message\Response |
|
13 | 13 | */ |
14 | 14 | public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode) |
15 | 15 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * Update products on partner |
31 | 31 | * |
32 | 32 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
33 | - * @return bool|\GuzzleHttp\Message\Response |
|
33 | + * @return \GuzzleHttp\Message\Response |
|
34 | 34 | */ |
35 | 35 | public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products) |
36 | 36 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @param string $sku |
54 | 54 | * @param integer $quantity |
55 | - * @return bool |
|
55 | + * @return \GuzzleHttp\Message\Response |
|
56 | 56 | */ |
57 | 57 | public function updateStock($sku, $quantity) |
58 | 58 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * @param float $specialPrice |
78 | 78 | * @param string $specialFromDate |
79 | 79 | * @param string $specialToDate |
80 | - * @return bool |
|
80 | + * @return \GuzzleHttp\Message\Response |
|
81 | 81 | */ |
82 | 82 | public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate) |
83 | 83 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | |
112 | 112 | /** |
113 | 113 | * @param \Iris\Transfer\Tracking\ShippedCollection $items |
114 | - * @return bool|\GuzzleHttp\Message\Response |
|
114 | + * @return \GuzzleHttp\Message\Response |
|
115 | 115 | */ |
116 | 116 | public function setStatusToShippedOnPartner(\Iris\Transfer\Tracking\ShippedCollection $items) |
117 | 117 | { |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | |
160 | 160 | /** |
161 | 161 | * @param \Iris\Transfer\Tracking\DeliveredCollection $items |
162 | - * @return bool|\GuzzleHttp\Message\Response |
|
162 | + * @return \GuzzleHttp\Message\Response |
|
163 | 163 | */ |
164 | 164 | public function setStatusToDeliveredOnPartner(\Iris\Transfer\Tracking\DeliveredCollection $items) |
165 | 165 | { |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | |
200 | 200 | /** |
201 | 201 | * @param \Iris\Transfer\Tracking\FailedDeliveryCollection $items |
202 | - * @return bool|\GuzzleHttp\Message\Response |
|
202 | + * @return \GuzzleHttp\Message\Response |
|
203 | 203 | */ |
204 | 204 | public function setStatusToFailedDeliveryOnPartner(\Iris\Transfer\Tracking\FailedDeliveryCollection $items) |
205 | 205 | { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | |
244 | 244 | /** |
245 | 245 | * @param \Iris\Transfer\Tracking\CanceledCollection $items |
246 | - * @return bool|\GuzzleHttp\Message\Response |
|
246 | + * @return \GuzzleHttp\Message\Response |
|
247 | 247 | */ |
248 | 248 | public function setStatusToCanceledOnPartner(\Iris\Transfer\Tracking\CanceledCollection $items) |
249 | 249 | { |
@@ -64,7 +64,6 @@ |
||
64 | 64 | public function getOrderByOrderNumberAndPartnerCode($orderNr, $partnerCode); |
65 | 65 | |
66 | 66 | /** |
67 | - * @param \Iris\Transfer\Sales\Order $order |
|
68 | 67 | * @param string $ventureCode |
69 | 68 | * @return array Returns an array as: |
70 | 69 | * |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Send order to venture |
58 | 58 | * |
59 | 59 | * @param \Iris\Transfer\Sales\Order $order, |
60 | - * @param string $ventureCode |
|
60 | + * @param string $venture |
|
61 | 61 | * @return bool |
62 | 62 | * @throws \Iris\Exceptions\OrderNotFound |
63 | 63 | * @throws \Iris\Exceptions\RetryMessage |
@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * Send a confirmation that the order is paid to the venture |
88 | 88 | * |
89 | - * @param Iris\Transfer\Sales\Order $order |
|
90 | - * @param Iris\Transfer\Venture $venture |
|
89 | + * @param \Iris\Transfer\Sales\Order $order |
|
90 | + * @param \Iris\Transfer\Venture $venture |
|
91 | 91 | * @return bool |
92 | 92 | * @throws \Iris\Exceptions\OrderNotFound |
93 | 93 | * @throws \Iris\Exceptions\RetryMessage |
@@ -106,8 +106,8 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Sends a order cancel request to venture |
108 | 108 | * |
109 | - * @param Iris\Transfer\Sales\Order $order |
|
110 | - * @param Iris\Transfer\Venture $venture |
|
109 | + * @param \Iris\Transfer\Sales\Order $order |
|
110 | + * @param \Iris\Transfer\Venture $venture |
|
111 | 111 | * @return bool |
112 | 112 | * @throws \Iris\Exceptions\OrderNotFound |
113 | 113 | * @throws \Iris\Exceptions\RetryMessage |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * @param array $postPaymentData |
186 | 186 | * @param string $ventureCode |
187 | - * @return array |
|
187 | + * @return boolean |
|
188 | 188 | */ |
189 | 189 | public function cancelOrderFromVenture( |
190 | 190 | array $postPaymentData, |
@@ -232,7 +232,6 @@ discard block |
||
232 | 232 | |
233 | 233 | /** |
234 | 234 | * As a Partner I expect to receive a delivery failed notification from Venture. |
235 | - * @param array $orderData |
|
236 | 235 | * @param string $ventureCode |
237 | 236 | * @return array Returns an array as: |
238 | 237 | * |
@@ -355,7 +354,7 @@ discard block |
||
355 | 354 | * |
356 | 355 | * @param array $productsData |
357 | 356 | * @param string $ventureCode |
358 | - * @return void |
|
357 | + * @return \Iris\Transfer\Catalog\ConfigCollection |
|
359 | 358 | */ |
360 | 359 | public function updateProductImagesFromVenture(array $productsData, $ventureCode) |
361 | 360 | { |
@@ -106,9 +106,8 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Create products on partner |
108 | 108 | * |
109 | - * @param \Iris\Transfer\Catalog\ConfigCollection $products |
|
110 | 109 | * @param string $partnerCode |
111 | - * @return bool |
|
110 | + * @return boolean|null |
|
112 | 111 | * @throws \Iris\Exceptions\RetryMessage |
113 | 112 | */ |
114 | 113 | public function createProductsOnPartner( |
@@ -124,8 +123,7 @@ discard block |
||
124 | 123 | /** |
125 | 124 | * Update products on partner |
126 | 125 | * |
127 | - * @param \Iris\Transfer\Catalog\ConfigCollection $products |
|
128 | - * @return bool |
|
126 | + * @return boolean|null |
|
129 | 127 | * @throws \Iris\Exceptions\RetryMessage |
130 | 128 | */ |
131 | 129 | public function updateProductsOnPartner( |
@@ -139,7 +137,7 @@ discard block |
||
139 | 137 | * |
140 | 138 | * @param string $skuSimple |
141 | 139 | * @param int $stock |
142 | - * @return bool |
|
140 | + * @return boolean|null |
|
143 | 141 | * @throws \Iris\Exceptions\RetryMessage |
144 | 142 | */ |
145 | 143 | public function updateStockOnPartner($skuSimple, $stock) |
@@ -155,7 +153,7 @@ discard block |
||
155 | 153 | * @param float $specialPrice |
156 | 154 | * @param string $specialFromDate |
157 | 155 | * @param string $specialToDate |
158 | - * @return bool |
|
156 | + * @return boolean|null |
|
159 | 157 | * @throws \Iris\Exceptions\RetryMessage |
160 | 158 | */ |
161 | 159 | public function updatePriceOnPartner( |
@@ -178,7 +176,7 @@ discard block |
||
178 | 176 | * Change order items to shipped status |
179 | 177 | * |
180 | 178 | * @param \Iris\Transfer\Tracking\ShippedCollection |
181 | - * @return bool|\GuzzleHttp\Message\Response |
|
179 | + * @return \GuzzleHttp\Message\Response |
|
182 | 180 | * @throws \Iris\Exceptions\RetryMessage |
183 | 181 | */ |
184 | 182 | public function setStatusToShippedOnPartner( |
@@ -191,7 +189,7 @@ discard block |
||
191 | 189 | * Change order items to delivered status |
192 | 190 | * |
193 | 191 | * @param \Iris\Transfer\Tracking\DeliveredCollection |
194 | - * @return bool|\GuzzleHttp\Message\Response |
|
192 | + * @return \GuzzleHttp\Message\Response |
|
195 | 193 | * @throws \Iris\Exceptions\RetryMessage |
196 | 194 | */ |
197 | 195 | public function setStatusToDeliveredOnPartner( |
@@ -204,7 +202,7 @@ discard block |
||
204 | 202 | * Change order items canceled status |
205 | 203 | * |
206 | 204 | * @param \Iris\Transfer\Tracking\CanceledCollection |
207 | - * @return bool|\GuzzleHttp\Message\Response |
|
205 | + * @return \GuzzleHttp\Message\Response |
|
208 | 206 | * @throws \Iris\Exceptions\RetryMessage |
209 | 207 | */ |
210 | 208 | public function setStatusToCanceledOnPartner( |
@@ -217,7 +215,7 @@ discard block |
||
217 | 215 | * Change order items to failed delivery status |
218 | 216 | * |
219 | 217 | * @param \Iris\Transfer\Tracking\FailedDeliveryCollection |
220 | - * @return bool|\GuzzleHttp\Message\Response |
|
218 | + * @return \GuzzleHttp\Message\Response |
|
221 | 219 | * @throws \Iris\Exceptions\RetryMessage |
222 | 220 | */ |
223 | 221 | public function setStatusToFailedDeliveryOnPartner( |