Log in
Interface

SourceSelectionAlgorithmInterface

Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionAlgorithmInterface

What it does

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

Developers use this when creating custom algorithms that determine which inventory sources should fulfill orders, providing metadata like algorithm code, title, and description that appear in the admin panel for merchants to choose from.

Public Methods

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