Skip to content

Commit 9d5819a

Browse files
committed
Mark various interfaces as api
update update update update update update up
1 parent be82efb commit 9d5819a

32 files changed

+61
-6
lines changed

app/code/Magento/GraphQl/Model/Query/ContextInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*
1717
* GraphQL will pass the same instance of this interface to each field resolver, so these resolvers could have
1818
* shared access to the same data for ease of implementation purposes.
19+
*
20+
* @api
1921
*/
2022
interface ContextInterface extends BaseContextInterface, ExtensibleDataInterface
2123
{

app/code/Magento/Msrp/Pricing/MsrpPriceCalculatorInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Msrp\Pricing;
89

910
use Magento\Catalog\Api\Data\ProductInterface;
1011

1112
/**
1213
* Provide information about MSRP price of a product.
14+
*
15+
* @api
1316
*/
1417
interface MsrpPriceCalculatorInterface
1518
{

app/code/Magento/Newsletter/Model/SubscriptionManagerInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Interface to update newsletter subscription status
12+
*
13+
* @api
1214
*/
1315
interface SubscriptionManagerInterface
1416
{

app/code/Magento/PageCache/Model/Spi/PageCacheTagsPreprocessorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Interface for page tags preprocessors
12+
*
13+
* @api
1214
*/
1315
interface PageCacheTagsPreprocessorInterface
1416
{

app/code/Magento/Payment/Api/Data/PaymentAdditionalInfoInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Payment additional info interface.
14+
*
15+
* @api
1416
*/
1517
interface PaymentAdditionalInfoInterface extends KeyValueObjectInterface
1618
{

app/code/Magento/Payment/Model/Method/TransparentInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
/**
1111
* Interface TransparentInterface need to be implemented by Payment Method service
1212
* which supports transparent redirect feature
13+
*
1314
* @package Magento\Payment\Model\Method
15+
* @api
1416
*/
1517
interface TransparentInterface extends MethodInterface
1618
{

app/code/Magento/Paypal/Helper/Shortcut/ValidatorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
76
namespace Magento\Paypal\Helper\Shortcut;
87

98
/**
109
* Interface \Magento\Paypal\Helper\Shortcut\ValidatorInterface
1110
*
11+
* @api
1212
*/
1313
interface ValidatorInterface
1414
{

app/code/Magento/Paypal/Model/Billing/AbstractAgreement.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* Billing Agreement abstract class
10+
*
11+
* @api
1012
*/
1113
abstract class AbstractAgreement extends \Magento\Framework\Model\AbstractModel
1214
{

app/code/Magento/Paypal/Model/Billing/Agreement/MethodInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* Interface for payment methods that support billing agreements management
10+
*
11+
* @api
1012
*/
1113
interface MethodInterface
1214
{

app/code/Magento/Paypal/Model/IpnInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/**
99
* Interface \Magento\Paypal\Model\IpnInterface
1010
*
11+
* @api
1112
*/
1213
interface IpnInterface
1314
{

0 commit comments

Comments
 (0)