@@ -122,8 +122,8 @@ |
||
| 122 | 122 | * Sends product creation status to venture |
| 123 | 123 | * |
| 124 | 124 | * @param array $productsData |
| 125 | - * @param string $venture |
|
| 126 | - * @return void |
|
| 125 | + * @param string $ventureCode |
|
| 126 | + * @return boolean |
|
| 127 | 127 | */ |
| 128 | 128 | public function sendProductCreationConfirmationToVenture( |
| 129 | 129 | array $productsData, |
@@ -201,6 +201,7 @@ |
||
| 201 | 201 | |
| 202 | 202 | /** |
| 203 | 203 | * {@inheritdoc} |
| 204 | + * @param string $ventureCode |
|
| 204 | 205 | */ |
| 205 | 206 | public function updateStockFromVenture(array $productsData, $ventureCode) |
| 206 | 207 | { |
@@ -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 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param \Iris\Mapping\OrderCustomer $map |
| 36 | - * @return \Iris\Mapping\Order |
|
| 36 | + * @return PostPayment |
|
| 37 | 37 | */ |
| 38 | 38 | public function setCustomerMapping(OrderCustomer $map) |
| 39 | 39 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * @param \Iris\Mapping\OrderAddress $map |
| 55 | - * @return \Iris\Mapping\Order |
|
| 55 | + * @return PostPayment |
|
| 56 | 56 | */ |
| 57 | 57 | public function setAddressMapping(OrderAddress $map) |
| 58 | 58 | { |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param \Iris\Mapping\OrderItem $map |
| 74 | - * @return \Iris\Mapping\Order |
|
| 74 | + * @return PostPayment |
|
| 75 | 75 | */ |
| 76 | 76 | public function setItemMapping(OrderItem $map) |
| 77 | 77 | { |
@@ -8,7 +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 $orderItem |
|
| 11 | + * @param \Iris\Transfer\Sales\Order\Item $orderItem |
|
| 12 | 12 | * @param array $productsData |
| 13 | 13 | * @param string $ventureCode |
| 14 | 14 | * @return void |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | ); |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * @param Iris\Transfer\Sales\Order $order |
|
| 49 | - * @param Iris\Transfer\Venture $venture |
|
| 48 | + * @param \Iris\Transfer\Sales\Order $order |
|
| 49 | + * @param \Iris\Transfer\Venture $venture |
|
| 50 | 50 | * @return bool |
| 51 | 51 | * @throws \Iris\Exceptions\OrderNotFound |
| 52 | 52 | * @throws \Iris\Exceptions\RetryMessage |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | public function confirmOrderFromVenture(array $orderData, $ventureCode); |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * @param Iris\Transfer\Sales\Order $order |
|
| 70 | - * @param Iris\Transfer\Venture $venture |
|
| 69 | + * @param \Iris\Transfer\Sales\Order $order |
|
| 70 | + * @param \Iris\Transfer\Venture $venture |
|
| 71 | 71 | * @return bool |
| 72 | 72 | * @throws \Iris\Exceptions\OrderNotFound |
| 73 | 73 | * @throws \Iris\Exceptions\RetryMessage |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | ); |
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | - * @param Iris\Transfer\Sales\Order $order |
|
| 162 | + * @param \Iris\Transfer\Sales\Order $order |
|
| 163 | 163 | * @return bool |
| 164 | 164 | */ |
| 165 | 165 | public function isInvalidOrder(\Iris\Transfer\Sales\Order $order); |
@@ -186,7 +186,6 @@ discard block |
||
| 186 | 186 | /** |
| 187 | 187 | * Handle images related to the products |
| 188 | 188 | * |
| 189 | - * @param Iris\Transfer\Catalog\Config $config |
|
| 190 | 189 | * @return void |
| 191 | 190 | */ |
| 192 | 191 | public function updateProductsFromVenture(array $productsData, $ventureCode); |
@@ -78,7 +78,6 @@ |
||
| 78 | 78 | * Send order confirmation to partner |
| 79 | 79 | * |
| 80 | 80 | * @param \Iris\Transfer\Sales\Order $order |
| 81 | - * @param string $partnerCode |
|
| 82 | 81 | * @return void |
| 83 | 82 | */ |
| 84 | 83 | public function confirmOrderOnPartner( |