public CurrencyConverter(
     ISettingsService settingsService,
     ILogFactory logFactory,
     IEligibilityEngineClient eligibilityEngineClient)
 {
     _settingsService         = settingsService;
     _eligibilityEngineClient = eligibilityEngineClient;
     _log = logFactory.CreateLog(this);
 }
Beispiel #2
0
 public ConversionRateController(
     IEligibilityEngineClient eligibilityEngineClient,
     IRequestContext requestContext,
     ISettingsService settingsService)
 {
     _eligibilityEngineClient = eligibilityEngineClient;
     _requestContext          = requestContext;
     _settingsService         = settingsService;
 }
 public BonusCalculatorService(
     string baseCurrencyCode,
     string tokenName,
     ILogFactory logFactory,
     IEligibilityEngineClient eligibilityEngine)
 {
     _baseCurrencyCode  = baseCurrencyCode;
     _tokenName         = tokenName;
     _eligibilityEngine = eligibilityEngine;
     _log = logFactory.CreateLog(this);
 }
 public RealEstateResponseFormatter(
     IEmaarPropertyIntegrationClient emaarPropertyIntegrationClient,
     ICustomerProfileClient cpClient,
     IEligibilityEngineClient eligibilityEngineClient,
     ISettingsService settingsService,
     ILogFactory logFactory)
 {
     _emaarPropertyIntegrationClient = emaarPropertyIntegrationClient;
     _cpClient = cpClient;
     _eligibilityEngineClient = eligibilityEngineClient;
     _settingsService         = settingsService;
     _log = logFactory.CreateLog(this);
 }
Beispiel #5
0
 public SpendRulesController(
     ICampaignClient campaignClient,
     IEligibilityEngineClient eligibilityEngineClient,
     IRequestContext requestContext,
     ISettingsService settingsService,
     IPartnerManagementClient partnerManagementClient,
     IVouchersClient vouchersClient,
     IMapper mapper)
 {
     _campaignClient          = campaignClient;
     _eligibilityEngineClient = eligibilityEngineClient;
     _requestContext          = requestContext;
     _settingsService         = settingsService;
     _partnerManagementClient = partnerManagementClient;
     _vouchersClient          = vouchersClient;
     _mapper = mapper;
 }
 public CustomersService(ICustomerProfileClient customerProfileClient,
                         IMapper mapper,
                         IPrivateBlockchainFacadeClient privateBlockchainFacadeClient,
                         IPartnerAndLocationHelper partnerAndLocationHelper,
                         ITiersClient tiersClient,
                         ILogFactory logFactory,
                         IPartnerManagementClient partnerManagementClient,
                         IEligibilityEngineClient eligibilityEngineClient)
 {
     _customerProfileClient = customerProfileClient;
     _mapper = mapper;
     _privateBlockchainFacadeClient = privateBlockchainFacadeClient;
     _partnerAndLocationHelper      = partnerAndLocationHelper;
     _tiersClient             = tiersClient;
     _partnerManagementClient = partnerManagementClient;
     _eligibilityEngineClient = eligibilityEngineClient;
     _log = logFactory.CreateLog(this);
 }
Beispiel #7
0
 public PurchaseService(
     ITransfersService transfersService,
     ISettingsService settingsService,
     IVouchersService vouchersService,
     ICustomerProfileClient customerProfileClient,
     IWalletManagementClient walletManagementClient,
     ICampaignClient campaignClient,
     IEligibilityEngineClient eligibilityEngineClient,
     IPrivateBlockchainFacadeClient privateBlockchainFacadeClient,
     IRabbitPublisher <VoucherTokensReservedEvent> voucherTokensReservedEventPublisher,
     ILogFactory logFactory)
 {
     _transfersService                    = transfersService;
     _settingsService                     = settingsService;
     _vouchersService                     = vouchersService;
     _customerProfileClient               = customerProfileClient;
     _walletManagementClient              = walletManagementClient;
     _campaignClient                      = campaignClient;
     _eligibilityEngineClient             = eligibilityEngineClient;
     _privateBlockchainFacadeClient       = privateBlockchainFacadeClient;
     _voucherTokensReservedEventPublisher = voucherTokensReservedEventPublisher;
     _log = logFactory.CreateLog(this);
 }
