Interface
CompositeProductStockStatusProcessorInterface
Magento\InventoryCatalogApi\Model\CompositeProductStockStatusProcessorInterface
What it does
This interface defines a contract for updating the stock status of parent products (like configurable or bundle products) based on the stock status of their child products.
Developers would use implementations of this interface when child product inventory changes and the parent product's availability needs to be recalculated accordingly, ensuring that composite products correctly reflect whether they can be purchased.
Public Methods
- execute()