Interface
GetDistanceInterface
Magento\InventoryDistanceBasedSourceSelectionApi\Api\GetDistanceInterface
What it does
This interface defines a contract for calculating the distance between two geographic coordinates (latitude/longitude points) in Magento's Multi-Source Inventory system.
Developers use this when implementing distance-based source selection algorithms to determine how far inventory sources are from a destination, enabling the system to select the closest warehouse or pickup location for order fulfillment.
Public Methods
- execute()