Model
SalesEventToArrayConverter
Magento\InventorySales\Model\SalesEventToArrayConverter
What it does
This class converts SalesEventInterface objects into array format suitable for JSON serialization.
Developers use this when they need to transform sales event data (like order placements or shipments) into a standard array structure for storage, logging, or API responses.
It extracts key event properties including type, object type, ID, and increment ID.
Public Methods
- execute()