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
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected AddressServiceprotected static Stringprotected BillingInfoFormValidatorprotected static Stringprotected CartStateServiceprotected static Stringprotected CheckoutServiceprotected static Stringprotected static Stringprotected CountryServiceprotected CountrySubdivisionServiceprotected CustomerAddressServiceprotected CustomerPaymentServiceprotected CustomerServiceprotected OrderToPaymentRequestDTOServiceprotected FulfillmentGroupServiceprotected FulfillmentOptionServiceprotected GiftCardInfoFormValidatorprotected InitBinderServiceprotected ISOServiceprotected MultishipAddAddressFormValidatorprotected OrderInfoFormValidatorprotected OrderMultishipOptionServiceprotected OrderPaymentServiceprotected OrderServiceprotected PaymentGatewayCheckoutServiceprotected CheckoutPaymentInfoFormValidatorprotected PhoneServiceprotected ShippingInfoFormValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetConfirmationView(String orderNumber) protected voidinitBinder(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.bind.ServletRequestDataBinder binder) Initializes some custom binding operations for the checkout flow.protected voidpopulateModelWithReferenceData(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
addDeepLink, getContextPath, isAjaxRequest, jsonResponse
-
Field Details
-
ACTIVE_STAGE
-
cartPageRedirect
-
checkoutView
-
checkoutStagesPartial
-
checkoutPageRedirect
-
baseConfirmationView
-
paymentGatewayCheckoutService
@Autowired(required=false) @Qualifier("blPaymentGatewayCheckoutService") protected PaymentGatewayCheckoutService paymentGatewayCheckoutService -
orderService
-
orderPaymentService
-
dtoTranslationService
-
fulfillmentGroupService
-
fulfillmentOptionService
-
checkoutService
-
customerService
-
customerPaymentService
-
countryService
-
countrySubdivisionService
-
isoService
-
customerAddressService
-
addressService
-
phoneService
-
orderMultishipOptionService
-
shippingInfoFormValidator
-
billingInfoFormValidator
-
paymentInfoFormValidator
-
giftCardInfoFormValidator
-
multishipAddAddressFormValidator
-
orderInfoFormValidator
-
cartStateService
-
initBinderService
-
checkoutControllerExtensionManager
-
-
Constructor Details
-
AbstractCheckoutController
public AbstractCheckoutController()
-
-
Method Details
-
getCartPageRedirect
-
getCheckoutView
-
getCheckoutStagesPartial
-
getCheckoutPageRedirect
-
getBaseConfirmationView
-
getConfirmationView
-
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
-