RevertProductSaleInterface
Magento\CatalogInventory\Api\RevertProductSaleInterface
What it does
This interface defines a contract for reverting product sales in inventory, typically used when an order is cancelled or refunded and stock quantities need to be restored.
Developers would implement this interface to handle inventory adjustments when products need to be added back to available stock after a sale transaction is rolled back.
Note that this interface is deprecated and replaced by Multi Source Inventory (MSI) functionality.
Public Methods
- revertProductsSale()