Class MockedGeoServiceWrapper
java.lang.Object
de.hybris.platform.storelocator.impl.CommerceMockGeoWebServiceWrapper
de.hybris.platform.ycommercewebservicestest.storelocator.impl.MockedGeoServiceWrapper
- All Implemented Interfaces:
GeoWebServiceWrapper
Mock wrapper to avoid communication with google geo-location services.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongeocodeAddress(AddressData address) Translate AddressData to IGPS using 3rd party servicegeocodeAddress(Location address) Translate IAddress to IGPS using 3rd party serviceMethods inherited from class de.hybris.platform.storelocator.impl.CommerceMockGeoWebServiceWrapper
formatAddress, getBaseStoreService, getCountryIsoGPSLocationMap, getDistanceAndRoute, getDistanceAndRoute, setBaseStoreService, setCountryIsoGPSLocationMap
-
Constructor Details
-
MockedGeoServiceWrapper
-
-
Method Details
-
geocodeAddress
Description copied from interface:GeoWebServiceWrapperTranslate IAddress to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Overrides:
geocodeAddressin classCommerceMockGeoWebServiceWrapper- Returns:
- IGPS
- Throws:
GeoServiceWrapperException
-
geocodeAddress
Description copied from interface:GeoWebServiceWrapperTranslate AddressData to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Overrides:
geocodeAddressin classCommerceMockGeoWebServiceWrapper- Returns:
- IGPS
- Throws:
GeoServiceWrapperException
-