Log in
Interface

GetLatsLngsFromAddressInterface

Magento\InventoryDistanceBasedSourceSelectionApi\Api\GetLatsLngsFromAddressInterface

What it does

This interface defines a contract for converting a physical address into geographical coordinates (latitude and longitude).

Developers would use implementations of this interface when they need to geocode shipping or inventory source addresses for distance-based calculations in Magento's Multi-Source Inventory (MSI) system, particularly for determining the nearest inventory source to a customer.

Public Methods

  • execute()