public interface DistanceHelper
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDistanceStringForLocation(java.lang.String locationName,
double distanceInKm)
Gets the distance string for given distance value and the distance unit that is set in corresponding base store
model.
|
java.lang.String |
getDistanceStringForStore(BaseStoreModel baseStoreModel,
double distanceInKm)
Gets the distance string for given distance value and the distance unit that is set in the base store model.
|
java.lang.String getDistanceStringForStore(BaseStoreModel baseStoreModel, double distanceInKm)
baseStoreModel - the base store model that provide distance unitdistanceInKm - the distance in kmjava.lang.String getDistanceStringForLocation(java.lang.String locationName,
double distanceInKm)
locationName - the location namedistanceInKm - the distance in kmCopyright © 2018 SAP SE. All Rights Reserved.