@@ -8,8 +8,7 @@ discard block |
||
8 | 8 | * As a Partner I expect to receive a reserve confirmation and quantity of stock for SalesOrderItem to remove its |
9 | 9 | * reserve. |
10 | 10 | * |
11 | - * @param Iris\Transfer\Sales\Order\Item $orderNumber |
|
12 | - * @param Iris\Transfer\Catalog\Simple $product |
|
11 | + * @param \Iris\Transfer\Catalog\Simple $product |
|
13 | 12 | * @return void |
14 | 13 | * @throws Iris\Exceptions\VentureNotFound |
15 | 14 | * @throws Iris\Exceptions\OrderItemNotFound |
@@ -24,15 +23,15 @@ discard block |
||
24 | 23 | |
25 | 24 | /** |
26 | 25 | * Check if current item is from some iris venture. |
27 | - * @param Iris\Transfer\Sales\Order\Item $item |
|
26 | + * @param \Iris\Transfer\Sales\Order\Item $item |
|
28 | 27 | * @return bool |
29 | 28 | * @throws Iris\Exceptions\VentureNotFound |
30 | 29 | */ |
31 | 30 | public function isVentureItem(\Iris\Transfer\Sales\Order\Item $item); |
32 | 31 | |
33 | 32 | /** |
34 | - * @param Iris\Transfer\Sales\Order $order |
|
35 | - * @param Iris\Transfer\Venture $venture |
|
33 | + * @param \Iris\Transfer\Sales\Order $order |
|
34 | + * @param \Iris\Transfer\Venture $venture |
|
36 | 35 | * @return bool |
37 | 36 | * @throws Iris\Exceptions\OrderNotFound |
38 | 37 | * @throws Iris\Exceptions\RetryMessage |
@@ -43,8 +42,8 @@ discard block |
||
43 | 42 | ); |
44 | 43 | |
45 | 44 | /** |
46 | - * @param Iris\Transfer\Sales\Order $order |
|
47 | - * @param Iris\Transfer\Venture $venture |
|
45 | + * @param \Iris\Transfer\Sales\Order $order |
|
46 | + * @param \Iris\Transfer\Venture $venture |
|
48 | 47 | * @return bool |
49 | 48 | * @throws Iris\Exceptions\OrderNotFound |
50 | 49 | * @throws Iris\Exceptions\RetryMessage |
@@ -55,8 +54,8 @@ discard block |
||
55 | 54 | ); |
56 | 55 | |
57 | 56 | /** |
58 | - * @param Iris\Transfer\Sales\Order $order |
|
59 | - * @param Iris\Transfer\Venture $venture |
|
57 | + * @param \Iris\Transfer\Sales\Order $order |
|
58 | + * @param \Iris\Transfer\Venture $venture |
|
60 | 59 | * @return bool |
61 | 60 | * @throws Iris\Exceptions\OrderNotFound |
62 | 61 | * @throws Iris\Exceptions\RetryMessage |
@@ -75,7 +74,7 @@ discard block |
||
75 | 74 | |
76 | 75 | /** |
77 | 76 | * As a Partner I expect to receive a shipped notification from Venture. |
78 | - * @param array $order |
|
77 | + * @param array $orderData |
|
79 | 78 | * @return array Returns an array as: |
80 | 79 | * |
81 | 80 | * [ |
@@ -97,8 +96,7 @@ discard block |
||
97 | 96 | |
98 | 97 | /** |
99 | 98 | * As a Partner I expect to receive a delivered notification from Venture. |
100 | - * @param \Iris\Transfer\Sales\Order $order |
|
101 | - * @param \Iris\Transfer\Venture $venture |
|
99 | + * @param \Iris\Transfer\Sales\Order $orderData |
|
102 | 100 | * @return array Returns an array as: |
103 | 101 | * |
104 | 102 | * [ |
@@ -120,8 +118,7 @@ discard block |
||
120 | 118 | |
121 | 119 | /** |
122 | 120 | * As a Partner I expect to receive a delivery failed notification from Venture. |
123 | - * @param Iris\Transfer\Sales\Order $order |
|
124 | - * @param Iris\Transfer\Venture $venture |
|
121 | + * @param Iris\Transfer\Sales\Order $orderData |
|
125 | 122 | * @return array Returns an array as: |
126 | 123 | * |
127 | 124 | * [ |
@@ -143,22 +140,21 @@ discard block |
||
143 | 140 | |
144 | 141 | /** |
145 | 142 | * As a Partner I expect to receive the NFe Key and the Tracking URL from Venture. |
146 | - * @param Iris\Transfer\Sales\Order $order |
|
143 | + * @param \Iris\Transfer\Sales\Order $order |
|
147 | 144 | * @param string $originCode |
148 | 145 | * @return void |
149 | 146 | */ |
150 | 147 | public function setNfeKeyAndTrackingUrl(\Iris\Transfer\Sales\Order $order, $originCode); |
151 | 148 | |
152 | 149 | /** |
153 | - * @param Iris\Transfer\Sales\Order $order |
|
150 | + * @param \Iris\Transfer\Sales\Order $order |
|
154 | 151 | * @return bool |
155 | 152 | */ |
156 | 153 | public function isInvalidOrder(\Iris\Transfer\Sales\Order $order); |
157 | 154 | |
158 | 155 | /** |
159 | 156 | * As a Partner I want to receive a Venture Order Number to bind it with my Order Number. |
160 | - * @param string $orderNumber Order number. |
|
161 | - * @param string $ventureCode Venture code |
|
157 | + * @param string $venture Venture code |
|
162 | 158 | * @param string $ventureOrderNumber Venture Order Number |
163 | 159 | * @return void |
164 | 160 | */ |
@@ -167,7 +163,7 @@ discard block |
||
167 | 163 | /** |
168 | 164 | * Create products from venture |
169 | 165 | * |
170 | - * @param array $productsData |
|
166 | + * @param array $products |
|
171 | 167 | * @param string $ventureCode |
172 | 168 | * @return void |
173 | 169 | */ |
@@ -176,8 +172,8 @@ discard block |
||
176 | 172 | /** |
177 | 173 | * Update products from |
178 | 174 | * |
179 | - * @param Iris\Transfer\Catalog\ConfigCollection $products |
|
180 | - * @param Iris\Transfer\Venture $venture |
|
175 | + * @param \Iris\Transfer\Catalog\ConfigCollection $products |
|
176 | + * @param \Iris\Transfer\Venture $venture |
|
181 | 177 | * @return void |
182 | 178 | */ |
183 | 179 | public function updateProductsFromVenture( |
@@ -188,8 +184,7 @@ discard block |
||
188 | 184 | /** |
189 | 185 | * Handle images related to the products |
190 | 186 | * |
191 | - * @param Iris\Transfer\Catalog\Config $config |
|
192 | - * @param Iris\Transfer\Catalog\ImageCollection $images |
|
187 | + * @param \Iris\Transfer\Catalog\Config $config |
|
193 | 188 | * @return void |
194 | 189 | */ |
195 | 190 | public function handleImages(\Iris\Transfer\Catalog\Config $config); |
@@ -206,7 +201,7 @@ discard block |
||
206 | 201 | /** |
207 | 202 | * Update the stock from a product |
208 | 203 | * |
209 | - * @param array $productsData |
|
204 | + * @param array $productData |
|
210 | 205 | * @param string $ventureCode |
211 | 206 | * @return bool |
212 | 207 | */ |
@@ -121,9 +121,8 @@ |
||
121 | 121 | /** |
122 | 122 | * Sends product creation status to venture |
123 | 123 | * |
124 | - * @param \Iris\Transfer\Catalog\ConfigCollection $configCollection |
|
125 | 124 | * @param string $ventureCode |
126 | - * @return void |
|
125 | + * @return boolean |
|
127 | 126 | */ |
128 | 127 | public function sendProductCreationConfirmationToVenture( |
129 | 128 | array $productsData, |
@@ -96,6 +96,7 @@ |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * {@inheritdoc} |
99 | + * @param \Iris\Transfer\Sales\Order $internalData |
|
99 | 100 | */ |
100 | 101 | public function map($internalData) |
101 | 102 | { |