Log in
Model

ReservationExecution

Magento\InventorySalesAsyncOrder\Model\ReservationExecution

What it does

This class determines whether inventory reservation should be deferred when processing orders in Magento 2's Multi-Source Inventory (MSI) system.

Developers use this to control the timing of stock deductions - when async order processing is enabled but deferred stock updates are disabled, reservations happen immediately instead of being deferred, preventing overselling during asynchronous order placement.

Public Methods

  • isDeferred()