StockByWebsiteIdResolverInterface
Magento\InventorySalesApi\Model\StockByWebsiteIdResolverInterface
What it does
This interface defines a contract for resolving which inventory stock is associated with a given website ID in Magento's Multi-Source Inventory (MSI) system.
Developers use this when they need to determine the correct stock source for inventory calculations, availability checks, or order processing based on a website's configuration.
It's essential for multi-website setups where different websites may use different inventory stocks.
Public Methods
- execute()