InventoryConfigurationInterface
Magento\InventoryConfigurationApi\Model\InventoryConfigurationInterface
What it does
This interface defines methods for retrieving inventory configuration settings in Magento 2's Multi-Source Inventory (MSI) system.
Developers use this to check stock management rules like minimum/maximum sale quantities, backorder settings, quantity increments, and stock visibility options.
It provides a consistent way to access store-specific inventory configuration values throughout the application.
Public Methods
- canSubtractQty()
- getMinQty()
- getMinSaleQty()
- getMaxSaleQty()
- getNotifyStockQty()
- isQtyIncrementsEnabled()
- getQtyIncrements()
- getBackorders()
- getManageStock()
- isCanBackInStock()
- isShowOutOfStock()
- isAutoReturnEnabled()
- isDisplayProductStockStatus()