Пример #1
0
 public ProcessProviderMonthEndCommandHandler(IPaymentLogger paymentLogger,
                                              IExecutionContext executionContext,
                                              IProviderPeriodEndService providerPeriodEndService,
                                              IMapper mapper,
                                              IProviderPaymentFactory paymentFactory,
                                              IJobMessageClient jobClient)
 {
     this.paymentLogger            = paymentLogger ?? throw new ArgumentNullException(nameof(paymentLogger));
     this.executionContext         = executionContext ?? throw new ArgumentNullException(nameof(executionContext));
     this.providerPeriodEndService = providerPeriodEndService ?? throw new ArgumentNullException(nameof(providerPeriodEndService));
     this.mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.paymentFactory = paymentFactory ?? throw new ArgumentNullException(nameof(paymentFactory));
     this.jobClient      = jobClient ?? throw new ArgumentNullException(nameof(jobClient));
 }
Пример #2
0
 public FundingSourcePaymentEventHandler(IPaymentLogger paymentLogger,
                                         IProviderPaymentsService paymentsService,
                                         IMapper mapper,
                                         IProviderPeriodEndService providerPeriodEndService,
                                         IEarningsJobClient earningsJobClient,
                                         IJobMessageClient jobClient,
                                         IProcessAfterMonthEndPaymentService afterMonthEndPaymentService)
 {
     this.paymentLogger               = paymentLogger ?? throw new ArgumentNullException(nameof(paymentLogger));
     this.paymentsService             = paymentsService ?? throw new ArgumentNullException(nameof(paymentsService));
     this.mapper                      = mapper;
     this.jobClient                   = jobClient;
     this.afterMonthEndPaymentService = afterMonthEndPaymentService;
 }
Пример #3
0
 public ProcessAfterMonthEndPaymentService(IPaymentLogger paymentLogger, IMapper mapper, IProviderPeriodEndService providerPeriodEndService)
 {
     this.paymentLogger            = paymentLogger ?? throw new ArgumentNullException(nameof(paymentLogger));
     this.mapper                   = mapper;
     this.providerPeriodEndService = providerPeriodEndService;
 }