public OperationsQueryService(
     ITransactionHistoryRepository transactionHistoryRepository,
     IBonusCashInsRepository bonusCashInsRepository,
     IPartnersPaymentsRepository partnersPaymentsRepository,
     IVoucherPurchasePaymentsRepository voucherPurchasePaymentsRepository,
     ICustomerProfileClient customerProfileClient,
     ISmartVoucherPaymentsRepository smartVoucherPaymentsRepository,
     ILogFactory logFactory)
 {
     _transactionHistoryRepository      = transactionHistoryRepository;
     _bonusCashInsRepository            = bonusCashInsRepository;
     _partnersPaymentsRepository        = partnersPaymentsRepository;
     _voucherPurchasePaymentsRepository = voucherPurchasePaymentsRepository;
     _customerProfileClient             = customerProfileClient;
     _smartVoucherPaymentsRepository    = smartVoucherPaymentsRepository;
     _log = logFactory.CreateLog(this);
 }
Example #2
0
 public OperationsService(ITransfersRepository transfersRepository,
                          IBonusCashInsRepository bonusCashInsRepository,
                          ICampaignClient campaignClient,
                          IPrivateBlockchainFacadeClient privateBlockchainFacadeClient,
                          IPaymentTransfersRepository paymentTransfersRepository,
                          ICustomerTierRepository customerTierRepository,
                          IMemoryCache memoryCache,
                          TimeSpan customerWalletsCacheExpirationPeriod,
                          IPartnersPaymentsRepository partnersPaymentsRepository,
                          IReferralStakesRepository referralStakesRepository,
                          IPartnerManagementClient partnerManagementClient,
                          ILinkedWalletTransfersRepository linkedWalletTransfersRepository,
                          IFeeCollectedOperationsRepository feeCollectedOperationsRepository,
                          ILinkWalletOperationsRepository linkWalletOperationsRepository,
                          IVoucherPurchasePaymentsRepository voucherPurchasePaymentsRepository,
                          ISmartVoucherPaymentsRepository smartVoucherPaymentsRepository,
                          string tokenSymbol,
                          ILogFactory logFactory)
 {
     _transfersRepository                  = transfersRepository;
     _bonusCashInsRepository               = bonusCashInsRepository;
     _campaignClient                       = campaignClient;
     _privateBlockchainFacadeClient        = privateBlockchainFacadeClient;
     _paymentTransfersRepository           = paymentTransfersRepository;
     _customerTierRepository               = customerTierRepository;
     _customerWalletsCacheExpirationPeriod = customerWalletsCacheExpirationPeriod;
     _tokenSymbol = tokenSymbol;
     _partnersPaymentsRepository        = partnersPaymentsRepository;
     _partnerManagementClient           = partnerManagementClient;
     _referralStakesRepository          = referralStakesRepository;
     _linkedWalletTransfersRepository   = linkedWalletTransfersRepository;
     _feeCollectedOperationsRepository  = feeCollectedOperationsRepository;
     _linkWalletOperationsRepository    = linkWalletOperationsRepository;
     _voucherPurchasePaymentsRepository = voucherPurchasePaymentsRepository;
     _smartVoucherPaymentsRepository    = smartVoucherPaymentsRepository;
     _customerWalletsCache = new OnDemandDataCache <string>(memoryCache);
     _log = logFactory.CreateLog(this);
 }