public AgentService(
     string agentApprovedPushTemplateId,
     string agentRejectedPushTemplateId,
     string agentRejectedEmailSubjectTemplateId,
     string agentRejectedEmailTemplateId,
     IRequirementsService requirementsService,
     IAgentRepository agentRepository,
     IImageRepository imageRepository,
     ICustomerProfileClient customerProfileClient,
     IPrivateBlockchainFacadeClient pbfClient,
     IRabbitPublisher <PushNotificationEvent> pushNotificationPublisher,
     IRabbitPublisher <EmailMessageEvent> emailNotificationPublisher,
     IMAVNPropertyIntegrationClient tokenPropertyIntegrationClient,
     ISettingsService settingsService,
     ILogFactory logFactory)
 {
     _agentApprovedPushTemplateId         = agentApprovedPushTemplateId;
     _agentRejectedPushTemplateId         = agentRejectedPushTemplateId;
     _agentRejectedEmailSubjectTemplateId = agentRejectedEmailSubjectTemplateId;
     _agentRejectedEmailTemplateId        = agentRejectedEmailTemplateId;
     _requirementsService            = requirementsService;
     _agentRepository                = agentRepository;
     _imageRepository                = imageRepository;
     _customerProfileClient          = customerProfileClient;
     _pbfClient                      = pbfClient;
     _pushNotificationPublisher      = pushNotificationPublisher;
     _emailNotificationPublisher     = emailNotificationPublisher;
     _tokenPropertyIntegrationClient = tokenPropertyIntegrationClient;
     _settingsService                = settingsService;
     _log = logFactory.CreateLog(this);
     _componentSourceName = $"{AppEnvironment.Name} - {AppEnvironment.Version}";
 }
Пример #2
0
 public ReferralLeadService(
     IStakeService stakeService,
     IMAVNPropertyIntegrationClient propertyIntegrationClient,
     IRabbitPublisher <PropertyLeadApprovedReferralEvent> propertyLeadApprovedReferralPublisher,
     IReferralLeadRepository referralLeadRepository,
     INotificationPublisherService notificationPublisherService,
     ISettingsService settingsService,
     IHashingManager hashingManager,
     IAgentManagementClient agentManagementClient,
     ICustomerProfileClient customerProfileClient,
     IDictionariesClient dictionariesClient,
     IPropertyPurchaseRepository propertyPurchaseRepository,
     IRabbitPublisher <LeadStateChangedEvent> leadStateChangedPublisher,
     IMapper mapper,
     ILogFactory logFactory)
 {
     _stakeService = stakeService;
     _propertyIntegrationClient             = propertyIntegrationClient;
     _propertyLeadApprovedReferralPublisher = propertyLeadApprovedReferralPublisher;
     _referralLeadRepository       = referralLeadRepository;
     _notificationPublisherService = notificationPublisherService;
     _settingsService            = settingsService;
     _hashingManager             = hashingManager;
     _agentManagementClient      = agentManagementClient;
     _customerProfileClient      = customerProfileClient;
     _dictionariesClient         = dictionariesClient;
     _propertyPurchaseRepository = propertyPurchaseRepository;
     _leadStateChangedPublisher  = leadStateChangedPublisher
                                   ?? throw new ArgumentNullException(nameof(propertyLeadApprovedReferralPublisher));
     _mapper = mapper;
     _log    = logFactory.CreateLog(this);
 }
Пример #3
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);
 }