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)); }
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."); }
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)); }
public EarningEventProcessor(IPaymentsEventModelCache <EarningEventModel> cache, IMapper mapper) : base(cache, mapper) { }
public FundingSourcePaymentsEventProcessor(IPaymentsEventModelCache <FundingSourceEventModel> cache, IMapper mapper) : base(cache, mapper) { }
public RequiredPaymentEventProcessor(IPaymentsEventModelCache <RequiredPaymentEventModel> cache, IMapper mapper) : base(cache, mapper) { }
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) { }