Class Product

    • Field Detail

      • id

        private int id
      • price

        private double price
      • count

        private int count
    • Constructor Detail

      • Product

        public Product()
      • Product

        public Product​(String name,
                       double price,
                       int count)
    • Method Detail

      • getId

        public int getId()
      • setId

        protected void setId​(int id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getPrice

        public double getPrice()
      • setPrice

        public void setPrice​(double price)
      • getCount

        public int getCount()
      • setCount

        public void setCount​(int count)