@@ -48,7 +48,8 @@ |
||
48 | 48 | * @param string |
49 | 49 | * @param array |
50 | 50 | * @param mixed |
51 | - * @return mixed |
|
51 | + * @param string $key |
|
52 | + * @return EbayEnterprise_Inventory_Helper_Data |
|
52 | 53 | */ |
53 | 54 | protected function nullCoalesce(array $arr, $key, $default) |
54 | 55 | { |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IQuantityItem; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IRequestQuantityItem; |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * Make a quantity service request for the items. |
51 | 51 | * |
52 | 52 | * @param Mage_Sales_Model_Quote_Item_Abstract[] |
53 | - * @return EbayEnterprise_Inventory_Model_Quantity_Results |
|
53 | + * @return null|EbayEnterprise_Inventory_Model_Quantity_IResults |
|
54 | 54 | */ |
55 | 55 | public function requestQuantityForItems(array $items) |
56 | 56 | { |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
@@ -68,6 +68,7 @@ discard block |
||
68 | 68 | * @param string |
69 | 69 | * @param array |
70 | 70 | * @param mixed |
71 | + * @param string $key |
|
71 | 72 | * @return mixed |
72 | 73 | */ |
73 | 74 | protected function nullCoalesce($key, array $arr, $default) |
@@ -306,6 +307,7 @@ discard block |
||
306 | 307 | * |
307 | 308 | * @param Reservation |
308 | 309 | * @param array |
310 | + * @param EbayEnterprise_Inventory_Model_Allocation_Reservation $reservation |
|
309 | 311 | * @return |
310 | 312 | */ |
311 | 313 | protected function createResult($reservation, array $allocations = []) |
@@ -323,7 +325,7 @@ discard block |
||
323 | 325 | * wrap the allocation model factory method in an anonymous function |
324 | 326 | * to allow public invocation. |
325 | 327 | * |
326 | - * @return callable |
|
328 | + * @return Closure |
|
327 | 329 | */ |
328 | 330 | protected function createAllocationFactoryCallback() |
329 | 331 | { |
@@ -13,14 +13,14 @@ |
||
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | 15 | |
16 | -use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | +use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
21 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationReply; |
22 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationRequest; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
24 | 24 | |
25 | 25 | class EbayEnterprise_Inventory_Model_Allocation_Allocator |
26 | 26 | { |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
@@ -327,7 +327,7 @@ |
||
327 | 327 | */ |
328 | 328 | protected function createAllocationFactoryCallback() |
329 | 329 | { |
330 | - return function ($payload) { |
|
330 | + return function($payload) { |
|
331 | 331 | return $this->createAllocationFromPayload($payload); |
332 | 332 | }; |
333 | 333 | } |
@@ -69,6 +69,7 @@ |
||
69 | 69 | * @param string |
70 | 70 | * @param array |
71 | 71 | * @param mixed |
72 | + * @param string $key |
|
72 | 73 | * @return mixed |
73 | 74 | */ |
74 | 75 | protected function nullCoalesce($key, array $arr, $default) |
@@ -13,8 +13,6 @@ |
||
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | 15 | |
16 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem; |
|
17 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem; |
|
18 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationRequest; |
19 | 17 | |
20 | 18 | class EbayEnterprise_Inventory_Model_Allocation_Creator_Request_Builder extends |
@@ -1,24 +1,24 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem; |
18 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationRequest; |
19 | 19 | |
20 | 20 | class EbayEnterprise_Inventory_Model_Allocation_Creator_Request_Builder extends |
21 | - EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract |
|
21 | + EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract |
|
22 | 22 | { |
23 | 23 | /** @var IAllocationRequest */ |
24 | 24 | protected $request; |
@@ -64,6 +64,7 @@ |
||
64 | 64 | * @param string |
65 | 65 | * @param array |
66 | 66 | * @param mixed |
67 | + * @param string $key |
|
67 | 68 | * @return mixed |
68 | 69 | */ |
69 | 70 | protected function nullCoalesce($key, array $arr, $default) |
@@ -13,10 +13,10 @@ |
||
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | 15 | |
16 | -use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | 21 | |
22 | 22 | class EbayEnterprise_Inventory_Model_Allocation_Deallocator |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
@@ -37,6 +37,7 @@ |
||
37 | 37 | * @param array |
38 | 38 | * @param string |
39 | 39 | * @param mixed |
40 | + * @param string $key |
|
40 | 41 | * @return mixed |
41 | 42 | */ |
42 | 43 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -88,7 +88,7 @@ |
||
88 | 88 | |
89 | 89 | protected function getAddressItemFactoryCallback(Mage_Customer_Model_Address_Abstract $address) |
90 | 90 | { |
91 | - return function (Mage_Sales_Model_Quote_Item_Abstract $item) use ($address) { |
|
91 | + return function(Mage_Sales_Model_Quote_Item_Abstract $item) use ($address) { |
|
92 | 92 | return [$address, $item]; |
93 | 93 | }; |
94 | 94 | } |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * get all allocations |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return EbayEnterprise_Inventory_Model_Allocation[] |
|
83 | 83 | */ |
84 | 84 | public function getAllocations() |
85 | 85 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * get the reservation the results are for |
91 | 91 | * |
92 | - * @return EbayEnterprise_Inventory_Allocation_Reservation |
|
92 | + * @return EbayEnterprise_Inventory_Model_Allocation_Reservation |
|
93 | 93 | */ |
94 | 94 | public function getReservation() |
95 | 95 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * the callback used to create an allocation object. |
112 | 112 | * |
113 | - * @return callable |
|
113 | + * @return Closure |
|
114 | 114 | */ |
115 | 115 | protected function getAllocationFactoryCallback() |
116 | 116 | { |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * container for item allocation results |
@@ -114,7 +114,7 @@ |
||
114 | 114 | */ |
115 | 115 | protected function getAllocationFactoryCallback() |
116 | 116 | { |
117 | - return function (array $allocationData) { |
|
117 | + return function(array $allocationData) { |
|
118 | 118 | return $this->createAllocation($allocationData); |
119 | 119 | }; |
120 | 120 | } |
@@ -62,6 +62,7 @@ |
||
62 | 62 | * @param string |
63 | 63 | * @param array |
64 | 64 | * @param mixed |
65 | + * @param string $key |
|
65 | 66 | * @return mixed |
66 | 67 | */ |
67 | 68 | protected function nullCoalesce(array $arr, $key, $default) |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | class EbayEnterprise_Inventory_Model_Allocation_Service |
17 | 17 | { |
@@ -139,6 +139,7 @@ |
||
139 | 139 | * @param string |
140 | 140 | * @param array |
141 | 141 | * @param mixed |
142 | + * @param string $key |
|
142 | 143 | * @return mixed |
143 | 144 | */ |
144 | 145 | protected function nullCoalesce($key, array $arr, $default) |
@@ -13,10 +13,10 @@ |
||
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | 15 | |
16 | -use eBayEnterprise\RetailOrderManagement\Api\HttpApi; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
19 | +use eBayEnterprise\RetailOrderManagement\Api\HttpApi; |
|
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
21 | 21 | |
22 | 22 | class EbayEnterprise_Inventory_Model_Details |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | - * |
|
5 | - * NOTICE OF LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | - * that is bundled with this package in the file LICENSE.md. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://opensource.org/licenses/osl-3.0.php |
|
11 | - * |
|
12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | - */ |
|
3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
4 | + * |
|
5 | + * NOTICE OF LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
8 | + * that is bundled with this package in the file LICENSE.md. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://opensource.org/licenses/osl-3.0.php |
|
11 | + * |
|
12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | use eBayEnterprise\RetailOrderManagement\Api\HttpApi; |
17 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |