Model
StockIdResolver
Magento\InventorySales\Model\ResourceModel\StockIdResolver
What it does
This resource model resolves and retrieves the stock ID associated with a specific sales channel (like a website or store).
Developers use this class when they need to determine which inventory stock is linked to a particular sales channel by providing the channel type and code, which is essential for multi-source inventory management.
Public Methods
- resolve()