Model
GetDistanceFromSourceToAddress
Magento\InventoryDistanceBasedSourceSelection\Model\DistanceProvider\GetDistanceFromSourceToAddress
What it does
This class calculates the geographical distance between an inventory source location and a delivery address.
Developers use this when implementing distance-based source selection algorithms to determine which warehouse or pickup location is closest to the customer's shipping address, enabling efficient order fulfillment routing.
Public Methods
- execute()