All Implemented Interfaces:
CheckoutStepController

@Controller @RequestMapping("/checkout/multi") public class MultiStepCheckoutController extends AbstractCheckoutStepController
MultiStepCheckoutController
  • Constructor Details

    • MultiStepCheckoutController

      public MultiStepCheckoutController()
  • Method Details

    • enterStep

      @RequestMapping(method=GET) public String enterStep(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws CMSItemNotFoundException, 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:
      CMSItemNotFoundException
      CommerceCartModificationException
    • getTermsAndConditions

      @RequestMapping(value="/termsAndConditions", method=GET) public String getTermsAndConditions(org.springframework.ui.Model model) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • performExpressCheckout

      @RequestMapping(value="/express", method=GET) public String performExpressCheckout(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException, CommerceCartModificationException
      Throws:
      CMSItemNotFoundException
      CommerceCartModificationException
    • processCart

      protected String processCart(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
    • back

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

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

      @RequestMapping(value="/getProductVariantMatrix", method=GET) public String getProductVariantMatrix(@RequestParam("productCode") String productCode, org.springframework.ui.Model model)
    • getProductVariantMatrixForResponsive

      @RequestMapping(value="/getReadOnlyProductVariantMatrix", method=GET) public String getProductVariantMatrixForResponsive(@RequestParam("productCode") String productCode, org.springframework.ui.Model model)
    • getCheckoutStep

      protected CheckoutStep getCheckoutStep()