@@ -22,9 +22,7 @@ |
||
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 24 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\TIdentity; |
| 25 | -use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TDestinationTarget; |
|
| 26 | 25 | use Psr\Log\LoggerInterface; |
| 27 | -use Psr\Log\NullLogger; |
|
| 28 | 26 | |
| 29 | 27 | class ShipGroup implements IShipGroup |
| 30 | 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 | |
@@ -63,6 +63,7 @@ |
||
| 63 | 63 | * Build a new IPayload for the given interface. |
| 64 | 64 | * |
| 65 | 65 | * @param string |
| 66 | + * @param string $interface |
|
| 66 | 67 | * @return IPayload |
| 67 | 68 | */ |
| 68 | 69 | protected function buildPayloadForInterface($interface) |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
| 24 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 25 | 25 | use Psr\Log\LoggerInterface; |
| 26 | -use Psr\Log\NullLogger; |
|
| 27 | 26 | |
| 28 | 27 | class TaxedPriceGroup implements ITaxedPriceGroup |
| 29 | 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-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 | |
@@ -57,6 +57,9 @@ |
||
| 57 | 57 | return $this; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | + /** |
|
| 61 | + * @return null|DateTime |
|
| 62 | + */ |
|
| 60 | 63 | public function getDateOfBirth() |
| 61 | 64 | { |
| 62 | 65 | return $this->dateOfBirth; |
@@ -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 | |
@@ -122,6 +122,9 @@ |
||
| 122 | 122 | return $this->estimatedShipDate; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | + /** |
|
| 126 | + * @param DateTime $date |
|
| 127 | + */ |
|
| 125 | 128 | public function setEstimatedShipDate($date) |
| 126 | 129 | { |
| 127 | 130 | $this->estimatedShipDate = |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
| 24 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 25 | 25 | use Psr\Log\LoggerInterface; |
| 26 | -use Psr\Log\NullLogger; |
|
| 27 | 26 | |
| 28 | 27 | class TaxedPriceGroup implements ITaxedPriceGroup |
| 29 | 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-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 | |
@@ -113,6 +113,6 @@ |
||
| 113 | 113 | */ |
| 114 | 114 | protected function getRootAttributes() |
| 115 | 115 | { |
| 116 | - return []; |
|
| 116 | + return [ ]; |
|
| 117 | 117 | } |
| 118 | 118 | } |
@@ -15,16 +15,13 @@ |
||
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents; |
| 17 | 17 | |
| 18 | -use DOMXPath; |
|
| 19 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
| 20 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
| 21 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
| 22 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 23 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 24 | -use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
|
| 25 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
| 26 | 24 | use Psr\Log\LoggerInterface; |
| 27 | -use Psr\Log\NullLogger; |
|
| 28 | 25 | |
| 29 | 26 | class OrderBackorder implements IOrderBackorder |
| 30 | 27 | { |
@@ -15,7 +15,6 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents; |
| 17 | 17 | |
| 18 | -use DOMXPath; |
|
| 19 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
| 20 | 19 | use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
| 21 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
@@ -24,7 +23,6 @@ discard block |
||
| 24 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
| 25 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
| 26 | 25 | use Psr\Log\LoggerInterface; |
| 27 | -use Psr\Log\NullLogger; |
|
| 28 | 26 | |
| 29 | 27 | class OrderPriceAdjustment implements IOrderPriceAdjustment |
| 30 | 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-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 | |
@@ -20,10 +20,8 @@ |
||
| 20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 23 | -use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
|
| 24 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload; |
| 25 | 24 | use Psr\Log\LoggerInterface; |
| 26 | -use Psr\Log\NullLogger; |
|
| 27 | 25 | |
| 28 | 26 | class OrderReturnInTransit implements IOrderReturnInTransit |
| 29 | 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-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 | |
@@ -15,11 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents; |
| 17 | 17 | |
| 18 | -use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
|
| 19 | -use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap; |
|
| 20 | -use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator; |
|
| 21 | -use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
|
| 22 | -use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
|
| 23 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\Order\StoreFrontDetails as OrderStoreFrontDetails; |
| 24 | 19 | |
| 25 | 20 | class StoreFrontDetails extends OrderStoreFrontDetails implements IStoreFrontDetails |
@@ -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 | |
@@ -88,6 +88,7 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * @param string name of element containing the amount |
| 90 | 90 | * @param mixed amount to serialize |
| 91 | + * @param string $elementName |
|
| 91 | 92 | * @return string |
| 92 | 93 | */ |
| 93 | 94 | abstract protected function serializeAmount($elementName, $amount); |