コード例 #1
0
 public PaymentForecastService(
     IOptions <ForecastingJobsConfiguration> options,
     IHttpFunctionClient <PaymentDataCompleteTrigger> httpFunctionClient,
     IEncodingService encodingService,
     ILogger <PaymentForecastService> logger)
 {
     _configuration      = options.Value;
     _httpFunctionClient = httpFunctionClient;
     _encodingService    = encodingService;
     _logger             = logger;
     _httpFunctionClient.XFunctionsKey = _configuration.PaymentPreLoadHttpFunctionXFunctionKey;
 }
 public void OneTimeSetup()
 {
     _config = new ForecastingJobsConfiguration {
         LevyDeclarationPreLoadHttpFunctionBaseUrl = "FunctionBaseUrl"
     };
 }