Class PayflowLinkForm

java.lang.Object
org.apache.struts.action.ActionForm
All Implemented Interfaces:
Serializable

public class PayflowLinkForm extends BasicPaymentForm
Struts form class for submissions of payment information for PayPal Payflow Link during checkout. This form corresponds to the PayflowLinkProcessor payment processor.

The database settings "activePaymentProcessors", "activePaymentForms", and "activePaymentFormTemplate" represent the various payment methods available to users. During checkout, each of the "activePaymentForms" will be instantiated and prepared for display on the checkout payment screen. When the user submits payment information the validate method of the corresponding payment form is invoked.

The validate method of this class ensures that the incoming credit card information is valid and complete. It then parses the database settings for various PayflowLink fields and populates the corresponding form properties.

Author:
David Tobey
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

      static org.apache.commons.logging.Log log
    • description

      private String description
    • comment1

      private String comment1
    • comment2

      private String comment2
    • invoiceNumber

      private String invoiceNumber
    • poNumber

      private String poNumber
  • Constructor Details

    • PayflowLinkForm

      public PayflowLinkForm()
  • Method Details

    • getComment1

      public String getComment1()
    • setComment1

      public void setComment1(String comment1)
    • getComment2

      public String getComment2()
    • setComment2

      public void setComment2(String comment2)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getInvoiceNumber

      public String getInvoiceNumber()
    • setInvoiceNumber

      public void setInvoiceNumber(String invoiceNumber)
    • getPoNumber

      public String getPoNumber()
    • setPoNumber

      public void setPoNumber(String poNumber)
    • validate

      public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Overrides:
      validate in class BasicPaymentForm