@@ -52,6 +52,7 @@ discard block |
||
| 52 | 52 | * |
| 53 | 53 | * @param IOrderSummary |
| 54 | 54 | * @param string |
| 55 | + * @param string $getter |
|
| 55 | 56 | * @return string | null |
| 56 | 57 | */ |
| 57 | 58 | public function getDatetimeValue(IOrderSummary $summary, $getter) |
@@ -65,7 +66,8 @@ discard block |
||
| 65 | 66 | * |
| 66 | 67 | * @param IOrderSummary |
| 67 | 68 | * @param string |
| 68 | - * @return mixed |
|
| 69 | + * @param string $getter |
|
| 70 | + * @return double |
|
| 69 | 71 | */ |
| 70 | 72 | public function getFloatValue(IOrderSummary $summary, $getter) |
| 71 | 73 | { |
@@ -77,7 +79,8 @@ discard block |
||
| 77 | 79 | * |
| 78 | 80 | * @param IOrderSummary |
| 79 | 81 | * @param string |
| 80 | - * @return mixed |
|
| 82 | + * @param string $getter |
|
| 83 | + * @return boolean |
|
| 81 | 84 | */ |
| 82 | 85 | public function getBooleanValue(IOrderSummary $summary, $getter) |
| 83 | 86 | { |
@@ -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,7 @@ |
||
| 63 | 63 | * @param array |
| 64 | 64 | * @param string $field Valid array key |
| 65 | 65 | * @param mixed |
| 66 | - * @return mixed |
|
| 66 | + * @return EbayEnterprise_Order_Helper_Data |
|
| 67 | 67 | */ |
| 68 | 68 | protected function _nullCoalesce(array $arr, $field, $default) |
| 69 | 69 | { |
@@ -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\Order\IOrderCancelRequest; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
| 17 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\IOrderCancelRequest; |
|
| 18 | 18 | |
| 19 | 19 | class EbayEnterprise_Order_Model_Cancel_Build_Request implements EbayEnterprise_Order_Model_Cancel_Build_IRequest |
| 20 | 20 | { |
@@ -124,6 +124,6 @@ |
||
| 124 | 124 | protected function _getReasonDescription() |
| 125 | 125 | { |
| 126 | 126 | $reasonCode = $this->_order->getCancelReasonCode(); |
| 127 | - return $reasonCode? $this->_orderHelper->getCancelReasonDescription($reasonCode) : null; |
|
| 127 | + return $reasonCode ? $this->_orderHelper->getCancelReasonDescription($reasonCode) : null; |
|
| 128 | 128 | } |
| 129 | 129 | } |
@@ -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 | { |
@@ -165,6 +165,7 @@ discard block |
||
| 165 | 165 | * @param string |
| 166 | 166 | * @param array |
| 167 | 167 | * @param mixed |
| 168 | + * @param string $key |
|
| 168 | 169 | * @return mixed |
| 169 | 170 | */ |
| 170 | 171 | protected function _nullCoalesce($key, array $arr, $default) |
@@ -343,7 +344,7 @@ discard block |
||
| 343 | 344 | * so the SDK can use it. |
| 344 | 345 | * |
| 345 | 346 | * @param Mage_Customer_Model_Address_Abstract |
| 346 | - * @return IMailingAddress |
|
| 347 | + * @return IPhysicalAddress |
|
| 347 | 348 | */ |
| 348 | 349 | protected function _getRomBillingAddress(Mage_Customer_Model_Address_Abstract $address) |
| 349 | 350 | { |
@@ -683,7 +684,7 @@ discard block |
||
| 683 | 684 | * |
| 684 | 685 | * @param Mage_Customer_Model_Address_Abstract |
| 685 | 686 | * @param IOrderDestinationIterable Used to create the new email address destination payload |
| 686 | - * @return IMailingAddressDestination |
|
| 687 | + * @return IPhysicalAddress |
|
| 687 | 688 | */ |
| 688 | 689 | protected function _buildPhysicalDestination(Mage_Customer_Model_Address_Abstract $address, IOrderDestinationIterable $destinations) |
| 689 | 690 | { |
@@ -759,7 +760,7 @@ discard block |
||
| 759 | 760 | * convert a mage date string to a datetime. |
| 760 | 761 | * if $dateString is invalid, return false. |
| 761 | 762 | * @param string |
| 762 | - * @return DateTime|false |
|
| 763 | + * @return DateTime |
|
| 763 | 764 | */ |
| 764 | 765 | protected function _getAsDateTime($dateString) |
| 765 | 766 | { |
@@ -57,6 +57,7 @@ discard block |
||
| 57 | 57 | * @param string |
| 58 | 58 | * @param array |
| 59 | 59 | * @param mixed |
| 60 | + * @param string $key |
|
| 60 | 61 | * @return mixed |
| 61 | 62 | */ |
| 62 | 63 | protected function nullCoalesce($key, array $ar, $default) |
@@ -72,6 +73,7 @@ discard block |
||
| 72 | 73 | * @param int |
| 73 | 74 | * @param string |
| 74 | 75 | * @param bool |
| 76 | + * @param integer $lineNumber |
|
| 75 | 77 | * @return IOrderItem |
| 76 | 78 | */ |
| 77 | 79 | public function buildOrderItem( |
@@ -226,6 +228,7 @@ discard block |
||
| 226 | 228 | * attribute |
| 227 | 229 | * @param string |
| 228 | 230 | * @param Mage_Sales_Model_Order_Item |
| 231 | + * @param string $attributeCode |
|
| 229 | 232 | * @return array |
| 230 | 233 | */ |
| 231 | 234 | protected function getOptionInfo($attributeCode, Mage_Sales_Model_Order_Item $item) |
@@ -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 | { |
@@ -53,6 +53,11 @@ discard block |
||
| 53 | 53 | return func_get_args(); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | + /** |
|
| 57 | + * @param string $key |
|
| 58 | + * |
|
| 59 | + * @return EbayEnterprise_Order_Model_Create_Relationships_IStorage |
|
| 60 | + */ |
|
| 56 | 61 | protected function nullCoalesce(array $arr, $key, $default) |
| 57 | 62 | { |
| 58 | 63 | return isset($arr[$key]) ? $arr[$key] : $default; |
@@ -91,6 +96,7 @@ discard block |
||
| 91 | 96 | * |
| 92 | 97 | * @param Mage_Sales_Model_Order_Item |
| 93 | 98 | * @param bool |
| 99 | + * @param boolean $isParentItemPayload |
|
| 94 | 100 | */ |
| 95 | 101 | protected function addItemToRelationship(Mage_Sales_Model_Order_Item $keyItem, $isParentItemPayload) |
| 96 | 102 | { |
@@ -111,8 +111,7 @@ |
||
| 111 | 111 | */ |
| 112 | 112 | protected function getOrCreateItemRelationship(Mage_Sales_Model_Order_Item $keyItem) |
| 113 | 113 | { |
| 114 | - $relationship = $this->storage->getRelationshipPayload($keyItem) ?: |
|
| 115 | - $this->createRelationshipPayload($this->itemPayload); |
|
| 114 | + $relationship = $this->storage->getRelationshipPayload($keyItem) ?: $this->createRelationshipPayload($this->itemPayload); |
|
| 116 | 115 | $this->storage->addRelationship($keyItem, $relationship); |
| 117 | 116 | return $relationship; |
| 118 | 117 | } |
@@ -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\Order\IOrderItem; |
|
| 17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IItemRelationship; |
| 17 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\IOrderItem; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * keeps track of relationship payloads |
@@ -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 | { |
@@ -34,6 +34,7 @@ |
||
| 34 | 34 | * |
| 35 | 35 | * @param Mage_Sales_Model_Order_Item |
| 36 | 36 | * @param IItemRelationship |
| 37 | + * @return EbayEnterprise_Order_Model_Create_Relationships_Storage |
|
| 37 | 38 | */ |
| 38 | 39 | public function addRelationship( |
| 39 | 40 | Mage_Sales_Model_Order_Item $item, |
@@ -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 | { |
@@ -37,6 +37,12 @@ |
||
| 37 | 37 | return func_get_args(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $key |
|
| 42 | + * @param SplObjectStorage $default |
|
| 43 | + * |
|
| 44 | + * @return SplObjectStorage |
|
| 45 | + */ |
|
| 40 | 46 | protected function nullCoalesce(array $arr, $key, $default) |
| 41 | 47 | { |
| 42 | 48 | return isset($arr[$key]) ? $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 | { |
@@ -14,14 +14,14 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\IPayload; |
| 17 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IOrderDetailResponse; |
|
| 18 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\IMailingAddress; |
|
| 19 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\IEmailAddressDestination; |
|
| 20 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IOrderDetailItem; |
| 18 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IOrderDetailResponse; |
|
| 19 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IOrderDetailStoredValueCardPayment; |
|
| 21 | 20 | use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IShipment; |
| 21 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\IEmailAddressDestination; |
|
| 22 | +use eBayEnterprise\RetailOrderManagement\Payload\Order\IMailingAddress; |
|
| 22 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IPayment; |
| 23 | 24 | use eBayEnterprise\RetailOrderManagement\Payload\Order\IShipGroup; |
| 24 | -use eBayEnterprise\RetailOrderManagement\Payload\Order\Detail\IOrderDetailStoredValueCardPayment; |
|
| 25 | 25 | |
| 26 | 26 | class EbayEnterprise_Order_Model_Detail_Process_Response extends Mage_Sales_Model_Order implements EbayEnterprise_Order_Model_Detail_Process_IResponse |
| 27 | 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 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @param EbayEnterprise_Order_Model_Detail_Process_IResponse |
| 50 | 50 | * @param EbayEnterprise_Eb2cCore_Helper_Data |
| 51 | - * @return array |
|
| 51 | + * @return EbayEnterprise_Order_Model_Detail_Process_IResponse[] |
|
| 52 | 52 | */ |
| 53 | 53 | protected function _checkTypes( |
| 54 | 54 | EbayEnterprise_Order_Model_Detail_Process_IResponse $order, |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * @param array |
| 64 | 64 | * @param string $field Valid array key |
| 65 | 65 | * @param mixed |
| 66 | - * @return mixed |
|
| 66 | + * @return EbayEnterprise_Eb2cCore_Helper_Data |
|
| 67 | 67 | */ |
| 68 | 68 | protected function _nullCoalesce(array $arr, $field, $default) |
| 69 | 69 | { |
@@ -130,6 +130,7 @@ discard block |
||
| 130 | 130 | * Build a collection of order item from this particular ship group |
| 131 | 131 | * |
| 132 | 132 | * @param bool |
| 133 | + * @param boolean $includeHidden |
|
| 133 | 134 | * @return Varien_Data_Collection |
| 134 | 135 | */ |
| 135 | 136 | protected function _buildItemsCollection($includeHidden) |
@@ -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 | { |