Model
SalesEvent
Magento\InventorySales\Model\SalesEvent
What it does
This class represents a sales event in Magento's Multi-Source Inventory (MSI) system.
It captures information about inventory-related sales activities by storing the event type, object type (like order or shipment), and object ID.
Developers use this to track and process inventory adjustments triggered by sales operations such as order placement, cancellation, or refunds.
Public Methods
- getType()
- getObjectType()
- getObjectId()
- getExtensionAttributes()
- setExtensionAttributes()