Log in
Model

GetSourceSelectionAlgorithmList

Magento\InventorySourceSelectionApi\Model\GetSourceSelectionAlgorithmList

What it does

This class retrieves a list of all available source selection algorithms configured in the system.

Developers use it when they need to display or work with multiple inventory source selection strategies, such as priority-based or distance-based algorithms.

The execute() method returns an array of SourceSelectionAlgorithmInterface objects containing each algorithm's code, title, and description.

Public Methods

  • execute()