Class BroadleafManageCustomerPaymentsController

java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.core.web.controller.account.BroadleafManageCustomerPaymentsController

public class BroadleafManageCustomerPaymentsController extends BroadleafAbstractController
This is the page controller for adding, updating, and deleting a customer's saved payments.
Author:
Chris Kittrell (ckittrell), Jacob Mitash
  • Field Details

  • Constructor Details

    • BroadleafManageCustomerPaymentsController

      public BroadleafManageCustomerPaymentsController()
  • Method Details

    • viewCustomerPayments

      public String viewCustomerPayments(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentInfoForm paymentInfoForm)
    • addCustomerPayment

      public String addCustomerPayment(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, PaymentInfoForm paymentInfoForm, org.springframework.validation.BindingResult bindingResult)
    • makeDefaultCustomerPayment

      public String makeDefaultCustomerPayment(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerPaymentId)
    • removeCustomerPayment

      public String removeCustomerPayment(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerPaymentId)
    • getCustomerPaymentView

      public String getCustomerPaymentView()
    • getCustomerPaymentRedirect

      public String getCustomerPaymentRedirect()
    • initBinder

      @InitBinder protected void initBinder(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.bind.ServletRequestDataBinder binder) throws Exception
      Throws:
      Exception