public RefundRemovedLearningAimProcessor(IRefundRemovedLearningAimService refundRemovedLearningAimService,
                                          IPaymentLogger logger, IMapper mapper, IPeriodisedRequiredPaymentEventFactory requiredPaymentEventFactory,
                                          IDuplicateEarningEventService duplicateEarningEventService
                                          )
 {
     this.refundRemovedLearningAimService = refundRemovedLearningAimService ?? throw new ArgumentNullException(nameof(refundRemovedLearningAimService));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
     this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.requiredPaymentEventFactory  = requiredPaymentEventFactory ?? throw new ArgumentNullException(nameof(requiredPaymentEventFactory));
     this.duplicateEarningEventService = duplicateEarningEventService ?? throw new ArgumentNullException(nameof(duplicateEarningEventService));
 }
 public DataLockProcessor(IMapper mapper, ILearnerMatcher learnerMatcher,
                          IOnProgrammeAndIncentiveEarningPeriodsValidationProcessor onProgrammeAndIncentiveEarningPeriodsValidationProcessor,
                          IFunctionalSkillEarningPeriodsValidationProcessor functionalSkillEarningPeriodsValidationProcessor,
                          IDuplicateEarningEventService duplicateEarningEventService)
 {
     this.mapper         = mapper;
     this.learnerMatcher = learnerMatcher;
     this.onProgrammeAndIncentiveEarningPeriodsValidationProcessor = onProgrammeAndIncentiveEarningPeriodsValidationProcessor;
     this.functionalSkillEarningPeriodsValidationProcessor         = functionalSkillEarningPeriodsValidationProcessor;
     this.duplicateEarningEventService = duplicateEarningEventService ?? throw new ArgumentNullException(nameof(duplicateEarningEventService));
 }
Beispiel #3
0
 protected EarningEventProcessorBase(
     IMapper mapper,
     IRequiredPaymentProcessor requiredPaymentProcessor,
     IHoldingBackCompletionPaymentService completionPaymentService,
     IPaymentHistoryRepository paymentHistoryRepository,
     IApprenticeshipKeyProvider apprenticeshipKeyProvider,
     INegativeEarningService negativeEarningService,
     IPaymentLogger paymentLogger,
     IDuplicateEarningEventService duplicateEarningEventService)
 {
     this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.requiredPaymentProcessor     = requiredPaymentProcessor ?? throw new ArgumentNullException(nameof(requiredPaymentProcessor));
     this.completionPaymentService     = completionPaymentService;
     this.paymentHistoryRepository     = paymentHistoryRepository;
     this.apprenticeshipKeyProvider    = apprenticeshipKeyProvider;
     this.negativeEarningService       = negativeEarningService;
     this.paymentLogger                = paymentLogger;
     this.duplicateEarningEventService = duplicateEarningEventService ?? throw new ArgumentNullException(nameof(duplicateEarningEventService));
 }
 public ApprenticeshipContractType2EarningEventProcessor(
     IMapper mapper,
     IRequiredPaymentProcessor requiredPaymentProcessor,
     IHoldingBackCompletionPaymentService holdingBackCompletionPaymentService,
     IPaymentHistoryRepository paymentHistoryRepository,
     IApprenticeshipKeyProvider apprenticeshipKeyProvider,
     INegativeEarningService negativeEarningService,
     IPaymentLogger paymentLogger, IDuplicateEarningEventService duplicateEarningEventService
     ) : base(
         mapper,
         requiredPaymentProcessor,
         holdingBackCompletionPaymentService,
         paymentHistoryRepository,
         apprenticeshipKeyProvider,
         negativeEarningService,
         paymentLogger, duplicateEarningEventService
         )
 {
 }
 public FunctionalSkillEarningsEventProcessor(
     IMapper mapper,
     IRequiredPaymentProcessor requiredPaymentProcessor,
     IHoldingBackCompletionPaymentService holdingBackCompletionPaymentService,
     IPaymentHistoryRepository paymentHistoryRepository,
     IApprenticeshipKeyProvider apprenticeshipKeyProvider,
     INegativeEarningService negativeEarningService,
     IPaymentLogger paymentLogger,
     IDuplicateEarningEventService duplicateEarningEventService,
     ITelemetry telemetry
     ) : base(
         mapper,
         requiredPaymentProcessor,
         holdingBackCompletionPaymentService,
         paymentHistoryRepository,
         apprenticeshipKeyProvider,
         negativeEarningService,
         paymentLogger,
         duplicateEarningEventService,
         telemetry)
 {
 }