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:
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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

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

      private String deliveryCity
    • deliveryState

      private String deliveryState
    • deliveryPostalCode

      private String deliveryPostalCode
    • deliveryCountry

      private String deliveryCountry
  • Constructor Details

    • EstimatedShippingForm

      public EstimatedShippingForm()
  • Method Details

    • getDeliveryCity

      public String getDeliveryCity()
    • setDeliveryCity

      public void setDeliveryCity(String deliveryCity)
    • getDeliveryState

      public String getDeliveryState()
    • setDeliveryState

      public void setDeliveryState(String deliveryState)
    • getDeliveryPostalCode

      public String getDeliveryPostalCode()
    • setDeliveryPostalCode

      public void setDeliveryPostalCode(String deliveryPostalCode)
    • getDeliveryCountry

      public String getDeliveryCountry()
    • setDeliveryCountry

      public void setDeliveryCountry(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