com.softslate.commerce.customer.payment
Class CheckPaymentForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.softslate.commerce.customer.core.BaseForm
          extended bycom.softslate.commerce.customer.payment.CheckPaymentForm
All Implemented Interfaces:
java.io.Serializable

public class CheckPaymentForm
extends BaseForm

Struts form class for users electing to send the store payment by check or money order. Stores can use this to offer payment by check as an option for their customers. Payment will be marked "Pending". Once the payment is received, the store can look up and process the order.

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 simply returns a success result.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private static long serialVersionUID
           
 
Fields inherited from class com.softslate.commerce.customer.core.BaseForm
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CheckPaymentForm()
           
 
Method Summary
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettingsBean, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettingsBean, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log
Constructor Detail

CheckPaymentForm

public CheckPaymentForm()
Method Detail

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)


Copyright © SoftSlate, Inc. 2003–2005