Class SummaryCheckoutStepController

All Implemented Interfaces:
CheckoutStepController

@Controller @RequestMapping("/checkout/multi/summary") public class SummaryCheckoutStepController extends AbstractCheckoutStepController
Checkout controller.
  • Constructor Details

    • SummaryCheckoutStepController

      public SummaryCheckoutStepController()
  • Method Details

    • enterStep

      @RequestMapping(value="/view", method=GET) public 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
    • placeOrder

      @RequestMapping("/placeOrder") public String placeOrder(@ModelAttribute("placeOrderForm") PlaceOrderForm placeOrderForm, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException, de.hybris.platform.order.InvalidCartException, de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Place order form.
      Parameters:
      placeOrderForm -
      model -
      request -
      redirectModel -
      Returns:
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      de.hybris.platform.order.InvalidCartException
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • authorizePayment

      protected boolean authorizePayment(PlaceOrderForm placeOrderForm)
    • 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 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
    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
    • getCheckoutStep

      protected CheckoutStep getCheckoutStep()
    • getTmaOrderEntryFacade

      protected TmaOrderEntryFacade getTmaOrderEntryFacade()