public class BroadleafShippingInfoController extends AbstractCheckoutController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
multishipAddAddressSuccessView |
protected static String |
multishipAddAddressView |
protected static String |
multishipSuccessView |
protected static String |
multishipView |
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 |
|---|
BroadleafShippingInfoController() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToSingleship(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
Converts the order to single ship by collapsing all of the shippable fulfillment groups into the default (first)
shippable fulfillment group.
|
protected void |
copyBillingAddressToShippingAddress(Order order,
ShippingInfoForm shippingInfoForm)
This method will copy the billing address of any CREDIT CARD order payment on the order
to the shipping address on the ShippingInfoForm that is passed in.
|
protected Phone |
copyPhone(Phone phoneToCopy) |
String |
getMultishipAddAddressSuccessView() |
String |
getMultishipAddAddressView() |
String |
getMultishipSuccessView() |
String |
getMultishipView() |
String |
saveMultiship(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
OrderMultishipOptionForm orderMultishipOptionForm,
org.springframework.validation.BindingResult result)
Processes the given options for multiship.
|
String |
saveMultishipAddAddress(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
ShippingInfoForm addressForm,
org.springframework.validation.BindingResult result)
Processes the requested add address from the multiship process.
|
String |
saveMultiShipInstruction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
MultiShipInstructionForm instructionForm) |
String |
saveSingleShip(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
ShippingInfoForm shippingForm,
org.springframework.validation.BindingResult result)
Processes the request to save a single shipping address.
|
String |
showMultiship(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
Renders the multiship page.
|
String |
showMultishipAddAddress(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
Renders the add address form during the multiship process
|
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceDataaddDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected static String multishipView
protected static String multishipAddAddressView
protected static String multishipAddAddressSuccessView
protected static String multishipSuccessView
public String getMultishipView()
public String getMultishipAddAddressView()
public String getMultishipSuccessView()
public String getMultishipAddAddressSuccessView()
public String convertToSingleship(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model) throws PricingException
request - response - model - PricingExceptionpublic String saveSingleShip(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, ShippingInfoForm shippingForm, org.springframework.validation.BindingResult result) throws PricingException, ServiceException
request - response - model - shippingForm - ServiceExceptionPricingExceptionprotected void copyBillingAddressToShippingAddress(Order order, ShippingInfoForm shippingInfoForm)
public String showMultiship(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
request - response - model - public String saveMultiship(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, OrderMultishipOptionForm orderMultishipOptionForm, org.springframework.validation.BindingResult result) throws PricingException, ServiceException
request - response - model - orderMultishipOptionForm - PricingExceptionServiceExceptionshowMultiship(HttpServletRequest, HttpServletResponse, Model)public String showMultishipAddAddress(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
request - response - model - public String saveMultishipAddAddress(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, ShippingInfoForm addressForm, org.springframework.validation.BindingResult result) throws ServiceException
request - response - model - addressForm - ServiceExceptionpublic String saveMultiShipInstruction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, MultiShipInstructionForm instructionForm) throws ServiceException, PricingException
ServiceExceptionPricingExceptionCopyright © 2015. All Rights Reserved.