Class WebPosEvents


  • public class WebPosEvents
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Constructor Summary

      Constructors 
      Constructor Description
      WebPosEvents()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String completeSale​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.lang.String emptyCartAndClearAutoSaveList​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.lang.String existsWebPosSession​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.lang.String getProductType​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static WebPosSession getWebPosSession​(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)  
      static java.lang.String posLogin​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static void removeWebPosSession​(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static java.lang.String module
    • Constructor Detail

      • WebPosEvents

        public WebPosEvents()
    • Method Detail

      • posLogin

        public static java.lang.String posLogin​(javax.servlet.http.HttpServletRequest request,
                                                javax.servlet.http.HttpServletResponse response)
                                         throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
      • existsWebPosSession

        public static java.lang.String existsWebPosSession​(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
      • getWebPosSession

        public static WebPosSession getWebPosSession​(javax.servlet.http.HttpServletRequest request,
                                                     java.lang.String posTerminalId)
      • removeWebPosSession

        public static void removeWebPosSession​(javax.servlet.http.HttpServletRequest request,
                                               java.lang.String posTerminalId)
      • completeSale

        public static java.lang.String completeSale​(javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws GeneralException
        Throws:
        GeneralException
      • emptyCartAndClearAutoSaveList

        public static java.lang.String emptyCartAndClearAutoSaveList​(javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response)
                                                              throws GeneralException
        Throws:
        GeneralException
      • getProductType

        public static java.lang.String getProductType​(javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)