Model

SourceSelectionAlgorithm

Magento\InventorySourceSelection\Model\SourceSelectionAlgorithm

What it does

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

Developers use this model to register and identify different inventory source selection strategies (like priority-based or distance-based selection) that determine which warehouse or location should fulfill an order.

Each algorithm has a unique code, title, and description that helps merchants choose the appropriate fulfillment strategy.

Public Methods

  • getCode()
  • getTitle()
  • getDescription()
  • getExtensionAttributes()
  • setExtensionAttributes()