Class LocationDtoWrapper

java.lang.Object
de.hybris.platform.storelocator.location.impl.LocationDtoWrapper
All Implemented Interfaces:
Location

public class LocationDtoWrapper extends Object implements Location
Implementation of Location applicable for LocationDTO originating from external services
  • Constructor Details

    • LocationDtoWrapper

      public LocationDtoWrapper(AddressData addressData, GPS gps)
      Parameters:
      addressData -
      gps -
    • LocationDtoWrapper

      public LocationDtoWrapper(LocationDTO locationDto)
  • Method Details

    • getAddressData

      public AddressData getAddressData()
      Description copied from interface: Location
      Get AddressData object
      Specified by:
      getAddressData in interface Location
      Returns:
      String
    • getCountry

      public String getCountry()
      Description copied from interface: Location
      Get the address'es country ISO code
      Specified by:
      getCountry in interface Location
      Returns:
      String
    • getDescription

      public String getDescription()
      Description copied from interface: Location
      Returns a POS description
      Specified by:
      getDescription in interface Location
      Returns:
      String
    • getGPS

      public GPS getGPS()
      Description copied from interface: Location
      Getting the geographic coordinates of the IAddress
      Specified by:
      getGPS in interface Location
      Returns:
      GPS
    • getMapIconUrl

      public String getMapIconUrl()
      Description copied from interface: Location
      returns MapIcon that is to be displayed on the map to represent this location
      Specified by:
      getMapIconUrl in interface Location
      Returns:
      String
    • getName

      public String getName()
      Description copied from interface: Location
      Return name
      Specified by:
      getName in interface Location
      Returns:
      String
    • getTextualAddress

      public String getTextualAddress()
      Description copied from interface: Location
      Getting the textual address of the IAddress
      Specified by:
      getTextualAddress in interface Location
      Returns:
      String
    • getType

      public String getType()
      Specified by:
      getType in interface Location
      Returns:
      String describing location type