Interface CustomerLocationFacade

  • All Known Implementing Classes:
    DefaultCustomerLocationFacade

    public interface CustomerLocationFacade
    Customer location facade. It is used for retrieving customer location data.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      UserLocationData getUserLocationData()
      Gets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user
      void setUserLocationData​(UserLocationData userLocationData)
      Sets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user If the searchQuery is null or only consists of spaces, it will be set as a blank string instead.
    • Method Detail

      • setUserLocationData

        void setUserLocationData​(UserLocationData userLocationData)
        Sets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user If the searchQuery is null or only consists of spaces, it will be set as a blank string instead.
        Parameters:
        userLocationData - user's location data
      • getUserLocationData

        UserLocationData getUserLocationData()
        Gets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user
        Returns:
        the user's location data