private void calculateInaccessibleOfferPrice() {
   inaccessibleOfferPrice = new Double(0.0);
   for (Shop shop : shopsList) {
     inaccessibleOfferPrice += shop.getDelivery();
   }
   for (Map.Entry<Product, List<Offer>> entry : offersMap.entrySet()) {
     for (Offer offer : entry.getValue()) {
       inaccessibleOfferPrice += offer.getPrice();
     }
   }
 }
 private void createShopsList() {
   shopsList = new ArrayList<>();
   Set<Long> shopIdSet = new HashSet<>();
   for (Map.Entry<Product, List<Offer>> entry : offersMap.entrySet()) {
     List<Offer> offerList = entry.getValue();
     for (Offer offer : offerList) {
       shopIdSet.add(offer.getIdSklep());
     }
   }
   for (Long shopId : shopIdSet) {
     Shop shop = shopRepository.findOne(shopId);
     shopsList.add(shop);
   }
 }