Class BroadleafI18nBillingInfoController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
com.broadleafcommerce.i18n.enterprise.web.controller.AbstractI18nCheckoutController
com.broadleafcommerce.i18n.enterprise.web.controller.BroadleafI18nBillingInfoController
Additional Method to clear the Billing Address on the Order if there is a request to change the country
on an already persisted Address.
This is required to re-render the DynamicRegionalForm
for a particular ISOCountry
- Author:
- Elbert Bautista (elbertbautista)
-
Field Summary
FieldsFields inherited from class com.broadleafcommerce.i18n.enterprise.web.controller.AbstractI18nCheckoutController
dynamicRegionalFormServiceFields inherited from class org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
ACTIVE_STAGE, addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, cartStateService, checkoutControllerExtensionManager, checkoutPageRedirect, checkoutService, checkoutStagesPartial, checkoutView, countryService, countrySubdivisionService, customerAddressService, customerPaymentService, customerService, dtoTranslationService, fulfillmentGroupService, fulfillmentOptionService, giftCardInfoFormValidator, initBinderService, isoService, multishipAddAddressFormValidator, orderInfoFormValidator, orderMultishipOptionService, orderPaymentService, orderService, paymentGatewayCheckoutService, paymentInfoFormValidator, phoneService, shippingInfoFormValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeBillingAddressCountry(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm, org.springframework.validation.BindingResult result) Methods inherited from class com.broadleafcommerce.i18n.enterprise.web.controller.AbstractI18nCheckoutController
populateFormData, populateISOCountriesMethods inherited from class org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceDataMethods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
addDeepLink, getContextPath, isAjaxRequest, jsonResponse
-
Field Details
-
billingView
- See Also:
-
-
Constructor Details
-
BroadleafI18nBillingInfoController
public BroadleafI18nBillingInfoController()
-
-
Method Details
-
changeBillingAddressCountry
public String changeBillingAddressCountry(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm, org.springframework.validation.BindingResult result) throws org.broadleafcommerce.core.pricing.service.exception.PricingException, org.broadleafcommerce.common.exception.ServiceException - Throws:
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionorg.broadleafcommerce.common.exception.ServiceException
-
getBillingView
-