Interface
RegisterProductSaleInterface
Magento\CatalogInventory\Api\RegisterProductSaleInterface
What it does
This interface defines a contract for reducing product quantities from stock when products are sold.
Developers would implement this interface to handle inventory deductions during order placement, ensuring stock levels are properly decremented.
Note that this interface is deprecated and replaced by Magento's Multi Source Inventory (MSI) system.
Public Methods
- registerProductsSale()