Log in

InventoryDistanceBasedSourceSelection Module

Algorithms\DistanceBasedAlgorithm

Model

This class implements a distance-based source selection algorithm for Magento's Multi-Source Inventory (MSI). Developers use it when they need to dete...

Convert\AddressToComponentsString

Model

This class converts an address object into a formatted string of components used for geocoding or distance calculations in distance-based source selec...

Convert\AddressToQueryString

Model

This class converts an AddressInterface object into a formatted query string for geocoding or distance calculation purposes. Developers use this when...

Convert\AddressToString

Model

This class converts an AddressInterface object into a single string representation by concatenating address components (street, postcode, city, region...

Convert\LatLngToQueryString

Model

This class converts latitude and longitude coordinates into a comma-separated string format (e.g., '40.7128,-74.0060'). Developers use this when prepa...

DistanceProvider\GetDistanceFromSourceToAddress

Model

This class calculates the geographical distance between an inventory source location and a delivery address. Developers use this when implementing dis...

DistanceProvider\GetLatLngFromSource

Model

This class retrieves geographic coordinates (latitude and longitude) from an inventory source. If the source already has coordinates stored, it return...

DistanceProvider\GoogleMap\GetApiKey

Model

This class retrieves the Google Maps API key from Magento's configuration that is required for distance-based source selection calculations. Developer...

DistanceProvider\GoogleMap\GetDistance

Model

This class calculates the distance or travel time between two geographic coordinates using Google Maps Distance Matrix API. Developers use it when imp...

DistanceProvider\GoogleMap\GetGeoCodesForAddress

Model

This class retrieves geographic coordinates (latitude/longitude) for a given address by calling the Google Maps Geocoding API. Developers use this whe...

DistanceProvider\GoogleMap\GetLatLngFromAddress

Model

This class converts physical addresses into geographic coordinates (latitude/longitude) using Google Maps Geocoding API. Developers use this when impl...

DistanceProvider\GoogleMap\GetLatsLngsFromAddress

Model

This class retrieves geographic coordinates (latitude and longitude) from a physical address using Google Maps geocoding API. Developers use this when...

DistanceProvider\Offline\GetDistance

Model

This class calculates the geographic distance in meters between two points on Earth using their latitude and longitude coordinates. Developers use thi...

DistanceProvider\Offline\GetLatLngFromAddress

Model

This class converts physical addresses into geographic coordinates (latitude and longitude) using offline geocoding data stored in the database. Devel...

DistanceProvider\Offline\GetLatsLngsFromAddress

Model

This class retrieves geographic coordinates (latitude and longitude) from a physical address using offline GeoNames data stored in Magento's database....

GetDistanceProviderCode

Model

This class retrieves the configured distance provider code used for distance-based source selection in Magento's Multi-Source Inventory (MSI). Develop...

ImportGeoNames

Model

This class handles importing geographical data (postal codes, cities, coordinates) from the GeoNames database for a specific country. Developers use t...

LatLng

Model

This class represents a geographical coordinate pair (latitude and longitude) used in distance-based source selection for inventory. Developers use th...

ResourceModel\GetGeoNameDataByAddress

Model

This class retrieves geographical coordinate data from the inventory_geoname table based on an address. It uses a fallback mechanism, first trying to...

ResourceModel\GetGeoNamesDataByAddress

Model

This class retrieves geographical data (latitude, longitude, etc.) from the inventory_geoname database table based on a shipping address. Developers u...

ResourceModel\UpdateGeoNames

Model

This class manages geographic location data in Magento's Multi-Source Inventory (MSI) system for distance-based source selection. Developers use it to...