StockItemConfigurationInterface
Magento\InventoryConfigurationApi\Api\Data\StockItemConfigurationInterface
What it does
This interface defines the contract for managing stock item configuration settings in Magento 2's Multi-Source Inventory (MSI) system.
Developers use this to get and set product stock-related configurations such as minimum/maximum sale quantities, backorder settings, quantity increments, and stock management flags.
It provides a standardized way to handle inventory configuration data that can either use global config values or product-specific overrides.
Public Methods
- isQtyDecimal()
- setIsQtyDecimal()
- isShowDefaultNotificationMessage()
- isUseConfigMinQty()
- setUseConfigMinQty()
- getMinQty()
- setMinQty()
- isUseConfigMinSaleQty()
- setUseConfigMinSaleQty()
- getMinSaleQty()
- setMinSaleQty()
- isUseConfigMaxSaleQty()
- setUseConfigMaxSaleQty()
- getMaxSaleQty()
- setMaxSaleQty()
- isUseConfigBackorders()
- setUseConfigBackorders()
- getBackorders()
- setBackorders()
- isUseConfigNotifyStockQty()
- setUseConfigNotifyStockQty()
- getNotifyStockQty()
- setNotifyStockQty()
- isUseConfigQtyIncrements()
- setUseConfigQtyIncrements()
- getQtyIncrements()
- setQtyIncrements()
- isUseConfigEnableQtyInc()
- setUseConfigEnableQtyInc()
- isEnableQtyIncrements()
- setEnableQtyIncrements()
- isUseConfigManageStock()
- setUseConfigManageStock()
- isManageStock()
- setManageStock()
- getLowStockDate()
- setLowStockDate()
- isDecimalDivided()
- setIsDecimalDivided()
- getStockStatusChangedAuto()
- setStockStatusChangedAuto()
- getStockThresholdQty()
- getExtensionAttributes()
- setExtensionAttributes()