Package com.hybris.cis.client.mock
Class GeolocationClientMock
- java.lang.Object
-
- com.hybris.cis.client.mock.SharedClientMock
-
- com.hybris.cis.client.mock.GeolocationClientMock
-
- All Implemented Interfaces:
CisClient,GeolocationClient
public class GeolocationClientMock extends SharedClientMock implements GeolocationClient
Mock implementation ofGeolocationClientMock
-
-
Field Summary
-
Fields inherited from class com.hybris.cis.client.mock.SharedClientMock
PING_FAIL
-
-
Constructor Summary
Constructors Constructor Description GeolocationClientMock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationResultgetGeolocation(java.lang.String xCisClientRef, java.lang.String tenantId, CisLocationRequest location)Get geolocations of the different addresses contained in request.-
Methods inherited from class com.hybris.cis.client.mock.SharedClientMock
createRawResponseWithStatus, doPing
-
-
-
-
Method Detail
-
getGeolocation
public GeoLocationResult getGeolocation(@HeaderParam("X-CIS-Client-ref") java.lang.String xCisClientRef, @HeaderParam("X-tenantId") java.lang.String tenantId, CisLocationRequest location)
Description copied from interface:GeolocationClientGet geolocations of the different addresses contained in request.- Specified by:
getGeolocationin interfaceGeolocationClient- Parameters:
xCisClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerlocation- the addresses to verify- Returns:
- see
GeoLocationResultå
-
-