Class CheckoutAddressesForm

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CheckoutComboShippingForm, EditOrderAddressesForm

public class CheckoutAddressesForm extends AddressesForm
Struts form class for submissions to record address information during checkout. Used for requests to "/CheckoutAddresses.do".

CheckoutAddressesForm is a subclass of AddressesForm, and it inherits its billing and delivery address properties.

The validate method of this class runs the validate method of AddressesForm to make sure all the required billing and delivery fields are present.

Author:
David Tobey
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

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

      private boolean isSubmitted
    • updateCustomer

      private String updateCustomer
      If "true" this property indicates that if the form is being submitted by a logged-in customer, the customer's account information should be updated.
    • emailerOptInApproval

      private String emailerOptInApproval
    • addToAddressBook

      private String addToAddressBook
    • addToBillingAddressBook

      private String addToBillingAddressBook
    • customerAddressID

      private String customerAddressID
    • customerBillingAddressID

      private String customerBillingAddressID
  • Constructor Details

    • CheckoutAddressesForm

      public CheckoutAddressesForm()
  • Method Details

    • isSubmitted

      public boolean isSubmitted()
    • setIsSubmitted

      public void setIsSubmitted(boolean isSubmitted)
    • getUpdateCustomer

      public String getUpdateCustomer()
    • setUpdateCustomer

      public void setUpdateCustomer(String updateCustomer)
    • getEmailerOptInApproval

      public String getEmailerOptInApproval()
    • setEmailerOptInApproval

      public void setEmailerOptInApproval(String emailerOptInApproval)
    • getAddToAddressBook

      public String getAddToAddressBook()
    • setAddToAddressBook

      public void setAddToAddressBook(String addToAddressBook)
    • getAddToBillingAddressBook

      public String getAddToBillingAddressBook()
    • setAddToBillingAddressBook

      public void setAddToBillingAddressBook(String addToBillingAddressBook)
    • getCustomerAddressID

      public String getCustomerAddressID()
    • setCustomerAddressID

      public void setCustomerAddressID(String customerAddressID)
    • getCustomerBillingAddressID

      public String getCustomerBillingAddressID()
    • setCustomerBillingAddressID

      public void setCustomerBillingAddressID(String customerBillingAddressID)
    • validate

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