Log in
Interface

SourceSelectionResultInterface

Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionResultInterface

What it does

This interface defines the contract for source selection algorithm results in Magento's Multi-Source Inventory (MSI) system.

Developers use it to understand which inventory sources should be used to fulfill an order and whether the requested items can be shipped.

It contains source selection items that specify quantities to deduct from each source and a shippable flag indicating fulfillment feasibility.

Public Methods

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