Log in
Interface

GetDistanceProviderCodeInterface

Magento\InventoryDistanceBasedSourceSelectionApi\Api\GetDistanceProviderCodeInterface

What it does

This interface defines a contract for retrieving the currently configured distance provider code used in distance-based source selection algorithms.

Developers would use implementations of this interface when they need to determine which distance calculation provider (like Google Maps or offline calculators) is active for calculating distances between sources and shipping destinations in multi-source inventory management.

Public Methods

  • execute()