Class ExtendedCartController


  • @Controller
    @RequestMapping("/{baseSiteId}/cart")
    public class ExtendedCartController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CartModificationDataList consolidatePickupLocations​(java.lang.String storeName)
      Web service handler for consolidating pickup locations
      Sample target URL : http://localhost:9001/rest/v1/cart/consolidate?storeName=Encoded%20Store%20Name
      Request Method = POST
      PointOfServiceDataList getConsolidatedPickupOptions()
      Web service handler for getting consolidated pickup options
      Sample target URL : http://localhost:9001/rest/v1/cart/consolidatedOptions
      Request Method = GET
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendedCartController

        public ExtendedCartController()
    • Method Detail

      • getConsolidatedPickupOptions

        @RequestMapping(value="/consolidate",
                        method=GET)
        @ResponseBody
        public PointOfServiceDataList getConsolidatedPickupOptions()
        Web service handler for getting consolidated pickup options
        Sample target URL : http://localhost:9001/rest/v1/cart/consolidatedOptions
        Request Method = GET
        Returns:
        PointOfServiceDataList as response body
      • consolidatePickupLocations

        @RequestMapping(value="/consolidate",
                        method=POST)
        @ResponseBody
        public CartModificationDataList consolidatePickupLocations​(@RequestParam(required=true)
                                                                   java.lang.String storeName)
                                                            throws CommerceCartModificationException
        Web service handler for consolidating pickup locations
        Sample target URL : http://localhost:9001/rest/v1/cart/consolidate?storeName=Encoded%20Store%20Name
        Request Method = POST
        Parameters:
        storeName - - name of store where items will be picked
        Returns:
        CartModificationDataList as response body
        Throws:
        CommerceCartModificationException