Class MultiStepCheckoutController

    • Constructor Detail

      • MultiStepCheckoutController

        public MultiStepCheckoutController()
    • Method Detail

      • enterStep

        @RequestMapping(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,
                                          de.hybris.platform.commerceservices.order.CommerceCartModificationException
        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
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • getTermsAndConditions

        @RequestMapping("/termsAndConditions")
        public java.lang.String getTermsAndConditions​(org.springframework.ui.Model model)
                                               throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
        Throws:
        de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      • performExpressCheckout

        @RequestMapping(value="/express",
                        method=GET)
        public java.lang.String performExpressCheckout​(org.springframework.ui.Model model,
                                                       org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
                                                throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException,
                                                       de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Express checkout.
        Parameters:
        model -
        redirectModel -
        Returns:
        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()