@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | { |
| 10 | 10 | /** |
| 11 | 11 | * Gets Venture service. |
| 12 | - * @return Iris\Interfaces\IrisVenture |
|
| 12 | + * @return \Iris\Interfaces\Service |
|
| 13 | 13 | */ |
| 14 | 14 | public function getVentureService() |
| 15 | 15 | { |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * Gets Stock service. |
| 21 | - * @return Iris\Interfaces\Stock |
|
| 21 | + * @return \Iris\Interfaces\Service |
|
| 22 | 22 | */ |
| 23 | 23 | public function getStockService() |
| 24 | 24 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * Gets Stock service. |
| 30 | - * @return Iris\Interfaces\Catalog |
|
| 30 | + * @return \Iris\Interfaces\Service |
|
| 31 | 31 | */ |
| 32 | 32 | public function getCatalogService() |
| 33 | 33 | { |
@@ -46,15 +46,14 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * Check if current item is from some iris venture. |
| 49 | - * @param Iris\Transfer\Sales\Order\Item $item |
|
| 49 | + * @param \Iris\Transfer\Sales\Order\Item $item |
|
| 50 | 50 | * @return bool |
| 51 | 51 | * @throws Iris\Exceptions\VentureNotFound |
| 52 | 52 | */ |
| 53 | 53 | public function isVentureItem(\Iris\Transfer\Sales\Order\Item $item); |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param Iris\Transfer\Venture $venture |
|
| 57 | - * @param Iris\Transfer\Sales\Order $order |
|
| 56 | + * @param Iris\Transfer\Venture $ventureCode |
|
| 58 | 57 | * @return bool |
| 59 | 58 | * @throws Iris\Exceptions\OrderNotFound |
| 60 | 59 | * @throws Iris\Exceptions\RetryMessage |
@@ -62,8 +61,7 @@ discard block |
||
| 62 | 61 | public function sendOrderToVenture($orderNumber, $ventureCode); |
| 63 | 62 | |
| 64 | 63 | /** |
| 65 | - * @param Iris\Transfer\Venture $venture |
|
| 66 | - * @param Iris\Transfer\Sales\Order $order |
|
| 64 | + * @param Iris\Transfer\Venture $ventureCode |
|
| 67 | 65 | * @return bool |
| 68 | 66 | * @throws Iris\Exceptions\OrderNotFound |
| 69 | 67 | * @throws Iris\Exceptions\RetryMessage |
@@ -71,8 +69,7 @@ discard block |
||
| 71 | 69 | public function confirmOrderPaidOnVenture($orderNumber, $ventureCode); |
| 72 | 70 | |
| 73 | 71 | /** |
| 74 | - * @param Iris\Transfer\Venture $venture |
|
| 75 | - * @param Iris\Transfer\Sales\Order $order |
|
| 72 | + * @param Iris\Transfer\Venture $ventureCode |
|
| 76 | 73 | * @return bool |
| 77 | 74 | * @throws Iris\Exceptions\OrderNotFound |
| 78 | 75 | * @throws Iris\Exceptions\RetryMessage |
@@ -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 |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | * |
| 11 | 11 | * @param string $orderNumber |
| 12 | 12 | * @param array $request |
| 13 | - * @return bool|\GuzzleHttp\Message\Response |
|
| 13 | + * @return \GuzzleHttp\Message\Response |
|
| 14 | 14 | */ |
| 15 | 15 | public function shippedOrder($orderNumber, array $request) |
| 16 | 16 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
| 33 | 33 | * @param string $partnerCode |
| 34 | - * @return bool|\GuzzleHttp\Message\Response |
|
| 34 | + * @return \GuzzleHttp\Message\Response |
|
| 35 | 35 | */ |
| 36 | 36 | public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode) |
| 37 | 37 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * Update products on partner |
| 53 | 53 | * |
| 54 | 54 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
| 55 | - * @return bool|\GuzzleHttp\Message\Response |
|
| 55 | + * @return \GuzzleHttp\Message\Response |
|
| 56 | 56 | */ |
| 57 | 57 | public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products) |
| 58 | 58 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * |
| 75 | 75 | * @param string $sku |
| 76 | 76 | * @param integer $quantity |
| 77 | - * @return bool |
|
| 77 | + * @return \GuzzleHttp\Message\Response |
|
| 78 | 78 | */ |
| 79 | 79 | public function updateStock($sku, $quantity) |
| 80 | 80 | { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * @param float $specialPrice |
| 100 | 100 | * @param string $specialFromDate |
| 101 | 101 | * @param string $specialToDate |
| 102 | - * @return bool |
|
| 102 | + * @return \GuzzleHttp\Message\Response |
|
| 103 | 103 | */ |
| 104 | 104 | public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate) |
| 105 | 105 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @param \Iris\Transfer\Tracking\Delivered $status |
|
| 184 | + * @param \Iris\Transfer\Tracking\DeliveredCollection $status |
|
| 185 | 185 | * @return bool |
| 186 | 186 | */ |
| 187 | 187 | public function setStatusToDelivered(\Iris\Transfer\Tracking\DeliveredCollection $status) |
@@ -222,7 +222,6 @@ discard block |
||
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | /** |
| 225 | - * @param \Iris\Transfer\Tracking\FailedDelivery $status |
|
| 226 | 225 | * @return bool |
| 227 | 226 | */ |
| 228 | 227 | public function setStatusToFailedDelivery(\Iris\Transfer\Tracking\FailedDeliveryCollection $items) |