Model
GetDistanceProviderCode
Magento\InventoryDistanceBasedSourceSelection\Model\GetDistanceProviderCode
What it does
This class retrieves the configured distance provider code used for distance-based source selection in Magento's Multi-Source Inventory (MSI).
Developers use this when they need to determine which distance calculation provider (like Google Maps API) is currently configured in the system to calculate distances between sources and shipping destinations.
Public Methods
- execute()