public class CommerceMockGeoWebServiceWrapper extends java.lang.Object implements GeoWebServiceWrapper
| Constructor and Description |
|---|
CommerceMockGeoWebServiceWrapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatAddress(Location address)
Formats the address textual information depending on the implementation
|
GPS |
geocodeAddress(AddressData address)
Translate AddressData to IGPS using 3rd party service
|
GPS |
geocodeAddress(Location address)
Translate IAddress to IGPS using 3rd party service
|
protected BaseStoreService |
getBaseStoreService() |
protected java.util.Map<java.lang.String,GPS> |
getCountryIsoGPSLocationMap() |
DistanceAndRoute |
getDistanceAndRoute(GPS start,
Location destination)
Get distance and route that is between start GPS location and destination address
|
DistanceAndRoute |
getDistanceAndRoute(Location start,
Location destination)
Get distance and route that is between two addresses
|
void |
setBaseStoreService(BaseStoreService baseStoreService) |
void |
setCountryIsoGPSLocationMap(java.util.Map<java.lang.String,GPS> countryIsoGPSLocationMap) |
public GPS geocodeAddress(Location address)
GeoWebServiceWrappergeocodeAddress in interface GeoWebServiceWrapperpublic GPS geocodeAddress(AddressData address)
GeoWebServiceWrappergeocodeAddress in interface GeoWebServiceWrapperpublic DistanceAndRoute getDistanceAndRoute(Location start, Location destination)
GeoWebServiceWrappergetDistanceAndRoute in interface GeoWebServiceWrapperstart - Locationdestination - LocationDistanceAndRoutepublic DistanceAndRoute getDistanceAndRoute(GPS start, Location destination)
GeoWebServiceWrappergetDistanceAndRoute in interface GeoWebServiceWrapperstart - GPSdestination - LocationDistanceAndRoutepublic java.lang.String formatAddress(Location address)
GeoWebServiceWrapperformatAddress in interface GeoWebServiceWrapperaddress - LocationStringprotected BaseStoreService getBaseStoreService()
public void setBaseStoreService(BaseStoreService baseStoreService)
public void setCountryIsoGPSLocationMap(java.util.Map<java.lang.String,GPS> countryIsoGPSLocationMap)
protected java.util.Map<java.lang.String,GPS> getCountryIsoGPSLocationMap()
Copyright © 2018 SAP SE. All Rights Reserved.