com.softslate.commerce.customer.order
Class EstimatedShippingForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.order.EstimatedShippingForm
- All Implemented Interfaces:
- java.io.Serializable
public class EstimatedShippingForm
- extends BaseForm
Struts form class representing the delivery information prompted for on the
cart page to calculated estimated shipping. It s used for submissions to
"/EstimatedShipping.do".
The validate
method of this class first checks to see if the
user submitted values for the delivery postal code, state and country, which
are required to calculate shipping.
- 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.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
deliveryCity
private java.lang.String deliveryCity
deliveryState
private java.lang.String deliveryState
deliveryPostalCode
private java.lang.String deliveryPostalCode
deliveryCountry
private java.lang.String deliveryCountry
EstimatedShippingForm
public EstimatedShippingForm()
getDeliveryCity
public java.lang.String getDeliveryCity()
setDeliveryCity
public void setDeliveryCity(java.lang.String deliveryCity)
getDeliveryState
public java.lang.String getDeliveryState()
setDeliveryState
public void setDeliveryState(java.lang.String deliveryState)
getDeliveryPostalCode
public java.lang.String getDeliveryPostalCode()
setDeliveryPostalCode
public void setDeliveryPostalCode(java.lang.String deliveryPostalCode)
getDeliveryCountry
public java.lang.String getDeliveryCountry()
setDeliveryCountry
public void setDeliveryCountry(java.lang.String deliveryCountry)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in class org.apache.struts.action.ActionForm
Copyright © SoftSlate, LLC 20032005