Skip to content

Commit 756da78

Browse files
committed
Merge branch 'no-author/paypal' into comm_prd_may_abhi_v1
2 parents a2ade32 + 6a26b1b commit 756da78

File tree

24 files changed

+61
-107
lines changed

24 files changed

+61
-107
lines changed

app/code/Magento/OfflineShipping/Block/Adminhtml/Carrier/Tablerate/Grid.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\OfflineShipping\Block\Adminhtml\Carrier\Tablerate;
77

88
/**
99
* Shipping carrier table rate grid block
1010
* WARNING: This grid used for export table rates
11-
*
12-
* @author Magento Core Team <core@magentocommerce.com>
1311
*/
1412
class Grid extends \Magento\Backend\Block\Widget\Grid\Extended
1513
{

app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Export.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\OfflineShipping\Block\Adminhtml\Form\Field;
77

88
/**
99
* Export CSV button for shipping table rates
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Export extends \Magento\Framework\Data\Form\Element\AbstractElement
1412
{
@@ -36,6 +34,8 @@ public function __construct(
3634
}
3735

3836
/**
37+
* Get elementHtml
38+
*
3939
* @return string
4040
*/
4141
public function getElementHtml()

app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Import.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\OfflineShipping\Block\Adminhtml\Form\Field;
77

88
/**
99
* Custom import CSV file field for shipping table rates
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Import extends \Magento\Framework\Data\Form\Element\AbstractElement
1412
{
1513
/**
14+
* Initialize Import
15+
*
1616
* @return void
1717
*/
1818
protected function _construct()

app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
/**
88
* Free shipping model
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\OfflineShipping\Model\Carrier;
1311

app/code/Magento/OfflineShipping/Model/Config/Backend/Tablerate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2013 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\OfflineShipping\Model\Config\Backend;
77

88
use Magento\Framework\Model\AbstractModel;
99

1010
/**
1111
* Backend model for shipping table rates CSV importing
12-
*
13-
* @author Magento Core Team <core@magentocommerce.com>
1412
*/
1513
class Tablerate extends \Magento\Framework\App\Config\Value
1614
{
@@ -44,6 +42,8 @@ public function __construct(
4442
}
4543

4644
/**
45+
* After save
46+
*
4747
* @return $this
4848
*/
4949
public function afterSave()

app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
/**
88
* Shipping table rates
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210

1311
namespace Magento\OfflineShipping\Model\ResourceModel\Carrier;

app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2014 Adobe
4+
* All Rights Reserved.
55
*/
66

77
/**
88
* Shopping Cart Rule data model
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\OfflineShipping\Model\SalesRule;
1311

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
/**
88
* Shopping Cart Rule data model
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\OfflineShipping\Model\SalesRule;
1311

@@ -20,10 +18,10 @@ class Rule
2018
/**
2119
* Free Shipping option "For matching items only"
2220
*/
23-
const FREE_SHIPPING_ITEM = 1;
21+
public const FREE_SHIPPING_ITEM = 1;
2422

2523
/**
2624
* Free Shipping option "For shipment with matching items"
2725
*/
28-
const FREE_SHIPPING_ADDRESS = 2;
26+
public const FREE_SHIPPING_ADDRESS = 2;
2927
}

app/code/Magento/OfflineShipping/Test/Unit/Block/Adminhtml/Form/Field/ImportTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2012 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

88
/**
99
* Custom import CSV file field for shipping table rates
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
namespace Magento\OfflineShipping\Test\Unit\Block\Adminhtml\Form\Field;
1412

app/code/Magento/Payment/Model/Method/Online/GatewayInterface.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Payment\Model\Method\Online;
77

@@ -10,8 +10,6 @@
1010

1111
/**
1212
* Gateway interface for online payment methods
13-
*
14-
* @author Magento Core Team <core@magentocommerce.com>
1513
*/
1614
interface GatewayInterface
1715
{

app/code/Magento/Paypal/Block/Adminhtml/Settlement/Details.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Adminhtml\Settlement;
77

88
/**
99
* Settlement reports transaction details
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Details extends \Magento\Backend\Block\Widget\Form\Container
1412
{
1513
/**
16-
* Block construction
17-
* Initialize titles, buttons
14+
* Block construction Initialize titles, buttons
1815
*
1916
* @return void
2017
*/

app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Adminhtml\Settlement;
77

88
/**
99
* Adminhtml paypal settlement reports grid block
1010
*
1111
* @api
12-
* @author Magento Core Team <core@magentocommerce.com>
1312
* @since 100.0.2
1413
*/
1514
class Report extends \Magento\Backend\Block\Widget\Grid\Container

app/code/Magento/Paypal/Block/Express/Review.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\Paypal\Block\Express;
@@ -13,7 +13,6 @@
1313
* Paypal Express Onepage checkout block
1414
*
1515
* @api
16-
* @author Magento Core Team <core@magentocommerce.com>
1716
* @since 100.0.2
1817
*/
1918
class Review extends \Magento\Framework\View\Element\Template

app/code/Magento/Paypal/Block/Hosted/Pro/Form.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Hosted\Pro;
77

88
/**
99
* Hosted Pro link form
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Form extends \Magento\Payment\Block\Form
1412
{

app/code/Magento/Paypal/Block/Hosted/Pro/Iframe.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Hosted\Pro;
77

88
/**
99
* Hosted Pro iframe block
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Iframe extends \Magento\Paypal\Block\Iframe
1412
{
1513
/**
16-
* Internal constructor
17-
* Set payment method code
14+
* Internal constructor Set payment method code
1815
*
1916
* @return void
2017
*/

app/code/Magento/Paypal/Block/Hosted/Pro/Info.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
/**
88
* Hosted Pro link infoblock
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\Paypal\Block\Hosted\Pro;
1311

app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Payflow\Advanced;
77

88
/**
99
* Payflow Advanced iframe block
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Form extends \Magento\Paypal\Block\Payflow\Link\Form
1412
{

app/code/Magento/Paypal/Block/Payflow/Link/Form.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Block\Payflow\Link;
77

88
/**
99
* Payflow link iframe block
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Form extends \Magento\Payment\Block\Form
1412
{

app/code/Magento/Paypal/Model/Hostedpro/Request.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Model\Hostedpro;
77

@@ -15,8 +15,6 @@
1515

1616
/**
1717
* Website Payments Pro Hosted Solution request model to get token.
18-
*
19-
* @author Magento Core Team <core@magentocommerce.com>
2018
*/
2119
class Request extends DataObject
2220
{

app/code/Magento/Paypal/Model/Payflow/Request.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Paypal\Model\Payflow;
77

88
/**
99
* Payflow Link request model
10-
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1210
*/
1311
class Request extends \Magento\Framework\DataObject
1412
{

0 commit comments

Comments
 (0)