Class SubCurrentLine

    • Constructor Detail

      • SubCurrentLine

        public SubCurrentLine​(PosBasePanel posPanel)
        Constructor
        Parameters:
        posPanel - POS Panel
    • Method Detail

      • init

        public void init()
        Initialize
        Specified by:
        init in class PosSubPanel
      • dispose

        public void dispose()
        Dispose - Free Resources
        Overrides:
        dispose in class PosSubPanel
      • updateTable

        public void updateTable​(PosOrderModel order)
        Update Table
        Parameters:
        order - order
      • setPrice

        public void setPrice​(BigDecimal price)
        Set Price
        Parameters:
        price -
      • getPrice

        public BigDecimal getPrice()
        Get Price
        Returns:
        price
      • setQty

        public void setQty​(BigDecimal qty)
        Set Qty
        Parameters:
        qty -
      • getQty

        public BigDecimal getQty()
        Get Qty
        Returns:
        qty
      • newLine

        public void newLine()
        New Line
      • saveLine

        public boolean saveLine()
        Save Line
        Returns:
        true if saved
      • getProduct

        public MProduct getProduct()
        Get Product
        Returns:
        product
      • setPrice

        public void setPrice()
        Set Price for defined product
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product
        Parameters:
        M_Product_ID - id