Beispiel #8
0
 public PaymentsStatusUpdater(
     IPaymentsRepository paymentsRepository,
     IPrivateBlockchainFacadeClient pbfClient,
     IWalletManagementClient walletManagementClient,
     IBlockchainEncodingService blockchainEncodingService,
     ITransactionScopeHandler transactionScopeHandler,
     IPaymentRequestBlockchainRepository paymentRequestBlockchainRepository,
     ISettingsService settingsService,
     IRabbitPublisher <PartnersPaymentStatusUpdatedEvent> statusUpdatePublisher,
     IEligibilityEngineClient eligibilityEngineClient,
     string tokenSymbol)
 {
     _paymentsRepository                 = paymentsRepository;
     _pbfClient                          = pbfClient;
     _walletManagementClient             = walletManagementClient;
     _blockchainEncodingService          = blockchainEncodingService;
     _transactionScopeHandler            = transactionScopeHandler;
     _paymentRequestBlockchainRepository = paymentRequestBlockchainRepository;
     _settingsService                    = settingsService;
     _statusUpdatePublisher              = statusUpdatePublisher;
     _eligibilityEngineClient            = eligibilityEngineClient;
     _tokenSymbol                        = tokenSymbol;
 }
 public EarnRulesController(
     ICampaignClient campaignClient,
     IBonusEngineClient bonusEngineClient,
     IRequestContext requestContext,
     IEligibilityEngineClient eligibilityEngineClient,
     ISettingsService settingsService,
     IPartnerManagementClient partnerManagementClient,
     IStakingClient stakingClient,
     IReferralClient referralClient,
     IOperationsHistoryClient operationsHistoryClient,
     IMapper mapper)
 {
     _campaignClient          = campaignClient;
     _bonusEngineClient       = bonusEngineClient;
     _requestContext          = requestContext;
     _eligibilityEngineClient = eligibilityEngineClient;
     _settingsService         = settingsService;
     _partnerManagementClient = partnerManagementClient;
     _referralClient          = referralClient;
     _stakingClient           = stakingClient;
     _operationsHistoryClient = operationsHistoryClient;
     _mapper = mapper;
 }
 public ReferralService(
     IReferralClient referralClient,
     ICampaignClient campaignClient,
     IBonusEngineClient bonusEngineClient,
     IStakingClient stakingClient,
     IPartnerManagementClient partnerManagementClient,
     IEligibilityEngineClient eligibilityEngine,
     ISettingsService settingsService,
     IOperationsHistoryClient operationsHistoryClient,
     ILogFactory logFactory,
     IMapper mapper)
 {
     _referralClient          = referralClient;
     _eligibilityEngine       = eligibilityEngine;
     _settingsService         = settingsService;
     _campaignClient          = campaignClient;
     _bonusEngineClient       = bonusEngineClient;
     _stakingClient           = stakingClient;
     _partnerManagementClient = partnerManagementClient;
     _mapper = mapper;
     _operationsHistoryClient = operationsHistoryClient;
     _log = logFactory.CreateLog(this);
 }
Beispiel #11
0
 public PaymentsService(IPaymentTransfersRepository paymentTransfersRepository,
                        ITransactionScopeHandler transactionScopeHandler,
                        IPrivateBlockchainFacadeClient pbfClient,
                        IMAVNPropertyIntegrationClient realEstateIntegrationClient,
                        IEligibilityEngineClient eligibilityEngineClient,
                        ISettingsService settingsService,
                        IWalletManagementClient wmClient,
                        ICustomerProfileClient cpClient,
                        ICampaignClient campaignClient,
                        ILogFactory logFactory)
 {
     _functionCallEncoder         = new FunctionCallEncoder();
     _abiEncode                   = new ABIEncode();
     _paymentTransfersRepository  = paymentTransfersRepository;
     _transactionScopeHandler     = transactionScopeHandler;
     _pbfClient                   = pbfClient;
     _realEstateIntegrationClient = realEstateIntegrationClient;
     _eligibilityEngineClient     = eligibilityEngineClient;
     _settingsService             = settingsService;
     _wmClient       = wmClient;
     _cpClient       = cpClient;
     _campaignClient = campaignClient;
     _log            = logFactory.CreateLog(this);
 }
Beispiel #12
0
 public PaymentsService(
     ICustomerProfileClient customerProfileClient,
     IWalletManagementClient walletManagementClient,
     IPaymentsRepository paymentsRepository,
     ISettingsService settingsService,
     IRabbitPublisher <PartnerPaymentRequestCreatedEvent> paymentRequestCreatedPublisher,
     IPartnerManagementClient partnerManagementClient,
     IEligibilityEngineClient eligibilityEngineClient,
     IPaymentsStatusUpdater paymentsStatusUpdater,
     string tokenSymbol,
     ILogFactory logFactory)
 {
     _customerProfileClient          = customerProfileClient;
     _walletManagementClient         = walletManagementClient;
     _paymentsRepository             = paymentsRepository;
     _settingsService                = settingsService;
     _paymentRequestCreatedPublisher = paymentRequestCreatedPublisher;
     _partnerManagementClient        = partnerManagementClient;
     _paymentsStatusUpdater          = paymentsStatusUpdater;
     _tokenSymbol             = tokenSymbol;
     _eligibilityEngineClient = eligibilityEngineClient ??
                                throw new ArgumentNullException(nameof(eligibilityEngineClient));
     _log = logFactory.CreateLog(this);
 }