Class SummaryCheckoutStepController

    • Constructor Detail

      • SummaryCheckoutStepController

        public SummaryCheckoutStepController()
    • Method Detail

      • validateOrderForm

        protected boolean validateOrderForm​(PlaceOrderForm placeOrderForm,
                                            org.springframework.ui.Model model)
        Validates the order form before to filter out invalid order states
        Parameters:
        placeOrderForm - The spring form of the order being submitted
        model - A spring Model
        Returns:
        True if the order form is invalid and false if everything is valid.
      • 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()