public EmployerUserRepository(ILog logger, IEmployerUsersApiClient employerUsersApiClient, IAccountApiClient employerAccountsApiClient) { _logger = logger; _employerUsersApiClient = employerUsersApiClient; _employerAccountsApiClient = employerAccountsApiClient; }
public ProcessFullyApprovedCohortCommandHandler(IAccountApiClient accountApiClient, Lazy <ProviderCommitmentsDbContext> db, IEventPublisher eventPublisher, ILogger <ProcessFullyApprovedCohortCommandHandler> logger) { _accountApiClient = accountApiClient; _db = db; _eventPublisher = eventPublisher; _logger = logger; }
public AccountApiHealthCheck( IAccountApiClient apiClient, ILogger <AccountApiHealthCheck> logger) { _apiClient = apiClient; _logger = logger; }
public AccountBalanceService(IAccountApiClient accountApiClient, IHashingService hashingService, ITelemetry telemetry) { _accountApiClient = accountApiClient ?? throw new ArgumentNullException(nameof(accountApiClient)); _hashingService = hashingService ?? throw new ArgumentNullException(nameof(hashingService)); _telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry)); }
public DetailsViewModelMapper(ICommitmentsApiClient commitmentsApiClient, IEncodingService encodingService, IAccountApiClient accountsApiClient) { _commitmentsApiClient = commitmentsApiClient; _encodingService = encodingService; _accountsApiClient = accountsApiClient; }
public AccountController(IAccountApiClient accountApiClient, ITokenApiClient tokenApiClient, ILoginService loginManager, IMapper mapper) { _accountApiClient = accountApiClient; _tokenApiClient = tokenApiClient; _loginManager = loginManager; _mapper = mapper; }
public RequestEmploymentCheckForEmployerPayeSchemesCommand(IMessagePublisher messagePublisher, IAccountApiClient accountApiClient, IProviderCommitmentsApi commitmentsApi, ISubmissionEventRepository repository, IEventsApi eventsApi, ILog logger) { _messagePublisher = messagePublisher; _accountApiClient = accountApiClient; _commitmentsApi = commitmentsApi; _employmentCheckService = new EmploymentCheckCompletedService(eventsApi, repository); _logger = logger; }
public EmployerHasLegalEntityQueryHandler( IAccountApiClient accountApiClient, ILogger <EmployerHasLegalEntityQueryHandler> logger ) { _accountApi = accountApiClient; _logger = logger; }
public GetTransactionsDownloadQueryHandler( ITransactionFormatterFactory transactionsFormatterFactory, ITransactionRepository transactionRepository, IAccountApiClient accountApiClient) { _transactionsFormatterFactory = transactionsFormatterFactory; _transactionRepository = transactionRepository; _accountApiClient = accountApiClient; }
public async Task Reset() { await Context.Reset(); CommitmentsApi = Substitute.For <ICommitmentsApiClient>(); RoatpApi = Substitute.For <IRoatpService>(); AccountsApi = Substitute.For <IAccountApiClient>(); TimeProvider = Substitute.For <ITimeProvider>(); }
public SendingEmployerTransferRequestEmailService(ICommitmentRepository commitmentRepository, IAccountApiClient accountApi, ILog logger) { _commitmentRepository = commitmentRepository; _accountApi = accountApi; _logger = logger; _retryPolicy = GetRetryPolicy(); }
public EmployerFeedbackDataRetrievalService( IEmployerCommitmentApi commitmentApiClient, IAccountApiClient accountApiClient, IStoreEmployerEmailDetails emailDetailsRepository) { _commitmentApiClient = commitmentApiClient; _accountApiClient = accountApiClient; _emailDetailsRepository = emailDetailsRepository; }
internal static async Task Reset() { await Context.Reset(); Context = new ScopedContext(scopeFactory); CommitmentsApi = Substitute.For <ICommitmentsApiClient>(); RoatpApi = Substitute.For <IRoatpService>(); AccountsApi = Substitute.For <IAccountApiClient>(); TimeProvider = Substitute.For <ITimeProvider>(); }
public ProviderRelationshipsService(IOptions <ProviderRelationshipApiConfiguration> configuration, ILogger <ProviderRelationshipApiConfiguration> logger, IEmployerAccountProvider employerAccountProvider, IAccountApiClient accountApiClient) { _configuration = configuration.Value; _logger = logger; _employerAccountProvider = employerAccountProvider; _accountApiClient = accountApiClient; }
public EmployerAlertSummaryEmailService( IApprenticeshipRepository apprenticeshipRepository, IAccountApiClient accountApi, ILog logger) { _apprenticeshipRepository = apprenticeshipRepository; _accountApi = accountApi; _logger = logger; _retryPolicy = GetRetryPolicy(); }
public EmployerAgreementService(IAccountApiClient accountApiClient, IEncodingService encodingService, ILogger <EmployerAgreementService> logger) { _accountApiClient = accountApiClient; _encodingService = encodingService; _logger = logger; //This dictionary indicates which features are unlocked by agreement versions _agreementUnlocks = new Dictionary <AgreementFeature, int> { { AgreementFeature.Transfers, 2 } }; }
public EmployerTeamOrchestrator(IMediator mediator, ICurrentDateTime currentDateTime, IAccountApiClient accountApiClient, IMapper mapper) : base(mediator) { _mediator = mediator; _currentDateTime = currentDateTime; _accountApiClient = accountApiClient; _mapper = mapper; }
public EmployerAccountTransactionsOrchestrator( IAccountApiClient accountApiClient, IMediator mediator, ICurrentDateTime currentTime, ILog logger) { _accountApiClient = accountApiClient; _mediator = mediator; _currentTime = currentTime; _logger = logger; }
public AccountRepository(IAccountApiClient accountApiClient, IPayeSchemeObfuscator payeSchemeObfuscator, IDatetimeService datetimeService, ILog logger, IHashingService hashingService) { _accountApiClient = accountApiClient; _payeSchemeObfuscator = payeSchemeObfuscator; _datetimeService = datetimeService; _logger = logger; _hashingService = hashingService; }
public ProviderEmailTemplatesService( IApprenticeshipRepository apprenticeshipRepository, ICommitmentsLogger logger, IProviderEmailServiceWrapper emailService, IAccountApiClient providerAccountClient) { _apprenticeshipRepository = apprenticeshipRepository; _logger = logger; _emailService = emailService; _providerAccountClient = providerAccountClient; _retryPolicy = GetRetryPolicy(); }
public SaveApprenticeshipFavouriteBasketCommandHandler( ILogger <SaveApprenticeshipFavouriteBasketCommandHandler> logger, IFavouritesReadRepository readRepository, IFavouritesWriteRepository writeRepository, IAccountApiClient accountApiClient, IApprenticeshipFavouritesBasketStore basketStore) { _logger = logger; _readRepository = readRepository; _writeRepository = writeRepository; _accountApiClient = accountApiClient; _basketStore = basketStore; }
public ManageLevyAccountBalanceService(IAccountApiClient accountApiClient, IPaymentLogger logger, ILevyAccountBulkCopyRepository levyAccountBulkWriter, ILevyFundingSourceRepository levyFundingSourceRepository, int batchSize, IEndpointInstanceFactory endpointInstanceFactory) { this.accountApiClient = accountApiClient ?? throw new ArgumentNullException(nameof(accountApiClient)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.levyAccountBulkWriter = levyAccountBulkWriter ?? throw new ArgumentNullException(nameof(levyAccountBulkWriter)); this.levyFundingSourceRepository = levyFundingSourceRepository ?? throw new ArgumentNullException(nameof(levyFundingSourceRepository)); this.batchSize = batchSize; this.endpointInstanceFactory = endpointInstanceFactory ?? throw new ArgumentNullException(nameof(endpointInstanceFactory)); }
public EmployerTeamOrchestratorWithCallToAction( EmployerTeamOrchestrator employerTeamOrchestrator, IMediator mediator, ICurrentDateTime currentDateTime, IAccountApiClient accountApiClient, IMapper mapper, ICookieStorageService <AccountContext> accountContext, ILog logger) : base(mediator, currentDateTime, accountApiClient, mapper) { _employerTeamOrchestrator = employerTeamOrchestrator; _accountContext = accountContext; _mediator = mediator; _mapper = mapper; _logger = logger; }
public ManageLevyAccountBalanceService(ILevyFundingSourceRepository repository, IAccountApiClient accountApiClient, IPaymentLogger logger, ILevyAccountBulkCopyRepository levyAccountBulkWriter, int batchSize, IEndpointInstanceFactory endpointInstanceFactory) { this.repository = repository; this.accountApiClient = accountApiClient; this.logger = logger; this.levyAccountBulkWriter = levyAccountBulkWriter; this.batchSize = batchSize; this.endpointInstanceFactory = endpointInstanceFactory; retryPolicy = Policy.Handle <Exception>().WaitAndRetryAsync(5, i => TimeSpan.FromMinutes(1)); }
public EmployerEmailTemplatesService( IApprenticeshipRepository apprenticeshipRepository, IAccountApiClient accountApi, ILog logger) { if (apprenticeshipRepository == null) { throw new ArgumentNullException($"{nameof(apprenticeshipRepository)} is null"); } if (accountApi == null) { throw new ArgumentNullException($"{nameof(accountApi)} is null"); } if (logger == null) { throw new ArgumentNullException($"{nameof(logger)} is null"); } _apprenticeshipRepository = apprenticeshipRepository; _accountApi = accountApi; _logger = logger; _retryPolicy = GetRetryPolicy(); }
public CohortDomainService(Lazy <ProviderCommitmentsDbContext> dbContext, ILogger <CohortDomainService> logger, IAcademicYearDateProvider academicYearDateProvider, IUlnValidator ulnValidator, IReservationValidationService reservationValidationService, IOverlapCheckService overlapCheckService, IAuthenticationService authenticationService, ICurrentDateTime currentDateTime, IEmployerAgreementService employerAgreementService, IEncodingService encodingService, IAccountApiClient accountApiClient) { _dbContext = dbContext; _logger = logger; _academicYearDateProvider = academicYearDateProvider; _ulnValidator = ulnValidator; _reservationValidationService = reservationValidationService; _overlapCheckService = overlapCheckService; _authenticationService = authenticationService; _currentDateTime = currentDateTime; _employerAgreementService = employerAgreementService; _encodingService = encodingService; _accountApiClient = accountApiClient; }
public IdentityAuthenticationStateProvider(IAccountApiClient accountApiClient) { _accountApiClient = accountApiClient; }
public EmployerAccountService(IAccountApiClient accountApiClient) { _accountApiClient = accountApiClient; }
public InformRequestToSelectTransferConnectionViewModelMapper(IAccountApiClient accountApiClient) { _accountsApiClient = accountApiClient; }
public EmployerAccountService(ILogger <EmployerAccountService> logger, IAccountApiClient accountApiClient) { _logger = logger; _accountApiClient = accountApiClient; }