Log in

InventoryDistanceBasedSourceSelectionApi Module

Api\Data\LatLngInterface

Interface

This interface defines a Data Transfer Object (DTO) for geographic coordinates used in distance-based source selection. Developers use this when imple...

Api\GetDistanceInterface

Interface

This interface defines a contract for calculating the distance between two geographic coordinates (latitude/longitude points) in Magento's Multi-Sourc...

Api\GetDistanceProviderCodeInterface

Interface

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

Api\GetLatLngFromAddressInterface

Interface

This interface defines a contract for converting physical addresses into geographic coordinates (latitude and longitude). Developers use this when imp...

Api\GetLatsLngsFromAddressInterface

Interface

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

GetDistance

Model

This class calculates the distance between two geographical points (latitude/longitude coordinates) using a configurable distance provider. Developers...

GetLatLngFromAddress

Model

This class converts physical addresses into geographic coordinates (latitude and longitude) for Magento 2's distance-based inventory source selection....

GetLatsLngsFromAddress

Model

This class retrieves latitude and longitude coordinates from a physical address by delegating to configured distance provider implementations (like Go...