@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return \Requests_Response |
|
| 138 | + * @return boolean |
|
| 139 | 139 | * @throws \Requests_Exception |
| 140 | 140 | */ |
| 141 | 141 | protected function post() |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @return \Requests_Response |
|
| 175 | + * @return boolean |
|
| 176 | 176 | * @throws \Requests_Exception |
| 177 | 177 | */ |
| 178 | 178 | protected function get() |
@@ -204,6 +204,9 @@ discard block |
||
| 204 | 204 | * @param string |
| 205 | 205 | * @param string |
| 206 | 206 | * @param string |
| 207 | + * @param string $xmlPayload |
|
| 208 | + * @param string $logMessage |
|
| 209 | + * @param string $key |
|
| 207 | 210 | * @return self |
| 208 | 211 | */ |
| 209 | 212 | protected function logPayloadMessage($xmlPayload, $logMessage, $key) |
@@ -187,8 +187,8 @@ |
||
| 187 | 187 | protected function getRequestUrlLogData() |
| 188 | 188 | { |
| 189 | 189 | $context = $this->getContext(); |
| 190 | - $logData = ['rom_request_url' => $this->config->getEndpoint()]; |
|
| 191 | - return $context ? $context->getMetaData(__CLASS__, $logData) : []; |
|
| 190 | + $logData = [ 'rom_request_url' => $this->config->getEndpoint() ]; |
|
| 191 | + return $context ? $context->getMetaData(__CLASS__, $logData) : [ ]; |
|
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | protected function logRequestUrl() |
@@ -15,9 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Api; |
| 17 | 17 | |
| 18 | -use Psr\Log\LoggerInterface; |
|
| 19 | -use Psr\Log\NullLogger; |
|
| 20 | - |
|
| 21 | 18 | /** |
| 22 | 19 | * Common logger utility methods. |
| 23 | 20 | * |
@@ -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 | |
@@ -432,6 +432,8 @@ discard block |
||
| 432 | 432 | |
| 433 | 433 | /** |
| 434 | 434 | * Serialize the chain order node. |
| 435 | + * @param string $node |
|
| 436 | + * @param string|null $value |
|
| 435 | 437 | * @return string | null |
| 436 | 438 | */ |
| 437 | 439 | protected function serializeChainedOrder($node, $value) |
@@ -445,6 +447,8 @@ discard block |
||
| 445 | 447 | |
| 446 | 448 | /** |
| 447 | 449 | * Serialize the derived order node. |
| 450 | + * @param string $node |
|
| 451 | + * @param string|null $value |
|
| 448 | 452 | * @return string | null |
| 449 | 453 | */ |
| 450 | 454 | protected function serializeDerivedOrder($node, $value) |
@@ -1,17 +1,17 @@ discard block |
||
| 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 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | return $this; |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | - /** |
|
| 165 | + /** |
|
| 166 | 166 | * @see IOrderSummary::getTestType() |
| 167 | 167 | */ |
| 168 | 168 | public function getTestType() |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | return $this->testType; |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | - /** |
|
| 173 | + /** |
|
| 174 | 174 | * @see IOrderSummary::setTestType() |
| 175 | 175 | * @codeCoverageIgnore |
| 176 | 176 | */ |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | return $this; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | - /** |
|
| 183 | + /** |
|
| 184 | 184 | * @see IOrderSummary::getModifiedTime() |
| 185 | 185 | */ |
| 186 | 186 | public function getModifiedTime() |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | return $this->modifiedTime; |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | - /** |
|
| 191 | + /** |
|
| 192 | 192 | * @see IOrderSummary::setModifiedTime() |
| 193 | 193 | * @codeCoverageIgnore |
| 194 | 194 | */ |
@@ -224,17 +224,17 @@ discard block |
||
| 224 | 224 | return $this->customerId; |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | - /** |
|
| 228 | - * @see IOrderSummary::setCustomerId() |
|
| 229 | - * @codeCoverageIgnore |
|
| 230 | - */ |
|
| 227 | + /** |
|
| 228 | + * @see IOrderSummary::setCustomerId() |
|
| 229 | + * @codeCoverageIgnore |
|
| 230 | + */ |
|
| 231 | 231 | public function setCustomerId($customerId) |
| 232 | 232 | { |
| 233 | 233 | $this->customerId = $customerId; |
| 234 | 234 | return $this; |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | - /** |
|
| 237 | + /** |
|
| 238 | 238 | * @see IOrderSummary::getCustomerOrderId() |
| 239 | 239 | */ |
| 240 | 240 | public function getCustomerOrderId() |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | return $this->status; |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | - /** |
|
| 299 | + /** |
|
| 300 | 300 | * @see IOrderSummary::setStatus() |
| 301 | 301 | * @codeCoverageIgnore |
| 302 | 302 | */ |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | return $this->orderTotal; |
| 315 | 315 | } |
| 316 | 316 | |
| 317 | - /** |
|
| 317 | + /** |
|
| 318 | 318 | * @see IOrderSummary::setOrderTotal() |
| 319 | 319 | * @codeCoverageIgnore |
| 320 | 320 | */ |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | return $this->source; |
| 333 | 333 | } |
| 334 | 334 | |
| 335 | - /** |
|
| 335 | + /** |
|
| 336 | 336 | * @see IOrderSummary::setSource() |
| 337 | 337 | * @codeCoverageIgnore |
| 338 | 338 | */ |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | return $this; |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | - /** |
|
| 363 | + /** |
|
| 364 | 364 | * @see IOrderSummary::getType() |
| 365 | 365 | */ |
| 366 | 366 | public function getType() |
@@ -481,12 +481,12 @@ |
||
| 481 | 481 | $testType = $this->getTestType(); |
| 482 | 482 | $cancellable = $this->getCancellable(); |
| 483 | 483 | return array_merge( |
| 484 | - ['id' => $this->getId()], |
|
| 485 | - $orderType ? ['orderType' => $orderType] : [], |
|
| 486 | - $orderPurpose ? ['orderPurpose' => $orderPurpose] : [], |
|
| 487 | - $testType ? ['testType' => $testType] : [], |
|
| 488 | - ['modifiedTime' => $this->getModifiedTime()->format('c')], |
|
| 489 | - $cancellable ? ['cancellable' => $cancellable] : [] |
|
| 484 | + [ 'id' => $this->getId() ], |
|
| 485 | + $orderType ? [ 'orderType' => $orderType ] : [ ], |
|
| 486 | + $orderPurpose ? [ 'orderPurpose' => $orderPurpose ] : [ ], |
|
| 487 | + $testType ? [ 'testType' => $testType ] : [ ], |
|
| 488 | + [ 'modifiedTime' => $this->getModifiedTime()->format('c') ], |
|
| 489 | + $cancellable ? [ 'cancellable' => $cancellable ] : [ ] |
|
| 490 | 490 | ); |
| 491 | 491 | } |
| 492 | 492 | } |
@@ -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 | { |
@@ -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 | { |
@@ -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 | /** |
@@ -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; |
| 17 | 17 | |
@@ -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; |
| 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; |
| 17 | 17 | |
@@ -272,6 +272,10 @@ |
||
| 272 | 272 | . '</DeliveryEstimate>'; |
| 273 | 273 | } |
| 274 | 274 | |
| 275 | + /** |
|
| 276 | + * @param string $nodeName |
|
| 277 | + * @param DateTime $dateTime |
|
| 278 | + */ |
|
| 275 | 279 | protected function serializeDateTime($nodeName, $dateTime) |
| 276 | 280 | { |
| 277 | 281 | return is_null($dateTime) ? "<{$nodeName}/>" : |
@@ -274,8 +274,7 @@ |
||
| 274 | 274 | |
| 275 | 275 | protected function serializeDateTime($nodeName, $dateTime) |
| 276 | 276 | { |
| 277 | - return is_null($dateTime) ? "<{$nodeName}/>" : |
|
| 278 | - "<{$nodeName}>{$dateTime->format('c')}</{$nodeName}>"; |
|
| 277 | + return is_null($dateTime) ? "<{$nodeName}/>" : "<{$nodeName}>{$dateTime->format('c')}</{$nodeName}>"; |
|
| 279 | 278 | } |
| 280 | 279 | |
| 281 | 280 | protected function deserializeExtra() |
@@ -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 | |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 24 | -use eBayEnterprise\RetailOrderManagement\Payload\TIdentity; |
|
| 25 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TPhysicalAddress; |
| 26 | 25 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount; |
| 27 | 26 | use Psr\Log\LoggerInterface; |
@@ -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 | |
@@ -136,6 +136,7 @@ |
||
| 136 | 136 | * @param DOMNodeList |
| 137 | 137 | * @param IItemIterable |
| 138 | 138 | * @param string |
| 139 | + * @param string $subPayloadMethod |
|
| 139 | 140 | * @return self |
| 140 | 141 | */ |
| 141 | 142 | protected function deserializeItems(DOMNodeList $itemNodes, IItemIterable $iterable, $subPayloadMethod) |
@@ -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 | |