public ProviderPaymentsEventModelBatchProcessor(IPaymentsEventModelCache <ProviderPaymentEventModel> cache,
                                                 IPaymentsEventModelDataTable <ProviderPaymentEventModel> dataTable, IConfigurationHelper configurationHelper,
                                                 IPaymentLogger logger, IDataCache <ReceivedProviderEarningsEvent> ilrSubmittedEventCache)
     : base(cache, dataTable, configurationHelper, logger)
 {
     this.ilrSubmittedEventCache = ilrSubmittedEventCache ?? throw new ArgumentNullException(nameof(ilrSubmittedEventCache));
 }
Exemple #2
0
 public PaymentsEventModelBatchProcessor(
     IPaymentsEventModelCache <T> cache,
     IPaymentsEventModelDataTable <T> dataTable,
     IConfigurationHelper configurationHelper,
     IPaymentLogger logger)
 {
     this.cache       = cache ?? throw new ArgumentNullException(nameof(cache));
     this.dataTable   = dataTable ?? throw new ArgumentNullException(nameof(dataTable));
     this.logger      = logger ?? throw new ArgumentNullException(nameof(logger));
     connectionString = configurationHelper.GetConnectionString("PaymentsConnectionString") ?? throw new ArgumentException("Failed to find the PaymentsConnectionString in the ConnectionStrings section.");
 }
Exemple #3
0
 public ProviderPaymentsService(IDataCache <ReceivedProviderEarningsEvent> ilrSubmittedEventCache,
                                IPaymentsEventModelCache <ProviderPaymentEventModel> paymentCache, IValidateIlrSubmission validateIlrSubmission,
                                IPaymentLogger paymentLogger,
                                ITelemetry telemetry)
 {
     this.ilrSubmittedEventCache = ilrSubmittedEventCache;
     this.paymentCache           = paymentCache ?? throw new ArgumentNullException(nameof(paymentCache));
     this.validateIlrSubmission  = validateIlrSubmission;
     this.paymentLogger          = paymentLogger;
     this.telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
 }
Exemple #4
0
 public EarningEventProcessor(IPaymentsEventModelCache <EarningEventModel> cache, IMapper mapper) : base(cache, mapper)
 {
 }
Exemple #5
0
 public FundingSourcePaymentsEventProcessor(IPaymentsEventModelCache <FundingSourceEventModel> cache, IMapper mapper) : base(cache, mapper)
 {
 }
 public RequiredPaymentEventProcessor(IPaymentsEventModelCache <RequiredPaymentEventModel> cache, IMapper mapper) : base(cache, mapper)
 {
 }
Exemple #7
0
 protected PaymentsEventProcessor(IPaymentsEventModelCache <TPaymentsEventModel> cache, IMapper mapper)
 {
     this.cache  = cache ?? throw new ArgumentNullException(nameof(cache));
     this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public DataLockEventProcessor(IPaymentsEventModelCache <DataLockEventModel> cache, IMapper mapper) : base(cache, mapper)
 {
 }