Пример #1
0
 /**
  * set the number of a product in stock
  *
  * @param ID The name of the product you wish to set the stock count for
  * @param numberOfProducts The new stock count.
  */
 public static void setNumberOfProducts(String ID, int numberOfProducts) {
   itemDatabase.setNumber(ID, numberOfProducts);
 }