Class BroadleafManageCustomerPaymentsController

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

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

    • customerPaymentView

      protected static String customerPaymentView
    • customerPaymentRedirect

      protected static String customerPaymentRedirect
    • savedPaymentService

      protected SavedPaymentService savedPaymentService
    • customerPaymentService

      protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
    • customerAddressService

      protected org.broadleafcommerce.profile.core.service.CustomerAddressService customerAddressService
    • paymentInfoFormValidator

      protected AccountPaymentInfoFormValidator paymentInfoFormValidator
    • addressService

      protected org.broadleafcommerce.profile.core.service.AddressService addressService
    • initBinderService

      protected InitBinderService initBinderService
  • 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