Class ExtendedCustomersController
java.lang.Object
de.hybris.platform.acceleratorocc.controllers.ExtendedCustomersController
@Controller
@RequestMapping("/{baseSiteId}/customers")
public class ExtendedCustomersController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetUserLocation(Double latitude, Double longitude) setUserLocation(String location)
-
Constructor Details
-
ExtendedCustomersController
public ExtendedCustomersController()
-
-
Method Details
-
setUserLocation
@RequestMapping(value="/current/locationLatLong", method=PUT) @ResponseBody public UserLocationData setUserLocation(@RequestParam(required=true) Double latitude, @RequestParam(required=true) Double longitude) throws CommerceCartModificationException -
setUserLocation
@RequestMapping(value="/current/location", method=PUT) @ResponseBody public UserLocationData setUserLocation(@RequestParam(required=true) String location) throws NoLocationFoundException - Throws:
NoLocationFoundException
-
getUserLocation
@RequestMapping(value="/current/location", method=GET) @ResponseBody public UserLocationData getUserLocation() throws CommerceCartModificationException
-