public RequiredPaymentsService(ActorService actorService, ActorId actorId, IPaymentLogger paymentLogger, IApprenticeshipKeyService apprenticeshipKeyService, Func <IPaymentHistoryRepository> paymentHistoryRepositoryFactory, IApprenticeshipContractType2EarningsEventProcessor contractType2EarningsEventProcessor, IApprenticeshipAct1RedundancyEarningsEventProcessor act1RedundancyEarningsEventProcessor, IFunctionalSkillEarningsEventProcessor functionalSkillEarningsEventProcessor, IPayableEarningEventProcessor payableEarningEventProcessor, IRefundRemovedLearningAimProcessor refundRemovedLearningAimProcessor, ITelemetry telemetry) : base(actorService, actorId) { this.paymentLogger = paymentLogger; this.paymentHistoryRepositoryFactory = paymentHistoryRepositoryFactory; this.contractType2EarningsEventProcessor = contractType2EarningsEventProcessor; this.act1RedundancyEarningsEventProcessor = act1RedundancyEarningsEventProcessor; this.functionalSkillEarningsEventProcessor = functionalSkillEarningsEventProcessor; this.payableEarningEventProcessor = payableEarningEventProcessor; this.refundRemovedLearningAimProcessor = refundRemovedLearningAimProcessor; this.telemetry = telemetry; apprenticeshipKeyString = actorId.GetStringId(); apprenticeshipKey = apprenticeshipKeyService.ParseApprenticeshipKey(apprenticeshipKeyString); logSafeApprenticeshipKeyString = CreateLogSafeApprenticeshipKeyString(apprenticeshipKey); }
public IdentifiedRemovedLearningAimHandler(IApprenticeshipKeyService apprenticeshipKeyService, IActorProxyFactory proxyFactory, IPaymentLogger logger, IExecutionContext executionContext) { this.apprenticeshipKeyService = apprenticeshipKeyService; this.proxyFactory = proxyFactory; this.logger = logger; this.executionContext = executionContext; }
protected EarningEventHandlerBase(IApprenticeshipKeyService apprenticeshipKeyService, IActorProxyFactory proxyFactory, IPaymentLogger paymentLogger, IExecutionContext executionContext) { this.apprenticeshipKeyService = apprenticeshipKeyService; this.proxyFactory = proxyFactory ?? new ActorProxyFactory(); this.paymentLogger = paymentLogger; this.executionContext = (ESFA.DC.Logging.ExecutionContext)executionContext; }
public ApprenticeshipContractType2EarningEventHandler(IApprenticeshipKeyService apprenticeshipKeyService, IActorProxyFactory proxyFactory, IPaymentLogger paymentLogger, IExecutionContext executionContext) : base(apprenticeshipKeyService, proxyFactory, paymentLogger, executionContext) { }
public PayableFunctionalSkillEarningsEventHandler(IApprenticeshipKeyService apprenticeshipKeyService, IActorProxyFactory proxyFactory, IPaymentLogger paymentLogger, IExecutionContext executionContext) : base(apprenticeshipKeyService, proxyFactory, paymentLogger, executionContext) { }
public ActorApprenticeshipKeyProvider(IApprenticeshipKeyService apprenticeshipKeyService, IActorIdProvider actorIdProvider) { this.apprenticeshipKeyService = apprenticeshipKeyService; this.actorIdProvider = actorIdProvider; }