Class PickupLocationCheckoutStepController

    • Constructor Detail

      • PickupLocationCheckoutStepController

        public PickupLocationCheckoutStepController()
    • Method Detail

      • enterStep

        @RequestMapping(value="/choose",
                        method=GET)
        public java.lang.String enterStep​(org.springframework.ui.Model model,
                                          org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                                   throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
        Description copied from interface: CheckoutStepController
        Swapping the parameter order might break the validation aspect from working.
        Returns:
        returns the result for entering the checkout step
        Throws:
        de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      • doSelectDeliveryLocation

        @RequestMapping(value="/choose",
                        method=POST)
        public java.lang.String doSelectDeliveryLocation​(@RequestParam("posName")
                                                         java.lang.String posName,
                                                         org.springframework.ui.Model model,
                                                         org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                                                  throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException,
                                                         de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Throws:
        de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • back

        @RequestMapping(value="/back",
                        method=GET)
        public java.lang.String back​(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
        Returns:
        checkoutstep link for navigating back
      • next

        @RequestMapping(value="/next",
                        method=GET)
        public java.lang.String next​(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
        Returns:
        checkoutstep link for navigating next
      • getCheckoutStep

        protected CheckoutStep getCheckoutStep()