GetStockItemDataInterface
Magento\InventorySalesApi\Model\GetStockItemDataInterface
What it does
This interface defines a contract for retrieving stock item data for a specific product SKU and stock ID.
Developers use this to get inventory information including quantity and salability status for a product in a particular stock source.
It's commonly used when checking product availability or displaying stock information to customers in multi-source inventory scenarios.
Public Methods
- execute()