Skip to content

Commit 99788b8

Browse files
committed
MSI-1735: Add @Deprecation notice to all interfaces and extension points
1 parent 3001311 commit 99788b8

34 files changed

+101
-1
lines changed

app/code/Magento/CatalogInventory/Api/Data/StockCollectionInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
* Interface StockCollectionInterface
1616
* @api
1717
* @since 100.0.2
18+
*
19+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
20+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1821
*/
1922
interface StockCollectionInterface extends SearchResultsInterface
2023
{

app/code/Magento/CatalogInventory/Api/Data/StockInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* Interface Stock
1212
* @api
1313
* @since 100.0.2
14+
*
15+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
16+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1417
*/
1518
interface StockInterface extends ExtensibleDataInterface
1619
{

app/code/Magento/CatalogInventory/Api/Data/StockItemCollectionInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
* Interface StockItemCollectionInterface
1616
* @api
1717
* @since 100.0.2
18+
*
19+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
20+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1821
*/
1922
interface StockItemCollectionInterface extends SearchResultsInterface
2023
{

app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* Interface StockItem
1212
* @api
1313
* @since 100.0.2
14+
*
15+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
16+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1417
*/
1518
interface StockItemInterface extends ExtensibleDataInterface
1619
{

app/code/Magento/CatalogInventory/Api/Data/StockStatusCollectionInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* Stock Status collection interface
1212
* @api
1313
* @since 100.0.2
14+
*
15+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
16+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1417
*/
1518
interface StockStatusCollectionInterface extends SearchResultsInterface
1619
{

app/code/Magento/CatalogInventory/Api/Data/StockStatusInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* Interface StockStatusInterface
1212
* @api
1313
* @since 100.0.2
14+
*
15+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
16+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1417
*/
1518
interface StockStatusInterface extends ExtensibleDataInterface
1619
{

app/code/Magento/CatalogInventory/Api/RegisterProductSaleInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
/**
1414
* @api
15+
*
16+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
17+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1518
*/
1619
interface RegisterProductSaleInterface
1720
{

app/code/Magento/CatalogInventory/Api/RevertProductSaleInterface.php

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

1010
/**
1111
* @api
12+
*
13+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
14+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1215
*/
1316
interface RevertProductSaleInterface
1417
{

app/code/Magento/CatalogInventory/Api/StockConfigurationInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* Interface StockConfigurationInterface
1010
* @api
1111
* @since 100.0.2
12+
*
13+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
14+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1215
*/
1316
interface StockConfigurationInterface
1417
{

app/code/Magento/CatalogInventory/Api/StockCriteriaInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* Interface StockCriteriaInterface
1010
* @api
1111
* @since 100.0.2
12+
*
13+
* @deprecated CatalogInventory will be replaced by Multi-Source Inventory (MSI)
14+
* see https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/inventory.html
1215
*/
1316
interface StockCriteriaInterface extends \Magento\Framework\Api\CriteriaInterface
1417
{

0 commit comments

Comments
 (0)