@@ -73,6 +73,7 @@ discard block |
||
| 73 | 73 | * @param array |
| 74 | 74 | * @param string |
| 75 | 75 | * @param mixed |
| 76 | + * @param string $key |
|
| 76 | 77 | * @return mixed |
| 77 | 78 | */ |
| 78 | 79 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -110,6 +111,7 @@ discard block |
||
| 110 | 111 | * Set whether the last tax request made was successful. |
| 111 | 112 | * |
| 112 | 113 | * @param bool |
| 114 | + * @param boolean $success |
|
| 113 | 115 | * @return self |
| 114 | 116 | */ |
| 115 | 117 | public function setTaxRequestSuccess($success) |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | { |
| 139 | 139 | return array_filter( |
| 140 | 140 | $this->getTaxRecords(), |
| 141 | - function ($record) use ($addressId) { |
|
| 141 | + function($record) use ($addressId) { |
|
| 142 | 142 | return $record->getAddressId() === $addressId; |
| 143 | 143 | } |
| 144 | 144 | ); |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | { |
| 155 | 155 | return array_filter( |
| 156 | 156 | $this->getTaxRecords(), |
| 157 | - function ($record) use ($itemId) { |
|
| 157 | + function($record) use ($itemId) { |
|
| 158 | 158 | return $record->getItemId() === $itemId; |
| 159 | 159 | } |
| 160 | 160 | ); |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | { |
| 211 | 211 | return array_filter( |
| 212 | 212 | $this->getTaxDuties(), |
| 213 | - function ($duty) use ($addressId) { |
|
| 213 | + function($duty) use ($addressId) { |
|
| 214 | 214 | return $duty->getAddressId() === $addressId; |
| 215 | 215 | } |
| 216 | 216 | ); |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | { |
| 249 | 249 | return array_filter( |
| 250 | 250 | $this->getTaxFees(), |
| 251 | - function ($fee) use ($itemId) { |
|
| 251 | + function($fee) use ($itemId) { |
|
| 252 | 252 | return $fee->getItemId() === $itemId; |
| 253 | 253 | } |
| 254 | 254 | ); |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | { |
| 265 | 265 | return array_filter( |
| 266 | 266 | $this->getTaxFees(), |
| 267 | - function ($fee) use ($addressId) { |
|
| 267 | + function($fee) use ($addressId) { |
|
| 268 | 268 | return $fee->getAddressId() === $addressId; |
| 269 | 269 | } |
| 270 | 270 | ); |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -118,6 +118,7 @@ |
||
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | 120 | * @param string |
| 121 | + * @param string $type |
|
| 121 | 122 | * @return string |
| 122 | 123 | */ |
| 123 | 124 | public function setType($type) |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -63,7 +63,8 @@ |
||
| 63 | 63 | * @param string |
| 64 | 64 | * @param array |
| 65 | 65 | * @param mixed |
| 66 | - * @return mixed |
|
| 66 | + * @param string $key |
|
| 67 | + * @return EbayEnterprise_Tax_Model_Collector |
|
| 67 | 68 | */ |
| 68 | 69 | protected function _nullCoalesce(array $arr, $key, $default) |
| 69 | 70 | { |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -13,9 +13,9 @@ |
||
| 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\Order\IDiscountContainer; |
|
| 16 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IOrderItem; |
| 17 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\Order\ITaxContainer; |
| 18 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\IDiscountContainer; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Adds Tax information to an OrderItem payload and its sub payloads. |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | // immediate remediation. |
| 248 | 248 | $feeTaxes = array_filter( |
| 249 | 249 | $feeTaxRecords, |
| 250 | - function ($taxRecord) use ($feeId) { |
|
| 250 | + function($taxRecord) use ($feeId) { |
|
| 251 | 251 | return $feeId && $feeId === $taxRecord->getFeeId(); |
| 252 | 252 | } |
| 253 | 253 | ); |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | // now, at least, it should be a small enough data set to not demand |
| 317 | 317 | // immediate remediation. |
| 318 | 318 | $this->_addTaxRecordsToContainer( |
| 319 | - array_filter($taxRecords, function ($taxRecord) use ($discountId) { |
|
| 319 | + array_filter($taxRecords, function($taxRecord) use ($discountId) { |
|
| 320 | 320 | return $discountId && $taxRecord->getDiscountId() == $discountId; |
| 321 | 321 | }), |
| 322 | 322 | $discountPayload |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -78,6 +78,7 @@ discard block |
||
| 78 | 78 | * @param string |
| 79 | 79 | * @param array |
| 80 | 80 | * @param mixed |
| 81 | + * @param string $key |
|
| 81 | 82 | * @return mixed |
| 82 | 83 | */ |
| 83 | 84 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -134,7 +135,7 @@ discard block |
||
| 134 | 135 | /** |
| 135 | 136 | * Get the tax container for address level gifting taxes. |
| 136 | 137 | * |
| 137 | - * @return ITaxContainer |
|
| 138 | + * @return Payload\Order\ITaxIterable |
|
| 138 | 139 | */ |
| 139 | 140 | protected function _getTaxContainer() |
| 140 | 141 | { |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IGifting; |
| 17 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\ITax; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * Adds Tax information to an OrderItem payload and its sub payloads. |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | // gifting, and do not indicate a calculation error for the record. |
| 125 | 125 | return array_filter( |
| 126 | 126 | $this->_taxCollector->getTaxRecords(), |
| 127 | - function ($record) use ($addressId) { |
|
| 127 | + function($record) use ($addressId) { |
|
| 128 | 128 | return $record->getAddressId() === $addressId |
| 129 | 129 | && $record->getTaxSource() === EbayEnterprise_Tax_Model_Record::SOURCE_ADDRESS_GIFTING; |
| 130 | 130 | } |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -109,6 +109,7 @@ discard block |
||
| 109 | 109 | * @param string |
| 110 | 110 | * @param array |
| 111 | 111 | * @param mixed |
| 112 | + * @param string $key |
|
| 112 | 113 | * @return mixed |
| 113 | 114 | */ |
| 114 | 115 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -119,7 +120,7 @@ discard block |
||
| 119 | 120 | /** |
| 120 | 121 | * Get the destination payload for the address. |
| 121 | 122 | * |
| 122 | - * @return IDestination|null |
|
| 123 | + * @return IDestination |
|
| 123 | 124 | */ |
| 124 | 125 | public function getDestinationPayload() |
| 125 | 126 | { |
@@ -129,7 +130,7 @@ discard block |
||
| 129 | 130 | /** |
| 130 | 131 | * Get the ship group payload for the address. |
| 131 | 132 | * |
| 132 | - * @return IShipGroup|null |
|
| 133 | + * @return IShipGroup |
|
| 133 | 134 | */ |
| 134 | 135 | public function getShipGroupPayload() |
| 135 | 136 | { |
@@ -13,8 +13,8 @@ |
||
| 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\TaxDutyFee\IShipGroupIterable; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDestinationIterable; |
| 17 | +use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IShipGroupIterable; |
|
| 18 | 18 | |
| 19 | 19 | class EbayEnterprise_Tax_Model_Request_Builder_Address |
| 20 | 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 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -127,6 +127,7 @@ discard block |
||
| 127 | 127 | * @param string |
| 128 | 128 | * @param array |
| 129 | 129 | * @param mixed |
| 130 | + * @param string $key |
|
| 130 | 131 | * @return mixed |
| 131 | 132 | */ |
| 132 | 133 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -137,7 +138,7 @@ discard block |
||
| 137 | 138 | /** |
| 138 | 139 | * Get the order item payload for the item. |
| 139 | 140 | * |
| 140 | - * @return IOrderItemRequest|null |
|
| 141 | + * @return IOrderItemRequest |
|
| 141 | 142 | */ |
| 142 | 143 | public function getOrderItemPayload() |
| 143 | 144 | { |
@@ -13,9 +13,9 @@ |
||
| 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\TaxDutyFee\IDiscountContainer; |
|
| 16 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IOrderItemRequest; |
| 17 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IOrderItemRequestIterable; |
| 18 | -use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDiscountContainer; |
|
| 19 | 19 | |
| 20 | 20 | class EbayEnterprise_Tax_Model_Request_Builder_Item |
| 21 | 21 | { |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * nearly identical steps from being repeated for each item for each type of |
| 90 | 90 | * tax data. |
| 91 | 91 | * |
| 92 | - * @return EbayEnterprise_Tax_Model_Record[] |
|
| 92 | + * @return EbayEnterprise_Tax_Model_Response_Parser_Address |
|
| 93 | 93 | */ |
| 94 | 94 | protected function _extractTaxData() |
| 95 | 95 | { |
@@ -13,8 +13,8 @@ |
||
| 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\TaxDutyFee\ITaxedShipGroup; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedOrderItem; |
| 17 | +use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedShipGroup; |
|
| 18 | 18 | |
| 19 | 19 | class EbayEnterprise_Tax_Model_Response_Parser_Address extends EbayEnterprise_Tax_Model_Response_Parser_Abstract |
| 20 | 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 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -244,7 +244,7 @@ |
||
| 244 | 244 | /** |
| 245 | 245 | * Extract tax records from a gifting payload. |
| 246 | 246 | * |
| 247 | - * @return EbayEnterprise_Tax_Model_Record |
|
| 247 | + * @return EbayEnterprise_Tax_Model_Record[] |
|
| 248 | 248 | */ |
| 249 | 249 | protected function _extractGiftingTaxRecords() |
| 250 | 250 | { |
@@ -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_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |