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 org.broadleafcommerce.common.web.controller.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

    • ACTIVE_STAGE

      protected static String ACTIVE_STAGE
    • cartPageRedirect

      protected static String cartPageRedirect
    • checkoutView

      protected static String checkoutView
    • checkoutStagesPartial

      protected static String checkoutStagesPartial
    • checkoutPageRedirect

      protected static String checkoutPageRedirect
    • baseConfirmationView

      protected static String baseConfirmationView
    • paymentGatewayCheckoutService

      @Autowired(required=false) @Qualifier("blPaymentGatewayCheckoutService") protected org.broadleafcommerce.common.payment.service.PaymentGatewayCheckoutService paymentGatewayCheckoutService
    • orderService

      protected org.broadleafcommerce.core.order.service.OrderService orderService
    • orderPaymentService

      protected org.broadleafcommerce.core.payment.service.OrderPaymentService orderPaymentService
    • dtoTranslationService

      protected org.broadleafcommerce.core.payment.service.OrderToPaymentRequestDTOService dtoTranslationService
    • fulfillmentGroupService

      protected org.broadleafcommerce.core.order.service.FulfillmentGroupService fulfillmentGroupService
    • fulfillmentOptionService

      protected org.broadleafcommerce.core.order.service.FulfillmentOptionService fulfillmentOptionService
    • checkoutService

      protected org.broadleafcommerce.core.checkout.service.CheckoutService checkoutService
    • customerService

      protected org.broadleafcommerce.profile.core.service.CustomerService customerService
    • customerPaymentService

      protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
    • countryService

      protected org.broadleafcommerce.profile.core.service.CountryService countryService
    • countrySubdivisionService

      protected org.broadleafcommerce.profile.core.service.CountrySubdivisionService countrySubdivisionService
    • isoService

      protected org.broadleafcommerce.common.i18n.service.ISOService isoService
    • customerAddressService

      protected org.broadleafcommerce.profile.core.service.CustomerAddressService customerAddressService
    • addressService

      protected org.broadleafcommerce.profile.core.service.AddressService addressService
    • phoneService

      protected org.broadleafcommerce.profile.core.service.PhoneService phoneService
    • orderMultishipOptionService

      protected org.broadleafcommerce.core.order.service.OrderMultishipOptionService orderMultishipOptionService
    • shippingInfoFormValidator

      protected ShippingInfoFormValidator shippingInfoFormValidator
    • billingInfoFormValidator

      protected BillingInfoFormValidator billingInfoFormValidator
    • paymentInfoFormValidator

      protected CheckoutPaymentInfoFormValidator paymentInfoFormValidator
    • giftCardInfoFormValidator

      protected GiftCardInfoFormValidator giftCardInfoFormValidator
    • multishipAddAddressFormValidator

      protected MultishipAddAddressFormValidator multishipAddAddressFormValidator
    • orderInfoFormValidator

      protected OrderInfoFormValidator orderInfoFormValidator
    • cartStateService

      protected CartStateService cartStateService
    • initBinderService

      protected InitBinderService initBinderService
    • checkoutControllerExtensionManager

      protected BroadleafCheckoutControllerExtensionManager checkoutControllerExtensionManager
  • 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