public class BroadleafCheckoutController extends AbstractCheckoutController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
baseConfirmationRedirect |
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 |
|---|
BroadleafCheckoutController() |
| Modifier and Type | Method and Description |
|---|---|
String |
checkout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
Renders the default checkout page and allows modules to add variables to the model.
|
String |
getBaseConfirmationRedirect() |
protected String |
getConfirmationViewRedirect(String orderNumber) |
void |
handleProcessingException(Exception e,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
initiateCheckout(Long orderId) |
String |
processCompleteCheckoutOrderFinalized(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
If the order has been finalized.
|
String |
processPassthroughCheckout(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
PaymentType paymentType)
Creates a pass-through payment of the PaymentType passed in with
an amount equal to the order total after any non-final applied payments.
|
String |
saveGlobalOrderDetails(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
OrderInfoForm orderInfoForm,
org.springframework.validation.BindingResult result)
Attempts to attach the user's email to the order so that they may proceed anonymously
|
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceDataaddDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected static String baseConfirmationRedirect
public String checkout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
request - response - model - public String saveGlobalOrderDetails(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, OrderInfoForm orderInfoForm, org.springframework.validation.BindingResult result) throws ServiceException
request - model - orderInfoForm - result - ServiceExceptionpublic String processPassthroughCheckout(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, PaymentType paymentType) throws PaymentException, PricingException
redirectAttributes - paymentType - PaymentExceptionPricingExceptionpublic String processCompleteCheckoutOrderFinalized(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws PaymentException
ExceptionPaymentExceptionpublic void handleProcessingException(Exception e, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws PaymentException
PaymentExceptionpublic String getBaseConfirmationRedirect()
Copyright © 2015. All Rights Reserved.