private boolean notExistBestPrice(ProductInEshopEntity entity) { return entity.getBestPrice() == null; }
private boolean isBestPriceGreaterThanActualPriceForPackage( ProductInEshopInfoUpdateDto priceUpdateDto, ProductInEshopEntity entity) { return entity.getBestPrice().compareTo(priceUpdateDto.getPriceForPackage()) > 0; }