private void storeInfo(Data data) {
   locale = data.getLocale();
   resourceBundle = ResourceBundle.getBundle("Bundle", locale);
   pizzaCost(data);
   drinksCost(data);
   bill.setTotalPrice(bill.getDrinksPrice() + bill.getPizzaPrice());
   if (bill.getTotalPrice() == 0) {
     logger.error(
         resourceBundle.getString("orderFor")
             + bill.getTotalPrice()
             + resourceBundle.getString("thankYouForVisit"));
     System.out.println(
         resourceBundle.getString("orderFor")
             + bill.getTotalPrice()
             + resourceBundle.getString("thankYouForVisit"));
   } else {
     bill.setOrder(resourceBundle.getString("yourOrder"));
     check(data);
     weekends(data);
     setDiscount(data.getDiscount(), data);
     logger.info(resourceBundle.getString("finalPrice") + bill.getTotalPrice());
     bill.setFinalPriceToString(
         resourceBundle.getString("finalPrice")
             + " "
             + String.format(" %.2f ", bill.getTotalPrice()));
   }
 }