public class BroadleafBillingInfoController extends 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, stateService| Constructor and Description |
|---|
BroadleafBillingInfoController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyShippingAddressToBillingAddress(Order order,
BillingInfoForm billingInfoForm)
This method will copy the shipping address of the first fulfillment group on the order
to the billing address on the BillingInfoForm that is passed in.
|
String |
saveBillingAddress(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
BillingInfoForm billingForm,
org.springframework.validation.BindingResult result)
Processes the request to save a billing address.
|
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceDatapublic String saveBillingAddress(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, BillingInfoForm billingForm, org.springframework.validation.BindingResult result) throws PricingException, org.broadleafcommerce.common.exception.ServiceException
request - response - model - billingForm - org.broadleafcommerce.common.exception.ServiceExceptionPricingExceptionprotected void copyShippingAddressToBillingAddress(Order order, BillingInfoForm billingInfoForm)
Copyright © 2020. All rights reserved.