Log in
Interface

StockSearchResultsInterface

Magento\InventoryApi\Api\Data\StockSearchResultsInterface

What it does

This interface defines the structure for search results when querying stock records in Magento's Multi-Source Inventory (MSI) system.

Developers use this when retrieving lists of stock entities through repository methods, as it provides standardized methods to get and set the collection of StockInterface objects returned from search operations.

Public Methods

  • getItems()
  • setItems()