Class CheckoutSettingsAction

java.lang.Object
org.apache.struts.action.Action

public class CheckoutSettingsAction extends CheckoutAction
Struts action class for requests to "/CheckoutSettings.do". This action simply returns some useful configuration settings in JSON for clients using the API.

The execute method of this class first runs ActionUtils.findCheckoutScreen(BaseForm) to verifiy that the user has made it this far in the checkout process. It then invokes CheckoutAction.processCheckoutConfirm(BaseForm) to process the request.

Author:
David Tobey
  • Field Details

    • log

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

    • CheckoutSettingsAction

      public CheckoutSettingsAction()
  • 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