@Controller @RequestMapping(value="/account/giftcard") public class ManageGiftCardController extends BroadleafManageGiftCardController
accountCreditOrderPaymentService, accountRedeemGiftCardView, creditAccountService, customerCreditAccountService, giftCardAccountService, giftCardBalanceView, giftCardInfoFormValidator, LOG
ACTIVE_STAGE, addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, cartStateService, checkoutControllerExtensionManager, checkoutPageRedirect, checkoutService, checkoutStagesPartial, checkoutView, countryService, countrySubdivisionService, customerAddressService, customerPaymentService, customerService, dtoTranslationService, fulfillmentGroupService, fulfillmentOptionService, initBinderService, isoService, multishipAddAddressFormValidator, orderInfoFormValidator, orderMultishipOptionService, orderPaymentService, orderService, paymentGatewayCheckoutService, paymentInfoFormValidator, phoneService, shippingInfoFormValidator, stateService
Constructor and Description |
---|
ManageGiftCardController() |
Modifier and Type | Method and Description |
---|---|
String |
redeemGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result) |
String |
viewRedeemGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result) |
addGiftCardPayment, applyGiftCard, checkGiftCardBalance, findGiftCard, getAccountRedeemGiftCardView, getAppliedGiftCards, getGiftCardBalanceView, processGiftCardRedeem, removeGiftCard
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceData
@RequestMapping(value="/redeem", method=GET) public String viewRedeemGiftCard(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @ModelAttribute(value="giftCardInfoForm") org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm, org.springframework.validation.BindingResult result)
viewRedeemGiftCard
in class BroadleafManageGiftCardController
@RequestMapping(value="/redeem", method=POST) public String redeemGiftCard(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @ModelAttribute(value="giftCardInfoForm") org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm, org.springframework.validation.BindingResult result)
redeemGiftCard
in class BroadleafManageGiftCardController
Copyright © 2019. All rights reserved.