@@ -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 \Iris\Transfer\Catalog\ConfigCollection $products |
12 | 12 | * @param string $partnerCode |
13 | - * @return bool|\GuzzleHttp\Message\Response |
|
13 | + * @return \GuzzleHttp\Message\Response |
|
14 | 14 | */ |
15 | 15 | public function createProducts(\Iris\Transfer\Catalog\ConfigCollection $products, $partnerCode) |
16 | 16 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * Update products on partner |
32 | 32 | * |
33 | 33 | * @param \Iris\Transfer\Catalog\ConfigCollection $products |
34 | - * @return bool|\GuzzleHttp\Message\Response |
|
34 | + * @return \GuzzleHttp\Message\Response |
|
35 | 35 | */ |
36 | 36 | public function updateProducts(\Iris\Transfer\Catalog\ConfigCollection $products) |
37 | 37 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $sku |
55 | 55 | * @param integer $quantity |
56 | - * @return bool |
|
56 | + * @return \GuzzleHttp\Message\Response |
|
57 | 57 | */ |
58 | 58 | public function updateStock($sku, $quantity) |
59 | 59 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * @param float $specialPrice |
79 | 79 | * @param string $specialFromDate |
80 | 80 | * @param string $specialToDate |
81 | - * @return bool |
|
81 | + * @return \GuzzleHttp\Message\Response |
|
82 | 82 | */ |
83 | 83 | public function updatePrice($sku, $price, $specialPrice, $specialFromDate, $specialToDate) |
84 | 84 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * @param \Iris\Transfer\Tracking\ShippedCollection $items |
115 | - * @return bool |
|
115 | + * @return \GuzzleHttp\Message\Response |
|
116 | 116 | */ |
117 | 117 | public function setStatusToShipped(\Iris\Transfer\Tracking\ShippedCollection $items) |
118 | 118 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | |
161 | 161 | /** |
162 | 162 | * @param \Iris\Transfer\Tracking\DeliveredCollection $items |
163 | - * @return bool |
|
163 | + * @return \GuzzleHttp\Message\Response |
|
164 | 164 | */ |
165 | 165 | public function setStatusToDelivered(\Iris\Transfer\Tracking\DeliveredCollection $items) |
166 | 166 | { |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | /** |
202 | 202 | * @param \Iris\Transfer\Tracking\FailedDeliveryCollection $items |
203 | - * @return bool |
|
203 | + * @return \GuzzleHttp\Message\Response |
|
204 | 204 | */ |
205 | 205 | public function setStatusToFailedDelivery(\Iris\Transfer\Tracking\FailedDeliveryCollection $items) |
206 | 206 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Iris\SaleWrapper; |
4 | 4 | |
5 | -use Iris\Exceptions\InvalidTransfer; |
|
6 | - |
|
7 | 5 | class Venture extends Base implements VentureInterface |
8 | 6 | { |
9 | 7 | /** |