public class BroadleafManageCustomerPaymentsController extends BroadleafAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.profile.core.service.AddressService |
addressService |
protected org.broadleafcommerce.profile.core.service.CustomerAddressService |
customerAddressService |
protected static String |
customerPaymentRedirect |
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService |
customerPaymentService |
protected static String |
customerPaymentView |
protected InitBinderService |
initBinderService |
protected AccountPaymentInfoFormValidator |
paymentInfoFormValidator |
protected SavedPaymentService |
savedPaymentService |
| Constructor and Description |
|---|
BroadleafManageCustomerPaymentsController() |
| Modifier and Type | Method and Description |
|---|---|
String |
addCustomerPayment(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
PaymentInfoForm paymentInfoForm,
org.springframework.validation.BindingResult bindingResult) |
String |
getCustomerPaymentRedirect() |
String |
getCustomerPaymentView() |
protected void |
initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder) |
String |
makeDefaultCustomerPayment(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Long customerPaymentId) |
String |
removeCustomerPayment(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Long customerPaymentId) |
String |
viewCustomerPayments(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
PaymentInfoForm paymentInfoForm) |
addDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected static String customerPaymentView
protected static String customerPaymentRedirect
protected SavedPaymentService savedPaymentService
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
protected org.broadleafcommerce.profile.core.service.CustomerAddressService customerAddressService
protected AccountPaymentInfoFormValidator paymentInfoFormValidator
protected org.broadleafcommerce.profile.core.service.AddressService addressService
protected InitBinderService initBinderService
public BroadleafManageCustomerPaymentsController()
public String viewCustomerPayments(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentInfoForm paymentInfoForm)
public String addCustomerPayment(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentInfoForm paymentInfoForm, org.springframework.validation.BindingResult bindingResult)
public String makeDefaultCustomerPayment(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerPaymentId)
public String removeCustomerPayment(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerPaymentId)
public String getCustomerPaymentView()
public String getCustomerPaymentRedirect()
Copyright © 2022. All rights reserved.