Model
Collector
Magento\InventoryReservationCli\Model\SalableQuantityInconsistency\Collector
What it does
This class collects and organizes inventory reservation and order data to identify inconsistencies between expected and actual salable quantities.
Developers use this when diagnosing inventory discrepancies through the CLI tool, as it aggregates reservations and orders by increment ID and stock ID to detect mismatches that need correction.
Public Methods
- addReservation()
- addOrder()
- addOrderData()
- getItems()
- setItems()