public void buyingProducts(){
while (money > getRandomProduct().getPrice() || currentWeight < maxWeight){
boughtProducts.add(getRandomProduct());
money -= getRandomProduct().getPrice();
currentWeight += getRandomProduct().getWeight();
}
System.out.println("Купил товары: ");
boughtProducts.forEach(System.out::println);
}