@@ -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\TPayload; |
|
23 | 22 | use Psr\Log\LoggerInterface; |
24 | 23 | |
25 | 24 | class RequestQuantityItem extends QuantityItem implements IRequestQuantityItem |
@@ -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; |
17 | 17 |
@@ -30,7 +30,6 @@ |
||
30 | 30 | protected $logger; |
31 | 31 | |
32 | 32 | /** |
33 | - * @param IConfig $config |
|
34 | 33 | * @param IPayloadFactory $payloadFactory |
35 | 34 | * @param array $messageMapping key/value pairs of config key => payload type |
36 | 35 | */ |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param IPayloadFactory $payloadFactory |
35 | 35 | * @param array $messageMapping key/value pairs of config key => payload type |
36 | 36 | */ |
37 | - public function __construct(IPayloadFactory $payloadFactory = null, array $messageMapping = [], LoggerInterface $logger = null) |
|
37 | + public function __construct(IPayloadFactory $payloadFactory = null, array $messageMapping = [ ], LoggerInterface $logger = null) |
|
38 | 38 | { |
39 | 39 | $this->logger = $logger ?: new NullLogger(); |
40 | 40 | $this->payloadFactory = $payloadFactory ?: new PayloadFactory(); |
@@ -43,8 +43,8 @@ discard block |
||
43 | 43 | |
44 | 44 | public function messagePayload($type) |
45 | 45 | { |
46 | - if (isset($this->messageTypeMap[$type])) { |
|
47 | - return $this->payloadFactory->buildPayload($this->messageTypeMap[$type], null, null, $this->logger); |
|
46 | + if (isset($this->messageTypeMap[ $type ])) { |
|
47 | + return $this->payloadFactory->buildPayload($this->messageTypeMap[ $type ], null, null, $this->logger); |
|
48 | 48 | } |
49 | 49 | throw new UnsupportedPayload("No payload found for '$type'"); |
50 | 50 | } |
@@ -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; |
17 | 17 |
@@ -408,6 +408,8 @@ discard block |
||
408 | 408 | * |
409 | 409 | * @param string |
410 | 410 | * @param mixed |
411 | + * @param string $nodeName |
|
412 | + * @param double $value |
|
411 | 413 | * @return string | null |
412 | 414 | */ |
413 | 415 | protected function serializeOptionalNumericValue($nodeName, $value) |
@@ -421,6 +423,9 @@ discard block |
||
421 | 423 | * @param string |
422 | 424 | * @param string |
423 | 425 | * @param string |
426 | + * @param string $nodeName |
|
427 | + * @param string $value |
|
428 | + * @param string $description |
|
424 | 429 | * @return string | null |
425 | 430 | */ |
426 | 431 | protected function serializeLineStatusValue($nodeName, $value, $description) |
@@ -20,9 +20,7 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | 23 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 24 | |
27 | 25 | class TaxHeader implements ITaxHeader |
28 | 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-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\Validator\Order; |
17 | 17 |
@@ -16,18 +16,12 @@ |
||
16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail; |
17 | 17 | |
18 | 18 | use DateTime; |
19 | -use DOMXPath; |
|
20 | -use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
|
21 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
22 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
23 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
24 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
25 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
26 | -use eBayEnterprise\RetailOrderManagement\Payload\TIdentity; |
|
27 | -use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
|
28 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Order\OrderItem; |
29 | 24 | use Psr\Log\LoggerInterface; |
30 | -use Psr\Log\NullLogger; |
|
31 | 25 | |
32 | 26 | class OrderDetailItem extends OrderItem implements IOrderDetailItem |
33 | 27 | { |
@@ -418,10 +418,10 @@ |
||
418 | 418 | $derivedFromOrderHeaderKey = $this->getDerivedFromOrderHeaderKey(); |
419 | 419 | return array_merge( |
420 | 420 | parent::getRootAttributes(), |
421 | - !empty($hasChainedLines) ? ['hasChainedLines' => $hasChainedLines] : [], |
|
422 | - !empty($hasDerivedChild) ? ['hasDerivedChild' => $hasDerivedChild] : [], |
|
423 | - $chainedFromOrderHeaderKey ? ['chainedFromOrderHeaderKey' => $chainedFromOrderHeaderKey] : [], |
|
424 | - $derivedFromOrderHeaderKey ? ['derivedFromOrderHeaderKey' => $derivedFromOrderHeaderKey] : [] |
|
421 | + !empty($hasChainedLines) ? [ 'hasChainedLines' => $hasChainedLines ] : [ ], |
|
422 | + !empty($hasDerivedChild) ? [ 'hasDerivedChild' => $hasDerivedChild ] : [ ], |
|
423 | + $chainedFromOrderHeaderKey ? [ 'chainedFromOrderHeaderKey' => $chainedFromOrderHeaderKey ] : [ ], |
|
424 | + $derivedFromOrderHeaderKey ? [ 'derivedFromOrderHeaderKey' => $derivedFromOrderHeaderKey ] : [ ] |
|
425 | 425 | ); |
426 | 426 | } |
427 | 427 |
@@ -226,6 +226,8 @@ |
||
226 | 226 | * |
227 | 227 | * @param string |
228 | 228 | * @param string |
229 | + * @param string $nodeName |
|
230 | + * @param string $value |
|
229 | 231 | * @return string |
230 | 232 | */ |
231 | 233 | protected function serializeItemValue($nodeName, $value) |
@@ -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; |
17 | 17 |
@@ -205,6 +205,7 @@ |
||
205 | 205 | * |
206 | 206 | * @param string |
207 | 207 | * @param string |
208 | + * @param string $nodeName |
|
208 | 209 | * @return string | null |
209 | 210 | */ |
210 | 211 | protected function serializeBillingAddressValue($nodeName) |
@@ -20,9 +20,7 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | 23 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 24 | |
27 | 25 | class TaxHeader implements ITaxHeader |
28 | 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-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\Validator\Order; |
17 | 17 |
@@ -20,13 +20,9 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\IShipGroupIterable; |
|
25 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\IDestinationIterable; |
|
26 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Order\TShipGroupContainer; |
27 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TDestinationContainer; |
28 | 25 | use Psr\Log\LoggerInterface; |
29 | -use Psr\Log\NullLogger; |
|
30 | 26 | |
31 | 27 | class OrderDetailShipping implements IOrderDetailShipping |
32 | 28 | { |
@@ -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\Validator\Order; |
17 | 17 |
@@ -671,6 +671,8 @@ discard block |
||
671 | 671 | * |
672 | 672 | * @param string |
673 | 673 | * @param string |
674 | + * @param string $nodeName |
|
675 | + * @param string $value |
|
674 | 676 | * @return string | null |
675 | 677 | */ |
676 | 678 | protected function serializeOrderHistoryUrlValue($nodeName, $value) |
@@ -718,6 +720,8 @@ discard block |
||
718 | 720 | * |
719 | 721 | * @param string |
720 | 722 | * @param string |
723 | + * @param string $nodeName |
|
724 | + * @param string $value |
|
721 | 725 | * @return string | null |
722 | 726 | */ |
723 | 727 | protected function serializeOrderSourceValue($nodeName, $value) |
@@ -732,6 +736,8 @@ discard block |
||
732 | 736 | * |
733 | 737 | * @param string |
734 | 738 | * @param string |
739 | + * @param string $nodeName |
|
740 | + * @param string $value |
|
735 | 741 | * @return string | null |
736 | 742 | */ |
737 | 743 | protected function serializeSourceIdValue($nodeName, $value) |
@@ -20,14 +20,11 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\TOrderItemContainer; |
|
25 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Order\TFeeContainer; |
26 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\Order\TItemRelationshipContainer; |
27 | 25 | use eBayEnterprise\RetailOrderManagement\Payload\Order\TCustomAttributeContainer; |
28 | 26 | use eBayEnterprise\RetailOrderManagement\Payload\Order\TTemplateContainer; |
29 | 27 | use Psr\Log\LoggerInterface; |
30 | -use Psr\Log\NullLogger; |
|
31 | 28 | use DateTime; |
32 | 29 | |
33 | 30 | class OrderResponse implements IOrderResponse |
@@ -706,10 +706,10 @@ |
||
706 | 706 | $hasChainedLines = $this->getHasChainedLines(); |
707 | 707 | $hasDerivedChild = $this->getHasDerivedChild(); |
708 | 708 | return array_merge( |
709 | - $customerOrderId ? ['customerOrderId' => $customerOrderId] : [], |
|
710 | - $levelOfService ? ['levelOfService' => $levelOfService] : [], |
|
711 | - !empty($hasChainedLines) ? ['hasChainedLines' => $hasChainedLines] : [], |
|
712 | - !empty($hasDerivedChild) ? ['hasDerivedChild' => $hasDerivedChild] : [] |
|
709 | + $customerOrderId ? [ 'customerOrderId' => $customerOrderId ] : [ ], |
|
710 | + $levelOfService ? [ 'levelOfService' => $levelOfService ] : [ ], |
|
711 | + !empty($hasChainedLines) ? [ 'hasChainedLines' => $hasChainedLines ] : [ ], |
|
712 | + !empty($hasDerivedChild) ? [ 'hasDerivedChild' => $hasDerivedChild ] : [ ] |
|
713 | 713 | ); |
714 | 714 | } |
715 | 715 |
@@ -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\Validator\Order; |
17 | 17 |
@@ -226,6 +226,8 @@ |
||
226 | 226 | * |
227 | 227 | * @param string |
228 | 228 | * @param string |
229 | + * @param string $nodeName |
|
230 | + * @param string $value |
|
229 | 231 | * @return string |
230 | 232 | */ |
231 | 233 | protected function serializeItemValue($nodeName, $value) |
@@ -20,9 +20,7 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | 23 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 24 | |
27 | 25 | class TaxHeader implements ITaxHeader |
28 | 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-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\Validator\Order; |
17 | 17 |
@@ -20,9 +20,7 @@ |
||
20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
23 | -use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
|
24 | 23 | use Psr\Log\LoggerInterface; |
25 | -use Psr\Log\NullLogger; |
|
26 | 24 | |
27 | 25 | class TaxHeader implements ITaxHeader |
28 | 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-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\Validator\Order; |
17 | 17 |