Interface
StockItemCollectionInterface
Magento\CatalogInventory\Api\Data\StockItemCollectionInterface
What it does
This interface defines a collection of stock item data objects returned from search operations in Magento's inventory system.
Developers use it to work with multiple stock items at once, typically as a result of repository search queries.
Note that this interface is deprecated since version 100.3.0 and has been replaced by the Multi Source Inventory (MSI) system.
Public Methods
- getItems()
- setItems()
- getSearchCriteria()