com.softslate.commerce.customer.payment
Class FirstDataForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.payment.BasicPaymentForm
com.softslate.commerce.customer.payment.FirstDataForm
- All Implemented Interfaces:
- java.io.Serializable
public class FirstDataForm
- extends BasicPaymentForm
Struts form class for submissions of payment information for the First Data
Global Gateway during checkout. This form corresponds to the
FirstDataProcessor
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:
- Serialized Form
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Methods inherited from class com.softslate.commerce.customer.payment.BasicPaymentForm |
getCreditCardDate, getCreditCardExpirationMonth, getCreditCardExpirationYear, getCreditCardName, getCreditCardSecurityCode, getCreditCardType, getDecryptedNumber, getTextFromImage, setCreditCardDate, setCreditCardExpirationMonth, setCreditCardExpirationYear, setCreditCardName, setCreditCardSecurityCode, setCreditCardType, setDecryptedNumber, setTextFromImage, validateDate, validateJcaptcha, validateName, validateNumber, validateSecurityCode, validateType |
| Methods inherited from class com.softslate.commerce.customer.core.BaseForm |
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
certPath
private java.lang.String certPath
ipAddress
private java.lang.String ipAddress
comments
private java.lang.String comments
FirstDataForm
public FirstDataForm()
getCertPath
public java.lang.String getCertPath()
setCertPath
public void setCertPath(java.lang.String certPath)
getIpAddress
public java.lang.String getIpAddress()
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
getComments
public java.lang.String getComments()
setComments
public void setComments(java.lang.String comments)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate in class BasicPaymentForm
firstDataValidate
public org.apache.struts.action.ActionErrors firstDataValidate()
Copyright © SoftSlate, LLC 20032010