@@ -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 | { |
@@ -99,6 +99,7 @@ discard block |
||
99 | 99 | * @param string |
100 | 100 | * @param array |
101 | 101 | * @param mixed |
102 | + * @param string $key |
|
102 | 103 | * @return mixed |
103 | 104 | */ |
104 | 105 | protected function nullCoalesce($key, array $ar, $default) |
@@ -280,6 +281,7 @@ discard block |
||
280 | 281 | * the document. |
281 | 282 | * |
282 | 283 | * @param string |
284 | + * @param string $xml |
|
283 | 285 | * @return Varien_Data_Collection |
284 | 286 | */ |
285 | 287 | protected function loadOrdersFromXml($xml) |
@@ -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 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Return the value at field in array if it exists. Otherwise, use the default value. |
64 | 64 | * @param array $arr |
65 | - * @param string|int $field Valid array key |
|
65 | + * @param string $field Valid array key |
|
66 | 66 | * @param mixed $default |
67 | 67 | * @return mixed |
68 | 68 | */ |
@@ -13,7 +13,6 @@ |
||
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; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\OrderEvents; |
18 | 17 | |
19 | 18 | class EbayEnterprise_Order_Model_Ordershipped |
@@ -12,9 +12,9 @@ |
||
12 | 12 | * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
13 | 13 | * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
14 | 14 | */ |
15 | +use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
15 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryRequest; |
16 | 17 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryResponse; |
17 | -use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi; |
|
18 | 18 | |
19 | 19 | class EbayEnterprise_Order_Model_Search implements EbayEnterprise_Order_Model_ISearch |
20 | 20 | { |
@@ -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\Customer\IOrderSummaryResponse; |
|
17 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryIterable; |
17 | +use eBayEnterprise\RetailOrderManagement\Payload\Customer\IOrderSummaryResponse; |
|
18 | 18 | |
19 | 19 | class EbayEnterprise_Order_Model_Search_Process_Response implements EbayEnterprise_Order_Model_Search_Process_IResponse |
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 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Type hinting for self::__construct $initParams |
30 | 30 | * |
31 | 31 | * @param EbayEnterprise_Order_Helper_Data |
32 | - * @return array |
|
32 | + * @return EbayEnterprise_Order_Helper_Data[] |
|
33 | 33 | */ |
34 | 34 | protected function _checkTypes(EbayEnterprise_Order_Helper_Data $orderHelper) |
35 | 35 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array |
43 | 43 | * @param string $field Valid array key |
44 | 44 | * @param mixed |
45 | - * @return mixed |
|
45 | + * @return EbayEnterprise_Order_Helper_Data |
|
46 | 46 | */ |
47 | 47 | protected function _nullCoalesce(array $arr, $field, $default) |
48 | 48 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | public function toOptionArray() |
58 | 58 | { |
59 | 59 | $arr = $this->toArray(); |
60 | - return array_map(function ($k) use ($arr) { |
|
60 | + return array_map(function($k) use ($arr) { |
|
61 | 61 | return ['value' => $k, 'label' => $arr[$k]]; |
62 | 62 | }, array_keys($arr)); |
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 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @param array |
63 | 63 | * @param string $field Valid array key |
64 | 64 | * @param mixed |
65 | - * @return mixed |
|
65 | + * @return EbayEnterprise_Order_Helper_Factory |
|
66 | 66 | */ |
67 | 67 | protected function nullCoalesce(array $arr, $field, $default) |
68 | 68 | { |
@@ -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,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param EbayEnterprise_Order_Helper_Data |
55 | 55 | * @param Mage_Core_Helper_Data |
56 | - * @return array |
|
56 | + * @return Mage_Core_Helper_Data[] |
|
57 | 57 | */ |
58 | 58 | protected function _checkTypes( |
59 | 59 | EbayEnterprise_Order_Helper_Data $orderHelper, |
@@ -79,6 +79,7 @@ discard block |
||
79 | 79 | * @see Mage_Core_Block_Abstract::getHelper() |
80 | 80 | * Returns a helper instance. |
81 | 81 | * |
82 | + * @param string $type |
|
82 | 83 | * @return EbayEnterprise_Order_Helper_Data |
83 | 84 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
84 | 85 | */ |
@@ -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 | { |