StockSourceLinkInterface
Magento\InventoryApi\Api\Data\StockSourceLinkInterface
What it does
This interface defines the data structure for linking inventory sources to stocks in Magento's Multi-Source Inventory (MSI) system.
Developers use this to associate specific warehouse/source locations with stock entities and set their priority order for inventory allocation.
It's essential when configuring which sources contribute to a particular stock and in what order inventory should be allocated.
Public Methods
- getStockId()
- setStockId()
- getSourceCode()
- setSourceCode()
- getPriority()
- setPriority()
- getExtensionAttributes()
- setExtensionAttributes()