class SubscriptionUpdaterImpl implements SubscriptionUpdater {

   @Override
   public boolean updateSubscriptions(Account account, ServiceLevel currentServiceLevel, ServiceLevel newServiceLevel, boolean sendNotifications) throws SubscriptionUpdateException {
      Set<Place> places = account.getPlaceIDs().stream()
         .map(id -> placeDao.findById(id))
         .filter(p -> p != null && p.getServiceLevel() == currentServiceLevel)
         .collect(toSet());

      return updateSubscriptions(account, places, newServiceLevel, sendNotifications);
   }

   @Inject public  SubscriptionUpdaterImpl(AccountDAO accountDao, PlaceDAO placeDao, BillingClient billingClient, SubscriptionManager subscriptionManager, PlatformMessageBus platformBus);

}