Class AbstractCheckoutController

java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
Direct Known Subclasses:
BroadleafBillingInfoController, BroadleafCheckoutController, BroadleafPaymentInfoController, BroadleafShippingInfoController

public abstract class AbstractCheckoutController extends BroadleafAbstractController
An abstract controller that provides convenience methods and resource declarations for its children. Operations that are shared between controllers that deal with checkout belong here.
Author:
Andre Azzolini (apazzolini), Elbert Bautista (elbertbautista), Joshua Skorton (jskorton)
  • Field Details

  • Constructor Details

    • AbstractCheckoutController

      public AbstractCheckoutController()
  • Method Details

    • getCartPageRedirect

      public String getCartPageRedirect()
    • getCheckoutView

      public String getCheckoutView()
    • getCheckoutStagesPartial

      public String getCheckoutStagesPartial()
    • getCheckoutPageRedirect

      public String getCheckoutPageRedirect()
    • getBaseConfirmationView

      public String getBaseConfirmationView()
    • getConfirmationView

      protected String getConfirmationView(String orderNumber)
    • populateModelWithReferenceData

      protected void populateModelWithReferenceData(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
    • initBinder

      protected void initBinder(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.bind.ServletRequestDataBinder binder) throws Exception
      Initializes some custom binding operations for the checkout flow. More specifically, this method will attempt to bind state and country abbreviations to actual State and Country objects when the String representation of the abbreviation is submitted.
      Parameters:
      request -
      binder -
      Throws:
      Exception