public GenerateSubmissionSummaryHandler(IPaymentLogger logger, ISubmissionMetricsService submissionMetricsService) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.submissionMetricsService = submissionMetricsService ?? throw new ArgumentNullException(nameof(submissionMetricsService)); }
public SubmissionJobSucceededHandler(IPaymentLogger logger, ISubmissionMetricsService submissionMetricsService, IConfigurationHelper configurationHelper) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.submissionMetricsService = submissionMetricsService ?? throw new ArgumentNullException(nameof(submissionMetricsService)); this.configurationHelper = configurationHelper ?? throw new ArgumentNullException(nameof(configurationHelper)); }