Interface
SalesEventInterface
Magento\InventorySalesApi\Api\Data\SalesEventInterface
What it does
This interface defines the contract for sales events that trigger inventory reservations in Magento's Multi-Source Inventory (MSI) system.
Developers use this to track order lifecycle events (placed, canceled, shipped, invoiced, etc.) that affect inventory quantities, enabling the system to properly reserve and release stock based on customer purchases and order changes.
Public Methods
- getType()
- getObjectType()
- getObjectId()
- getExtensionAttributes()
- setExtensionAttributes()