public WalletStatusChangeFailedEventHandler(ILogFactory logFactory, IWalletLinkingRequestsRepository requestsRepository, IRabbitPublisher <WalletLinkingStatusChangeFailedEvent> failurePublisher, IPushNotificationsPublisher pushNotificationsPublisher) { _requestsRepository = requestsRepository; _failurePublisher = failurePublisher; _pushNotificationsPublisher = pushNotificationsPublisher; _log = logFactory.CreateLog(this); }
public WalletLinkingStatusChangeCompletedInPublicEventHandler(IWalletLinker walletLinker, ILogFactory logFactory, IRabbitPublisher <WalletLinkingStatusChangeFinalizedEvent> publisher, IPushNotificationsPublisher pushNotificationsPublisher) { _walletLinker = walletLinker; _publisher = publisher; _pushNotificationsPublisher = pushNotificationsPublisher; _log = logFactory.CreateLog(this); }
public PartnersPaymentsService( IPushNotificationsPublisher pushNotificationsPublisher, IRabbitPublisher <RefundPartnersPaymentEvent> refundPartnersPaymentPublisher, IRabbitPublisher <SuccessfulPartnersPaymentEvent> successfulPartnersPaymentPublisher, ILogFactory logFactory) { _pushNotificationsPublisher = pushNotificationsPublisher; _refundPartnersPaymentPublisher = refundPartnersPaymentPublisher; _successfulPartnersPaymentPublisher = successfulPartnersPaymentPublisher; _log = logFactory.CreateLog(this); }
public TransferToExternalCompletedEventHandler( IPrivateBlockchainFacadeClient pbfClient, IPushNotificationsPublisher pushNotificationsPublisher, IDeduplicationLogRepository deduplicationLogRepository, ILogFactory logFactory) { _pbfClient = pbfClient; _pushNotificationsPublisher = pushNotificationsPublisher; _deduplicationLogRepository = deduplicationLogRepository; _log = logFactory.CreateLog(this); }
public PaymentTransfersService( IPrivateBlockchainFacadeClient pbfClient, IRabbitPublisher <SuccessfulPaymentTransferEvent> successfulPaymentTransferPublisher, IRabbitPublisher <RefundPaymentTransferEvent> refundPaymentTransferPublisher, ILogFactory logFactory, IEmailNotificationsPublisher emailsPublisher, IPushNotificationsPublisher pushNotificationsPublisher) { _log = logFactory.CreateLog(this); _pbfClient = pbfClient; _successfulPaymentTransferPublisher = successfulPaymentTransferPublisher; _refundPaymentTransferPublisher = refundPaymentTransferPublisher; _emailsPublisher = emailsPublisher; _pushNotificationsPublisher = pushNotificationsPublisher; }
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); }
public CashInService( ILogFactory logFactory, IBonusRewardsRepository bonusRewardsRepository, IRabbitPublisher <BonusReceivedEvent> bonusEventPublisher, IPrivateBlockchainFacadeClient blockchainFacadeClient, IPushNotificationsPublisher pushNotificationsPublisher, ICampaignClient campaignClient, string tokenSymbol) { _bonusRewardsRepository = bonusRewardsRepository; _bonusEventPublisher = bonusEventPublisher ?? throw new ArgumentNullException(nameof(bonusEventPublisher)); _blockchainFacadeClient = blockchainFacadeClient; _pushNotificationsPublisher = pushNotificationsPublisher; _campaignClient = campaignClient; _tokenSymbol = tokenSymbol ?? throw new ArgumentNullException(nameof(tokenSymbol)); _log = logFactory.CreateLog(this); }
public UndecodedEventHandler( IBlockchainEventDecoder blockchainEventDecoder, IPrivateBlockchainFacadeClient pbfClient, ISettingsService settingsService, IRabbitPublisher <TransferToExternalProcessedEvent> transferToExternalProcessedPublisher, IRabbitPublisher <TransferToInternalCompletedEvent> transferToInternalCompletedPublisher, IPushNotificationsPublisher pushNotificationsPublisher, IDeduplicationLogRepository deduplicationLogRepository, ILogFactory logFactory) { _blockchainEventDecoder = blockchainEventDecoder; _pbfClient = pbfClient; _settingsService = settingsService; _transferToExternalProcessedPublisher = transferToExternalProcessedPublisher; _transferToInternalCompletedPublisher = transferToInternalCompletedPublisher; _pushNotificationsPublisher = pushNotificationsPublisher; _deduplicationLogRepository = deduplicationLogRepository; _log = logFactory.CreateLog(this); }
public TransferService( string tokenSymbol, ICustomerProfileClient customerProfileClient, IPrivateBlockchainFacadeClient blockchainFacadeClient, IWalletManagementService walletManagementService, ITransfersRepository transfersRepository, IRabbitPublisher <P2PTransferEvent> p2PTransferEventPublisher, IEmailNotificationsPublisher emailsPublisher, IPushNotificationsPublisher pushNotificationsPublisher, ILogFactory logFactory) { _customerProfileClient = customerProfileClient; _blockchainFacadeClient = blockchainFacadeClient; _walletManagementService = walletManagementService; _transfersRepository = transfersRepository; _p2PTransferEventPublisher = p2PTransferEventPublisher; _tokenSymbol = tokenSymbol; _emailsPublisher = emailsPublisher; _pushNotificationsPublisher = pushNotificationsPublisher; _log = logFactory.CreateLog(this); }
public TransferToExternalFailedEventHandler(IPushNotificationsPublisher pushNotificationsPublisher) { _pushNotificationsPublisher = pushNotificationsPublisher; }