public class BroadleafManageCustomerCreditController
extends org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
Modifier and Type | Field and Description |
---|---|
protected static String |
accountCreditView |
protected static String |
checkoutPageRedirect |
protected CustomerCreditAccountService |
customerCreditAccountService |
ACTIVE_STAGE, addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, cartStateService, checkoutControllerExtensionManager, 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 |
---|
BroadleafManageCustomerCreditController() |
Modifier and Type | Method and Description |
---|---|
String |
applyCredit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.broadleafcommerce.core.web.checkout.model.CustomerCreditInfoForm creditInfoForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
getAccountCreditView() |
String |
getCheckoutPageRedirect() |
protected String |
viewAccountCredit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
getBaseConfirmationView, getCartPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceData
protected static String accountCreditView
protected static String checkoutPageRedirect
protected CustomerCreditAccountService customerCreditAccountService
public BroadleafManageCustomerCreditController()
protected String viewAccountCredit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String applyCredit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @ModelAttribute(value="creditInfoForm") org.broadleafcommerce.core.web.checkout.model.CustomerCreditInfoForm creditInfoForm, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingException
public String getAccountCreditView()
public String getCheckoutPageRedirect()
getCheckoutPageRedirect
in class org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutController
Copyright © 2019. All rights reserved.