@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Get the gift card object currently being applied or checked. |
| 50 | 50 | * |
| 51 | - * @return EbayEnterprise_GiftCard_Model_IGiftcard|null |
|
| 51 | + * @return EbayEnterprise_GiftCard_Model_Giftcard|null |
|
| 52 | 52 | */ |
| 53 | 53 | public function getEbayEnterpriseCurrentGiftCard($clear = false) |
| 54 | 54 | { |
@@ -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 | { |
@@ -82,6 +82,9 @@ discard block |
||
| 82 | 82 | return func_get_args(); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | + /** |
|
| 86 | + * @param string $key |
|
| 87 | + */ |
|
| 85 | 88 | protected function nullCoalesce(array $arr, $key, $default) |
| 86 | 89 | { |
| 87 | 90 | return isset($arr[$key]) ? $arr[$key] : $default; |
@@ -176,6 +179,8 @@ discard block |
||
| 176 | 179 | * |
| 177 | 180 | * @param string |
| 178 | 181 | * @param string |
| 182 | + * @param string $responseCode |
|
| 183 | + * @param string $responseMessage |
|
| 179 | 184 | * @return EbayEnterprise_GiftCard_Exception_InvalidCardNumber_Exception |
| 180 | 185 | */ |
| 181 | 186 | protected function createLookupFailedException($responseCode, $responseMessage) |
@@ -221,6 +226,7 @@ discard block |
||
| 221 | 226 | * |
| 222 | 227 | * @param ILookupRequest |
| 223 | 228 | * @param string |
| 229 | + * @param string $logMessage |
|
| 224 | 230 | * @return self |
| 225 | 231 | */ |
| 226 | 232 | protected function logRequest(ILookupRequest $request, $logMessage) |
@@ -13,14 +13,13 @@ |
||
| 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\Api\IBidirectionalApi; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
| 18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
| 19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
| 19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
| 20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupReply; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupRequest; |
| 23 | -use PSR\Log\NullLogger; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * performs gift card tender type lookups using the Retail Order Management |
@@ -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 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * |
| 44 | 44 | * @param EbayEnterprise_GiftCard_Helper_Data |
| 45 | 45 | * @param EbayEnterprise_GiftCard_Model_IContainer |
| 46 | - * @return array |
|
| 46 | + * @return EbayEnterprise_GiftCard_Model_IContainer[] |
|
| 47 | 47 | */ |
| 48 | 48 | protected function _checkTypes( |
| 49 | 49 | EbayEnterprise_GiftCard_Helper_Data $helper, |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * @param array $arr |
| 58 | 58 | * @param string $field |
| 59 | 59 | * @param mixed $default |
| 60 | - * @return mixed |
|
| 60 | + * @return EbayEnterprise_GiftCard_Model_IContainer |
|
| 61 | 61 | */ |
| 62 | 62 | protected function _nullCoalesce(array $arr = array(), $field, $default) |
| 63 | 63 | { |
@@ -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 | { |
@@ -112,6 +112,7 @@ discard block |
||
| 112 | 112 | * Determine if the passed in street date string is in the future. |
| 113 | 113 | * |
| 114 | 114 | * @param string |
| 115 | + * @param string $streetDate |
|
| 115 | 116 | * @return bool |
| 116 | 117 | */ |
| 117 | 118 | protected function isStreetDateInTheFuture($streetDate) |
@@ -125,6 +126,7 @@ discard block |
||
| 125 | 126 | * Using configuration setting to determine the to date for street date. |
| 126 | 127 | * |
| 127 | 128 | * @param string |
| 129 | + * @param string $streetDate |
|
| 128 | 130 | * @return DateTime |
| 129 | 131 | */ |
| 130 | 132 | protected function getStreetToDate($streetDate) |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | protected function getStreetToDate($streetDate) |
| 131 | 131 | { |
| 132 | 132 | $toDate = $this->getNewDateTime($streetDate); |
| 133 | - $intervalSpec = "P{$this->coreConfig->toStreetDateRange}D"; |
|
| 133 | + $intervalSpec = "p{$this->coreConfig->toStreetDateRange}d"; |
|
| 134 | 134 | return $toDate->add($this->getNewDateInterval($intervalSpec)); |
| 135 | 135 | } |
| 136 | 136 | |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | Mage_Sales_Model_Order $order, |
| 60 | 60 | $shipmentId, |
| 61 | 61 | $trackingNumber=null |
| 62 | - ) |
|
| 63 | - { |
|
| 62 | + ) { |
|
| 64 | 63 | return func_get_args(); |
| 65 | 64 | } |
| 66 | 65 | |
@@ -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,10 +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\Inventory\IDetailItem; |
|
| 16 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IItem; |
| 17 | 18 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IOrderItem; |
| 18 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IDetailItem; |
|
| 19 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAddress; |
|
| 20 | 19 | |
| 21 | 20 | class EbayEnterprise_Inventory_Helper_Details_Item |
| 22 | 21 | { |
@@ -83,6 +83,7 @@ |
||
| 83 | 83 | * @param string |
| 84 | 84 | * @param array |
| 85 | 85 | * @param mixed |
| 86 | + * @param string $key |
|
| 86 | 87 | * @return mixed |
| 87 | 88 | */ |
| 88 | 89 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -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 | { |
@@ -36,6 +36,8 @@ |
||
| 36 | 36 | * @param string |
| 37 | 37 | * @param int |
| 38 | 38 | * @param int |
| 39 | + * @param string $sku |
|
| 40 | + * @param integer $quantity |
|
| 39 | 41 | * @return EbayEnterprise_Inventory_Model_Quantity |
| 40 | 42 | */ |
| 41 | 43 | public function createQuantity($sku, $itemId, $quantity) |
@@ -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 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * Make a quantity service request for the items. |
| 51 | 51 | * |
| 52 | 52 | * @param Mage_Sales_Model_Quote_Item_Abstract[] |
| 53 | - * @return EbayEnterprise_Inventory_Model_Quantity_Results |
|
| 53 | + * @return null|EbayEnterprise_Inventory_Model_Quantity_IResults |
|
| 54 | 54 | */ |
| 55 | 55 | public function requestQuantityForItems(array $items) |
| 56 | 56 | { |
@@ -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 | { |
@@ -68,6 +68,7 @@ discard block |
||
| 68 | 68 | * @param string |
| 69 | 69 | * @param array |
| 70 | 70 | * @param mixed |
| 71 | + * @param string $key |
|
| 71 | 72 | * @return mixed |
| 72 | 73 | */ |
| 73 | 74 | protected function nullCoalesce($key, array $arr, $default) |
@@ -306,6 +307,7 @@ discard block |
||
| 306 | 307 | * |
| 307 | 308 | * @param Reservation |
| 308 | 309 | * @param array |
| 310 | + * @param EbayEnterprise_Inventory_Model_Allocation_Reservation $reservation |
|
| 309 | 311 | * @return |
| 310 | 312 | */ |
| 311 | 313 | protected function createResult($reservation, array $allocations = []) |
@@ -323,7 +325,7 @@ discard block |
||
| 323 | 325 | * wrap the allocation model factory method in an anonymous function |
| 324 | 326 | * to allow public invocation. |
| 325 | 327 | * |
| 326 | - * @return callable |
|
| 328 | + * @return Closure |
|
| 327 | 329 | */ |
| 328 | 330 | protected function createAllocationFactoryCallback() |
| 329 | 331 | { |
@@ -13,14 +13,14 @@ |
||
| 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\Api\IBidirectionalApi; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
| 18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
| 19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
| 19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
| 20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
| 21 | +use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
| 21 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationReply; |
| 22 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocationRequest; |
| 23 | -use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAllocatedItem; |
|
| 24 | 24 | |
| 25 | 25 | class EbayEnterprise_Inventory_Model_Allocation_Allocator |
| 26 | 26 | { |
@@ -327,7 +327,7 @@ |
||
| 327 | 327 | */ |
| 328 | 328 | protected function createAllocationFactoryCallback() |
| 329 | 329 | { |
| 330 | - return function ($payload) { |
|
| 330 | + return function($payload) { |
|
| 331 | 331 | return $this->createAllocationFromPayload($payload); |
| 332 | 332 | }; |
| 333 | 333 | } |
@@ -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,10 +13,10 @@ |
||
| 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\Api\IBidirectionalApi; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError; |
| 18 | 17 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction; |
| 19 | 18 | use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation; |
| 19 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
| 20 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload; |
| 21 | 21 | |
| 22 | 22 | class EbayEnterprise_Inventory_Model_Allocation_Deallocator |
@@ -83,6 +83,7 @@ |
||
| 83 | 83 | * @param string |
| 84 | 84 | * @param array |
| 85 | 85 | * @param mixed |
| 86 | + * @param string $key |
|
| 86 | 87 | * @return mixed |
| 87 | 88 | */ |
| 88 | 89 | protected function _nullCoalesce(array $arr, $key, $default) |
@@ -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 | { |