StockManagementInterface
Magento\CatalogInventory\Api\StockManagementInterface
What it does
This interface defines the contract for managing stock quantities in Magento 2's catalog inventory system.
Developers would use implementations of this interface to restore product quantities back to stock, typically when orders are canceled, refunded, or credit memos are created.
Note that this interface is deprecated and replaced by Multi Source Inventory (MSI) in newer Magento versions.
Public Methods
- backItemQty()