Class CheckoutDeclineLoginAction

java.lang.Object
org.apache.struts.action.Action
com.softslate.commerce.customer.core.BaseAction
com.softslate.commerce.customer.order.CheckoutAction
com.softslate.commerce.customer.order.CheckoutDeclineLoginAction

public class CheckoutDeclineLoginAction extends CheckoutAction
Struts action class for submissions to continue checking out without logging in or registering for an account. Used for requests to "/CheckoutDeclineLogin.do".

The execute method of this class runs ActionUtils.findCheckoutScreen(BaseForm) to verifiy that the user is allowed to continue checkout without logging in. It then invokes CheckoutAction.processDeclineLogin(BaseForm) to process the request.

Author:
David Tobey
  • Field Details

    • log

      static org.apache.commons.logging.Log log
  • Constructor Details

    • CheckoutDeclineLoginAction

      public CheckoutDeclineLoginAction()
  • Method Details

    • execute

      public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Description copied from class: CheckoutAction
      Forwards the user to the appropriate checkout screen based on the status of the session and the store's database settings.
      Overrides:
      execute in class CheckoutAction
      Throws:
      Exception