Interface
QtyCounterInterface
Magento\CatalogInventory\Model\ResourceModel\QtyCounterInterface
What it does
This interface defines a contract for correcting inventory quantities of products in stock.
Developers would implement this interface when they need to adjust product quantities in bulk, such as after order placement, cancellation, or returns, using operators to either increase or decrease stock levels for products on a specific website.
Public Methods
- correctItemsQty()