@Controller public class GiftCardController extends BroadleafManageGiftCardController
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
accountCreditOrderPaymentService, accountRedeemGiftCardView, creditAccountService, customerCreditAccountService, giftCardAccountService, giftCardBalanceView, giftCardInfoFormValidatorACTIVE_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 |
|---|
GiftCardController() |
| Modifier and Type | Method and Description |
|---|---|
String |
applyGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.broadleafcommerce.core.web.checkout.model.OrderInfoForm orderInfoForm,
org.broadleafcommerce.core.web.checkout.model.ShippingInfoForm shippingForm,
org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm,
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result) |
protected void |
initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder) |
String |
removeGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
org.broadleafcommerce.core.web.checkout.model.OrderInfoForm orderInfoForm,
org.broadleafcommerce.core.web.checkout.model.ShippingInfoForm shippingForm,
org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm,
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result) |
addGiftCardPayment, applyGiftCard, checkGiftCardBalance, findGiftCard, getAccountRedeemGiftCardView, getAppliedGiftCards, getGiftCardBalanceView, processGiftCardRedeem, redeemGiftCard, removeGiftCard, viewRedeemGiftCardgetBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, populateModelWithReferenceData@RequestMapping(value="/checkout/giftcard/apply",
method=POST)
public String applyGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@ModelAttribute(value="orderInfoForm")
org.broadleafcommerce.core.web.checkout.model.OrderInfoForm orderInfoForm,
@ModelAttribute(value="shippingInfoForm")
org.broadleafcommerce.core.web.checkout.model.ShippingInfoForm shippingForm,
@ModelAttribute(value="billingInfoForm")
org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm,
@ModelAttribute(value="giftCardInfoForm")
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result)
throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingException@RequestMapping(value="/checkout/giftcard/remove",
method=GET)
public String removeGiftCard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@ModelAttribute(value="orderInfoForm")
org.broadleafcommerce.core.web.checkout.model.OrderInfoForm orderInfoForm,
@ModelAttribute(value="shippingInfoForm")
org.broadleafcommerce.core.web.checkout.model.ShippingInfoForm shippingForm,
@ModelAttribute(value="billingInfoForm")
org.broadleafcommerce.core.web.checkout.model.BillingInfoForm billingForm,
@ModelAttribute(value="giftCardInfoForm")
org.broadleafcommerce.core.web.checkout.model.GiftCardInfoForm giftCardInfoForm,
org.springframework.validation.BindingResult result)
throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingException@InitBinder
protected void initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
initBinder in class org.broadleafcommerce.core.web.controller.checkout.AbstractCheckoutControllerExceptionCopyright © 2019. All rights reserved.