public PublishPriceUpdatesTask( ITaskSettings settings, ILastCallsRepository lastCallsRepository, IPriceUpdateQuery priceUpdateQuery, ICustomerAgreementQuery customerAgreementQuery, IPimCommandService pimCommandService) { _settings = settings; _lastCallsRepository = lastCallsRepository; _priceUpdateQuery = priceUpdateQuery; _pimCommandService = pimCommandService; _customerAgreementQuery = customerAgreementQuery; _timeOfLastQueryForPriceUpdates = lastCallsRepository.GetTimeOfLastQueryForPriceUpdates(); }