Model
GetBackorder
Magento\InventorySales\Model\GetBackorder
What it does
This class determines if a product can be backordered and calculates the backorder quantity when requested quantity exceeds available stock.
Developers use this when processing cart items or checkout to validate product availability, display backorder notifications to customers, and calculate how many units will be on backorder for a given product and stock combination.
Public Methods
- execute()