@Controller @RequestMapping(value="/account/credit") public class ManageCustomerCreditController extends BroadleafManageCustomerCreditController
accountCreditView, checkoutPageRedirect, 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 |
---|
ManageCustomerCreditController() |
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 |
viewAccountCredit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
getAccountCreditView, getCheckoutPageRedirect
getBaseConfirmationView, getCartPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceData
@RequestMapping(method=GET) public String viewAccountCredit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
viewAccountCredit
in class BroadleafManageCustomerCreditController
@RequestMapping(value="/apply", method=POST) 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
applyCredit
in class BroadleafManageCustomerCreditController
org.broadleafcommerce.core.pricing.service.exception.PricingException
Copyright © 2019. All rights reserved.