public class BroadleafBillingInfoController extends AbstractCheckoutController
addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, checkoutControllerExtensionManager, checkoutPageRedirect, checkoutService, checkoutView, countryService, customerAddressService, customerService, dtoTranslationService, fulfillmentGroupService, fulfillmentOptionService, giftCardInfoFormValidator, multishipAddAddressFormValidator, orderInfoFormValidator, orderMultishipOptionService, orderPaymentService, orderService, paymentGatewayCheckoutService, phoneService, shippingInfoFormValidator, stateService| Constructor and Description |
|---|
BroadleafBillingInfoController() |
| Modifier and Type | Method and Description |
|---|---|
protected Phone |
copyPhone(Phone phoneToCopy) |
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, populateModelWithReferenceDataaddDeepLink, getContextPath, isAjaxRequest, jsonResponsepublic 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, ServiceException
request - response - model - billingForm - ServiceExceptionPricingExceptionprotected void copyShippingAddressToBillingAddress(Order order, BillingInfoForm billingInfoForm)
Copyright © 2014. All Rights Reserved.