@@ -22,7 +22,6 @@ |
||
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload; |
24 | 24 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 25 | use SPLObjectStorage; |
27 | 26 | |
28 | 27 | class OrderSummaryIterable extends SPLObjectStorage implements IOrderSummaryIterable |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Customer; |
17 | 17 |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
24 | 24 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 25 | |
27 | 26 | class OrderSummaryRequest implements IOrderSummaryRequest |
28 | 27 | { |
@@ -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-2015 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-2015 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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Customer; |
17 | 17 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $this->schemaValidator = $schemaValidator; |
52 | 52 | $this->parentPayload = $parentPayload; |
53 | 53 | $this->payloadMap = $payloadMap; |
54 | - $this->payloadFactory = new PayloadFactory(); |
|
54 | + $this->payloadFactory = new PayloadFactory(); |
|
55 | 55 | $this->setOrderSearch($this->buildPayloadForInterface( |
56 | 56 | static::ORDER_SEARCH_INTERFACE |
57 | 57 | )); |
@@ -123,6 +123,6 @@ discard block |
||
123 | 123 | */ |
124 | 124 | protected function getRootAttributes() |
125 | 125 | { |
126 | - return ['xmlns' => $this->getXmlNamespace()]; |
|
126 | + return [ 'xmlns' => $this->getXmlNamespace() ]; |
|
127 | 127 | } |
128 | 128 | } |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
24 | 24 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 25 | |
27 | 26 | class OrderSummaryResponse implements IOrderSummaryResponse |
28 | 27 | { |
@@ -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-2015 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-2015 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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Customer; |
17 | 17 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $this->schemaValidator = $schemaValidator; |
52 | 52 | $this->parentPayload = $parentPayload; |
53 | 53 | $this->payloadMap = $payloadMap; |
54 | - $this->payloadFactory = new PayloadFactory(); |
|
54 | + $this->payloadFactory = new PayloadFactory(); |
|
55 | 55 | $this->setOrderSummaries($this->buildPayloadForInterface( |
56 | 56 | static::ORDER_SUMMARY_ITERABLE_INTERFACE |
57 | 57 | )); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | */ |
120 | 120 | protected function getRootAttributes() |
121 | 121 | { |
122 | - return ['xmlns' => $this->getXmlNamespace()]; |
|
122 | + return [ 'xmlns' => $this->getXmlNamespace() ]; |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
@@ -118,7 +118,7 @@ |
||
118 | 118 | /** |
119 | 119 | * @see eBayEnterprise\RetailOrderManagement\Payload\TPayload::getXmlNamespace |
120 | 120 | * @param string |
121 | - * @return self |
|
121 | + * @return string |
|
122 | 122 | */ |
123 | 123 | protected function getXmlNamespace() |
124 | 124 | { |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
24 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
25 | 24 | use Psr\Log\LoggerInterface; |
26 | 25 | |
27 | 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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |
@@ -103,7 +103,7 @@ |
||
103 | 103 | */ |
104 | 104 | protected function getRootAttributes() |
105 | 105 | { |
106 | - return ['lineId' => $this->getId(), 'itemId' => $this->getItemId()]; |
|
106 | + return [ 'lineId' => $this->getId(), 'itemId' => $this->getItemId() ]; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -15,13 +15,11 @@ |
||
15 | 15 | |
16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 | |
18 | -use eBayEnterprise\RetailOrderManagement\Payload\IIterablePayload; |
|
19 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload; |
20 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
21 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
22 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
24 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
25 | 23 | use Psr\Log\LoggerInterface; |
26 | 24 | |
27 | 25 | /** |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
24 | 23 | use Psr\Log\LoggerInterface; |
25 | 24 |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |
@@ -123,9 +123,9 @@ |
||
123 | 123 | */ |
124 | 124 | protected function getRootAttributes() |
125 | 125 | { |
126 | - $attrs = ['xmlns' => $this->getXmlNamespace()]; |
|
126 | + $attrs = [ 'xmlns' => $this->getXmlNamespace() ]; |
|
127 | 127 | if ($this->getReservationId()) { |
128 | - $attrs['reservationId'] = $this->cleanString($this->getReservationId(), 40); |
|
128 | + $attrs[ 'reservationId' ] = $this->cleanString($this->getReservationId(), 40); |
|
129 | 129 | } |
130 | 130 | return $attrs; |
131 | 131 | } |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
24 | 23 | use Psr\Log\LoggerInterface; |
25 | 24 |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
24 | 23 | use Psr\Log\LoggerInterface; |
25 | 24 |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
24 | 23 | use Psr\Log\LoggerInterface; |
25 | 24 |
@@ -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 | namespace eBayEnterprise\RetailOrderManagement\Payload\Inventory; |
17 | 17 |