Interface StoreLocatorFacade

  • All Known Implementing Classes:
    DefaultStoreLocatorFacade

    public interface StoreLocatorFacade
    Store locator facade. Contains methods related to store locator functionality - finding points of services, sorting them by distance, retrieving details.
    • Method Detail

      • getLocationsForQuery

        Map getLocationsForQuery​(java.lang.String searchTerm,
                                 int limit)
                          throws MapServiceException
        Gets the locations for query. Returns locations for the given query string that can be postal code or town name. Locations number is limited to the given value.
        Parameters:
        searchTerm - the search term to look locations for. Can be postal code or town name
        limit - the maximum number of returned results
        Returns:
        the map of locations
        Throws:
        MapServiceException - the map service exception
      • getPOSForLocation

        PointOfServiceData getPOSForLocation​(Location location)
        Gets the point of service for the given location. If location is distance aware also fills information about distance.
        Parameters:
        location - the location
        Returns:
        the point of service for location