Log in
Model

SourceSelectionResult

Magento\InventorySourceSelection\Model\Result\SourceSelectionResult

What it does

This class represents the result of a source selection algorithm in Magento's Multi-Source Inventory (MSI) system.

Developers use it to access the selected inventory sources for order fulfillment, including which sources should fulfill which items and whether the order is fully shippable.

It's primarily used when determining from which warehouse or location to ship products to customers.

Public Methods

  • getSourceSelectionItems()
  • isShippable()
  • getExtensionAttributes()
  • setExtensionAttributes()