public class BroadleafBillingInfoController extends AbstractCheckoutController
addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, checkoutControllerExtensionManager, checkoutPageRedirect, checkoutService, checkoutView, countryService, countrySubdivisionService, customerAddressService, customerPaymentService, customerService, dtoTranslationService, fulfillmentGroupService, fulfillmentOptionService, giftCardInfoFormValidator, isoService, multishipAddAddressFormValidator, orderInfoFormValidator, orderMultishipOptionService, orderPaymentService, orderService, paymentGatewayCheckoutService, phoneService, shippingInfoFormValidator, stateService| Constructor and Description |
|---|
BroadleafBillingInfoController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyAddressToBillingAddress(BillingInfoForm billingInfoForm,
Address address) |
protected Phone |
copyPhone(Phone phoneToCopy,
Phone phoneToUpdate) |
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, 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)
protected void copyAddressToBillingAddress(BillingInfoForm billingInfoForm, Address address)
Copyright © 2015. All rights reserved.