public WalletLinker(IWalletLinkingRequestsRepository requestsRepository,
                     ILogFactory logFactory,
                     int linkCodeLength,
                     IPrivateBlockchainFacadeClient pbfClient,
                     ISettingsService settingsService,
                     IRabbitPublisher <WalletLinkingStatusChangeRequestedEvent> requestedPublisher,
                     IRabbitPublisher <WalletLinkingStatusChangeCompletedEvent> completedPublisher,
                     IRabbitPublisher <WalletLinkingStatusChangeFinalizedEvent> finalizedPublisher,
                     ISignatureValidator signatureValidator,
                     IWalletLinkingRequestsCounterRepository countersRepository,
                     ICustomersService customersService,
                     IWalletManagementClient walletManagementClient,
                     ITransactionRunner transactionRunner)
 {
     _requestsRepository     = requestsRepository;
     _linkCodeLength         = linkCodeLength;
     _pbfClient              = pbfClient;
     _settingsService        = settingsService;
     _requestedPublisher     = requestedPublisher;
     _completedPublisher     = completedPublisher;
     _signatureValidator     = signatureValidator;
     _countersRepository     = countersRepository;
     _customersService       = customersService;
     _walletManagementClient = walletManagementClient;
     _transactionRunner      = transactionRunner;
     _finalizedPublisher     = finalizedPublisher;
     _log = logFactory.CreateLog(this);
 }
Пример #2
0
 public CustomersService(IWalletLinkingRequestsRepository requestsRepository,
                         IWalletLinkingRequestsCounterRepository counterRepository,
                         IConfigurationItemsRepository configurationItemsRepository,
                         ILogFactory logFactory)
 {
     _requestsRepository           = requestsRepository;
     _counterRepository            = counterRepository;
     _configurationItemsRepository = configurationItemsRepository;
     _log = logFactory.CreateLog(this);
 }
Пример #3
0
 public WalletStatusChangeFailedEventHandler(ILogFactory logFactory,
                                             IWalletLinkingRequestsRepository requestsRepository,
                                             IRabbitPublisher <WalletLinkingStatusChangeFailedEvent> failurePublisher,
                                             IPushNotificationsPublisher pushNotificationsPublisher)
 {
     _requestsRepository         = requestsRepository;
     _failurePublisher           = failurePublisher;
     _pushNotificationsPublisher = pushNotificationsPublisher;
     _log = logFactory.CreateLog(this);
 }
 public UndecodedEventHandler(IBlockchainEventDecoder blockchainEventDecoder,
                              ISettingsService settingsService,
                              ILogFactory logFactory,
                              IWalletLinker walletLinker,
                              IWalletLinkingRequestsRepository requestsRepository,
                              IPushNotificationsPublisher pushNotificationsPublisher,
                              IRabbitPublisher <WalletLinkingStatusChangeCompletedEvent> statusChangeCompletedPublisher)
 {
     _blockchainEventDecoder         = blockchainEventDecoder;
     _settingsService                = settingsService;
     _walletLinker                   = walletLinker;
     _requestsRepository             = requestsRepository;
     _pushNotificationsPublisher     = pushNotificationsPublisher;
     _statusChangeCompletedPublisher = statusChangeCompletedPublisher;
     _log = logFactory.CreateLog(this);
 }