Beispiel #1
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);
 }
Beispiel #2
0
 public CustomersController(
     ICustomerProfileClient customerProfileClient,
     IOperationsHistoryClient operationsHistoryClient,
     IReferralService referralService,
     IPrivateBlockchainFacadeClient pbfClient,
     ISettingsService settingsService,
     IPrivateBlockchainFacadeClient privateBlockchainFacadeClient,
     ICustomerManagementServiceClient customerManagementServiceClient,
     IWalletManagementClient walletManagementClient,
     ICrossChainWalletLinkerClient crossChainWalletLinkerClient,
     IHistoryConverter historyConverter,
     ICampaignClient campaignClient,
     IMapper mapper)
 {
     _customerProfileClient   = customerProfileClient;
     _operationsHistoryClient = operationsHistoryClient;
     _referralService         = referralService;
     _pbfClient       = pbfClient;
     _settingsService = settingsService;
     _privateBlockchainFacadeClient = privateBlockchainFacadeClient ??
                                      throw new ArgumentNullException(nameof(privateBlockchainFacadeClient));
     _customerManagementServiceClient = customerManagementServiceClient ??
                                        throw new ArgumentNullException(nameof(customerManagementServiceClient));
     _walletManagementClient = walletManagementClient ??
                               throw new ArgumentNullException(nameof(walletManagementClient));
     _crossChainWalletLinkerClient = crossChainWalletLinkerClient ??
                                     throw new ArgumentNullException(nameof(crossChainWalletLinkerClient));
     _historyConverter = historyConverter;
     _campaignClient   = campaignClient;
     _mapper           = mapper;
 }
 public VouchersService(
     IPaymentManagementClient paymentManagementClient,
     IPartnerManagementClient partnerManagementClient,
     ICustomerProfileClient customerProfileClient,
     IVouchersRepository vouchersRepository,
     ICampaignsRepository campaignsRepository,
     IPaymentRequestsRepository paymentRequestsRepository,
     ILogFactory logFactory,
     IRedisLocksService redisLocksService,
     IRabbitPublisher <SmartVoucherSoldEvent> voucherSoldPublisher,
     IRabbitPublisher <SmartVoucherUsedEvent> voucherUsedPublisher,
     IRabbitPublisher <SmartVoucherTransferredEvent> voucherTransferredPublisher,
     TimeSpan lockTimeOut)
 {
     _paymentManagementClient   = paymentManagementClient;
     _partnerManagementClient   = partnerManagementClient;
     _customerProfileClient     = customerProfileClient;
     _vouchersRepository        = vouchersRepository;
     _campaignsRepository       = campaignsRepository;
     _paymentRequestsRepository = paymentRequestsRepository;
     _redisLocksService         = redisLocksService;
     _voucherSoldPublisher      = voucherSoldPublisher;
     _log                         = logFactory.CreateLog(this);
     _lockTimeOut                 = lockTimeOut;
     _voucherUsedPublisher        = voucherUsedPublisher;
     _voucherTransferredPublisher = voucherTransferredPublisher;
 }
 public DemoHotelService(
     string baseCurrencyCode,
     IReferralHotelsRepository referralHotelsRepository,
     ISettingsService settingsService,
     INotificationPublisherService notificationPublisherService,
     IHashingManager hashingManager,
     ICustomerProfileClient customerProfileClient,
     ICampaignClient campaignClient,
     ILogFactory logFactory,
     TimeSpan referralExpirationPeriod,
     IMapper mapper,
     IRabbitPublisher <HotelReferralUsedEvent> hotelReferralUsedPublisher)
 {
     _baseCurrencyCode             = baseCurrencyCode;
     _referralHotelsRepository     = referralHotelsRepository;
     _settingsService              = settingsService;
     _notificationPublisherService = notificationPublisherService;
     _hashingManager           = hashingManager;
     _customerProfileClient    = customerProfileClient;
     _campaignClient           = campaignClient;
     _referralExpirationPeriod = referralExpirationPeriod;
     _mapper = mapper;
     _hotelReferralUsedPublisher = hotelReferralUsedPublisher;
     _log = logFactory.CreateLog(this);
 }
 public PasswordResetService(
     ICustomerProfileClient customerProfileClient,
     ICredentialsClient credentialsClient,
     IPostProcessService postProcessService,
     IRabbitPublisher <EmailMessageEvent> emailEventPublisher,
     ILogFactory logFactory,
     string passwordResetEmailTemplateId,
     string passwordResetEmailSubjectTemplateId,
     string passwordResetEmailVerificationLinkTemplate,
     string passwordSuccessfulResetEmailTemplateId,
     string passwordSuccessfulResetEmailSubjectTemplateId,
     ICustomerFlagsRepository customerFlagsRepository,
     IMapper mapper)
 {
     _customerProfileClient                         = customerProfileClient;
     _credentialsClient                             = credentialsClient;
     _postProcessService                            = postProcessService;
     _emailEventPublisher                           = emailEventPublisher;
     _passwordResetEmailTemplateId                  = passwordResetEmailTemplateId;
     _passwordResetEmailSubjectTemplateId           = passwordResetEmailSubjectTemplateId;
     _passwordResetEmailVerificationLinkTemplate    = passwordResetEmailVerificationLinkTemplate;
     _passwordSuccessfulResetEmailTemplateId        = passwordSuccessfulResetEmailTemplateId;
     _passwordSuccessfulResetEmailSubjectTemplateId = passwordSuccessfulResetEmailSubjectTemplateId;
     _customerFlagsRepository                       = customerFlagsRepository;
     _log    = logFactory.CreateLog(this);
     _mapper = mapper;
 }
Beispiel #6
0
 public ReferralStakesService(
     IReferralStakesRepository referralStakesRepository,
     IStakesBlockchainDataRepository stakesBlockchainDataRepository,
     IReferralStakesStatusUpdater referralStakesStatusUpdater,
     IBlockchainEncodingService blockchainEncodingService,
     IRabbitPublisher <PushNotificationEvent> pushNotificationsPublisher,
     ITransactionRunner transactionRunner,
     IPrivateBlockchainFacadeClient pbfClient,
     ICustomerProfileClient customerProfileClient,
     ICampaignClient campaignClient,
     IWalletManagementClient walletManagementClient,
     IMoneyFormatter moneyFormatter,
     ISettingsService settingsService,
     IPushNotificationsSettingsService pushNotificationsSettingsService,
     ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
     _referralStakesRepository       = referralStakesRepository;
     _stakesBlockchainDataRepository = stakesBlockchainDataRepository;
     _referralStakesStatusUpdater    = referralStakesStatusUpdater;
     _blockchainEncodingService      = blockchainEncodingService;
     _pushNotificationsPublisher     = pushNotificationsPublisher;
     _transactionRunner                = transactionRunner;
     _pbfClient                        = pbfClient;
     _customerProfileClient            = customerProfileClient;
     _campaignClient                   = campaignClient;
     _walletManagementClient           = walletManagementClient;
     _moneyFormatter                   = moneyFormatter;
     _settingsService                  = settingsService;
     _pushNotificationsSettingsService = pushNotificationsSettingsService;
     _componentSourceName              = $"{AppEnvironment.Name} - {AppEnvironment.Version}";
 }
Beispiel #7
0
 public EmailVerificationService(
     IEmailVerificationCodeRepository emailVerificationCodeRepository,
     ILogFactory logFactory,
     IRabbitPublisher <EmailMessageEvent> emailEventPublisher,
     IRabbitPublisher <EmailCodeVerifiedEvent> codeVerifiedEventPublisher,
     string verificationEmailTemplateId,
     string verificationEmailSubjectTemplateId,
     string verificationEmailVerificationLink,
     string verificationThankYouEmailTemplateId,
     string verificationThankYouEmailSubjectTemplateId,
     ICustomerProfileClient customerProfileClient,
     ICallRateLimiterService callRateLimiterService)
 {
     _emailVerificationCodeRepository            = emailVerificationCodeRepository;
     _emailEventPublisher                        = emailEventPublisher;
     _codeVerifiedEventPublisher                 = codeVerifiedEventPublisher;
     _verificationEmailTemplateId                = verificationEmailTemplateId;
     _verificationEmailSubjectTemplateId         = verificationEmailSubjectTemplateId;
     _verificationEmailVerificationLink          = verificationEmailVerificationLink;
     _verificationThankYouEmailTemplateId        = verificationThankYouEmailTemplateId;
     _verificationThankYouEmailSubjectTemplateId = verificationThankYouEmailSubjectTemplateId;
     _customerProfileClient                      = customerProfileClient;
     _callRateLimiterService                     = callRateLimiterService;
     _log = logFactory.CreateLog(this);
 }
Beispiel #8
0
 public DemoLeadService(
     IReferralLeadRepository referralLeadRepository,
     ISettingsService settingsService,
     INotificationPublisherService notificationPublisherService,
     IHashingManager hashingManager,
     IAgentManagementClient agentManagementClient,
     ICustomerProfileClient customerProfileClient,
     IDictionariesClient dictionariesClient,
     CommissionManager commissionManager,
     ILogFactory logFactory,
     int delay,
     IOfferToPurchasePurchaseRepository offerToPurchasePurchaseRepository,
     IRabbitPublisher <PropertyLeadApprovedReferralEvent> propertyLeadApprovedReferralPublisher,
     IRabbitPublisher <OfferToPurchaseByLeadEvent> offerToPurchasePublisher,
     IRabbitPublisher <LeadStateChangedEvent> leadStateChangedPublisher,
     IMapper mapper,
     IPropertyPurchaseRepository propertyPurchaseRepository)
 {
     _referralLeadRepository       = referralLeadRepository;
     _settingsService              = settingsService;
     _notificationPublisherService = notificationPublisherService;
     _hashingManager        = hashingManager;
     _agentManagementClient = agentManagementClient;
     _customerProfileClient = customerProfileClient;
     _dictionariesClient    = dictionariesClient;
     _commissionManager     = commissionManager;
     _delay = delay;
     _offerToPurchasePurchaseRepository     = offerToPurchasePurchaseRepository;
     _propertyLeadApprovedReferralPublisher = propertyLeadApprovedReferralPublisher;
     _offerToPurchasePublisher   = offerToPurchasePublisher;
     _leadStateChangedPublisher  = leadStateChangedPublisher;
     _propertyPurchaseRepository = propertyPurchaseRepository;
     _mapper = mapper;
     _log    = logFactory.CreateLog(this);
 }
 public CustomersService(ICredentialsClient credentialsClient,
                         IPostProcessService postProcessService,
                         ICustomerProfileClient customerProfileClient,
                         ICustomerFlagsRepository customerFlagsRepository,
                         ISessionsServiceClient sessionsServiceClient,
                         string passwordSuccessfulChangeEmailTemplateId,
                         string passwordSuccessfulChangeEmailSubjectTemplateId,
                         ILogFactory logFactory,
                         int getCustomerBlockStatusBatchMaxValue,
                         IRabbitPublisher <EmailMessageEvent> emailEventPublisher,
                         string customerBlockEmailTemplateId,
                         string customerUnblockEmailTemplateId,
                         string customerBlockSubjectTemplateId,
                         string customerUnblockSubjectTemplateId,
                         string customerSupportPhoneNumber)
 {
     _credentialsClient       = credentialsClient;
     _postProcessService      = postProcessService;
     _customerProfileClient   = customerProfileClient;
     _sessionsServiceClient   = sessionsServiceClient;
     _customerFlagsRepository = customerFlagsRepository;
     _passwordSuccessfulChangeEmailTemplateId        = passwordSuccessfulChangeEmailTemplateId;
     _passwordSuccessfulChangeEmailSubjectTemplateId = passwordSuccessfulChangeEmailSubjectTemplateId;
     _getCustomerBlockStatusBatchMaxValue            = getCustomerBlockStatusBatchMaxValue;
     _emailEventPublisher              = emailEventPublisher;
     _customerBlockEmailTemplateId     = customerBlockEmailTemplateId;
     _customerUnblockEmailTemplateId   = customerUnblockEmailTemplateId;
     _customerBlockSubjectTemplateId   = customerBlockSubjectTemplateId;
     _customerUnblockSubjectTemplateId = customerUnblockSubjectTemplateId;
     _customerSupportPhoneNumber       = customerSupportPhoneNumber;
     _log = logFactory.CreateLog(this);
 }
 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}";
 }
Beispiel #11
0
 public ReferralHotelsService(
     IStakeService stakeService,
     ICustomerProfileClient customerProfileClient,
     ICurrencyConvertorClient currencyConverterClient,
     ICampaignClient campaignClient,
     IPartnerManagementClient partnerManagementClient,
     IRabbitPublisher <HotelReferralUsedEvent> rabbitPublisher,
     INotificationPublisherService notificationPublisherService,
     IReferralHotelsRepository referralHotelsRepository,
     ISettingsService settingsService,
     IHashingManager hashingManager,
     TimeSpan referralExpirationPeriod,
     TimeSpan referralLimitPeriod,
     int referralLimit,
     IMapper mapper,
     string globalBaseCurrencyCode,
     ILogFactory logFactory)
 {
     _stakeService                 = stakeService;
     _customerProfileClient        = customerProfileClient;
     _currencyConverterClient      = currencyConverterClient;
     _campaignClient               = campaignClient;
     _partnerManagementClient      = partnerManagementClient;
     _rabbitPublisher              = rabbitPublisher;
     _notificationPublisherService = notificationPublisherService;
     _referralHotelsRepository     = referralHotelsRepository;
     _settingsService              = settingsService;
     _hashingManager               = hashingManager;
     _referralExpirationPeriod     = referralExpirationPeriod;
     _referralLimitPeriod          = referralLimitPeriod;
     _referralLimit                = referralLimit;
     _mapper = mapper;
     _globalBaseCurrencyCode = globalBaseCurrencyCode;
     _log = logFactory.CreateLog(this);
 }
 public PartnerIntegrationPropertiesService(
     ICustomerProfileClient customerProfileClient,
     string apiBaseUrl)
 {
     _customerProfileClient = customerProfileClient;
     _apiBaseUrl            = apiBaseUrl;
 }
Beispiel #13
0
 public VoucherTokensReservedHandler(
     ICustomerProfileClient customerProfileClient,
     ITransactionReportRepository reportHelper
     )
 {
     _customerProfileClient = customerProfileClient;
     _reportHelper          = reportHelper;
 }
 public P2PTransferHandler(
     ICustomerProfileClient customerProfileClient,
     ITransactionReportRepository reportHelper
     )
 {
     _customerProfileClient = customerProfileClient;
     _reportHelper          = reportHelper;
 }
 public TransferToExternalProcessedHandler(
     ICustomerProfileClient customerProfileClient,
     ITransactionReportRepository reportHelper
     )
 {
     _customerProfileClient = customerProfileClient;
     _reportHelper          = reportHelper;
 }
Beispiel #16
0
 public AgentsController(
     IRequestContext requestContext,
     ICustomerProfileClient customerProfileClient,
     IAgentManagementClient agentManagementClient)
 {
     _requestContext        = requestContext;
     _customerProfileClient = customerProfileClient;
     _agentManagementClient = agentManagementClient;
 }
Beispiel #17
0
 public WalletManagementService(
     ICustomerProfileClient customerProfileClient,
     IWalletFlagsRepository walletFlagsRepository,
     IRabbitPublisher <CustomerWalletStatusUpdatedEvent> walletStatusUpdatePublisher)
 {
     _customerProfileClient       = customerProfileClient;
     _walletFlagsRepository       = walletFlagsRepository;
     _walletStatusUpdatePublisher = walletStatusUpdatePublisher;
 }
Beispiel #18
0
 public LocationService(
     ICustomerProfileClient customerProfileClient,
     ILogFactory logFactory,
     ILocationRepository locationRepository)
 {
     _customerProfileClient = customerProfileClient;
     _locationRepository    = locationRepository;
     _log = logFactory.CreateLog(this);
 }
 public SmartVoucherUsedHandler(
     ITransactionReportRepository reportHelper,
     IPartnerManagementClient partnerManagementClient,
     ICustomerProfileClient customerProfileClient,
     ISmartVouchersClient smartVouchersClient)
 {
     _reportHelper            = reportHelper;
     _partnerManagementClient = partnerManagementClient;
     _customerProfileClient   = customerProfileClient;
     _smartVouchersClient     = smartVouchersClient;
 }
 public PartnersPaymentTokensReservedHandler(
     ICustomerProfileClient customerProfileClient,
     IPartnerManagementClient partnerManagementClient,
     ITransactionReportRepository reportHelper,
     ILogFactory logFactory)
 {
     _customerProfileClient   = customerProfileClient;
     _partnerManagementClient = partnerManagementClient;
     _reportHelper            = reportHelper;
     _log = logFactory.CreateLog(this);
 }
 public PhonesController(
     ICustomerManagementServiceClient customerManagementClient,
     ICustomerProfileClient customerProfileClient,
     IRequestContext requestContext,
     ILogFactory logFactory)
 {
     _customerManagementClient = customerManagementClient;
     _customerProfileClient    = customerProfileClient;
     _requestContext           = requestContext;
     _log = logFactory.CreateLog(this);
 }
Beispiel #22
0
 public LocationService(
     ICustomerProfileClient customerProfileClient,
     ILogFactory logFactory,
     ILocationRepository locationRepository,
     IGeocodingReader geocodingReader)
 {
     _customerProfileClient = customerProfileClient;
     _geocodingReader       = geocodingReader;
     _locationRepository    = locationRepository;
     _log = logFactory.CreateLog(this);
 }
 public KeysService(ICustomerProfileClient customerProfileClient,
                    IPushNotificationsClient pushNotificationsClient,
                    IDictionariesClient dictionariesClient,
                    ISettingsService settingsService,
                    string imagesBaseUrl)
 {
     _customerProfileClient   = customerProfileClient;
     _pushNotificationsClient = pushNotificationsClient;
     _dictionariesClient      = dictionariesClient ?? throw new ArgumentNullException(nameof(dictionariesClient));
     _settingsService         = settingsService;
     _imagesBaseUrl           = imagesBaseUrl;
 }
 public PaymentProviderDetailsController(
     IPartnerManagementClient partnerManagementClient,
     IPaymentManagementClient paymentManagementClient,
     IExtRequestContext requestContext,
     ICustomerProfileClient customerProfileClient,
     IMapper mapper)
 {
     _partnerManagementClient = partnerManagementClient;
     _paymentManagementClient = paymentManagementClient;
     _requestContext          = requestContext;
     _customerProfileClient   = customerProfileClient;
     _mapper = mapper;
 }
 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 #26
0
 public CustomerService(
     ICustomerManagementServiceClient customerManagementServiceClient,
     ICustomerProfileClient customerProfileClient,
     IGoogleApi googleApiClient,
     IDictionariesClient dictionariesClient,
     IMapper mapper)
 {
     _customerManagementServiceClient = customerManagementServiceClient;
     _customerProfileClient           = customerProfileClient;
     _googleApiClient    = googleApiClient;
     _dictionariesClient = dictionariesClient;
     _mapper             = mapper;
 }
Beispiel #27
0
 public SigninThrottlingService(
     IExpiringCountersService expiringCountersService,
     IDistributedLocksServiceProvider distributedLocksServiceProvider,
     IThrottlingSettingsService throttlingSettingsService,
     ILogFactory logFactory,
     ICustomerProfileClient customerProfileClient)
 {
     _expiringCountersService = expiringCountersService;
     _customerProfileClient   = customerProfileClient;
     _locksService            = distributedLocksServiceProvider.Get(DistributedLockPurpose.SigninThrottling);
     _config = throttlingSettingsService.GetSigninSettings();
     _log    = logFactory.CreateLog(this);
 }
Beispiel #28
0
 public AuthService(
     ISessionsServiceClient sessionsServiceClient,
     ICredentialsClient credentialsClient,
     ICustomerProfileClient customerProfileClient,
     ICustomersService customersService,
     ILogFactory logFactory)
 {
     _sessionsServiceClient = sessionsServiceClient;
     _credentialsClient     = credentialsClient;
     _customerProfileClient = customerProfileClient;
     _customersService      = customersService;
     _log = logFactory.CreateLog(this);
 }
Beispiel #29
0
        public NotificationPublisherService(
            IRabbitPublisher <EmailMessageEvent> emailsPublisher,
            IRabbitPublisher <SmsEvent> smsPublisher,
            IRabbitPublisher <PushNotificationEvent> pushNotificationPublisher,
            ICustomerProfileClient customerProfileClient,
            IUrlShortenerClient shortenerClient,
            string hotelReferralConfirmEmailLinkFormat,
            string hotelReferralConfirmHotelReservationLink,
            string hotelReferralConfirmEmailTemplateId,
            string hotelReferralConfirmEmailSubjectTemplateId,
            string friendReferralConfirmEmailTemplateId,
            string friendReferralConfirmEmailSubjectTemplateId,
            string leadConfirmSmsLinkFormat,
            string leadConfirmSmsTemplateId,
            string leadAlreadyConfirmedEmailTemplateId,
            string leadAlreadyConfirmedEmailSubjectTemplateId,
            string leadSuccessfullyConfirmedEmailTemplateId,
            string leadSuccessfullyConfirmedEmailSubjectTemplateId,
            string leadSuccessfullyConfirmedPushNotificationTemplateId,
            string deepLinkReferralList,
            string friendConfirmLinkFormat,
            bool useShortenedLeadUrl)
        {
            _pushNotificationPublisher = pushNotificationPublisher;
            _emailsPublisher           = emailsPublisher;
            _smsPublisher          = smsPublisher;
            _customerProfileClient = customerProfileClient;
            _shortenerClient       = shortenerClient;

            _hotelReferralConfirmEmailLinkFormat        = hotelReferralConfirmEmailLinkFormat;
            _hotelReferralConfirmHotelReservationLink   = hotelReferralConfirmHotelReservationLink;
            _hotelReferralConfirmEmailTemplateId        = hotelReferralConfirmEmailTemplateId;
            _hotelReferralConfirmEmailSubjectTemplateId = hotelReferralConfirmEmailSubjectTemplateId;

            _friendReferralConfirmEmailTemplateId        = friendReferralConfirmEmailTemplateId;
            _friendReferralConfirmEmailSubjectTemplateId = friendReferralConfirmEmailSubjectTemplateId;

            _leadConfirmSmsLinkFormat = leadConfirmSmsLinkFormat;
            _leadConfirmSmsTemplateId = leadConfirmSmsTemplateId;

            _leadAlreadyConfirmedEmailTemplateId        = leadAlreadyConfirmedEmailTemplateId;
            _leadAlreadyConfirmedEmailSubjectTemplateId = leadAlreadyConfirmedEmailSubjectTemplateId;

            _leadSuccessfullyConfirmedEmailTemplateId            = leadSuccessfullyConfirmedEmailTemplateId;
            _leadSuccessfullyConfirmedEmailSubjectTemplateId     = leadSuccessfullyConfirmedEmailSubjectTemplateId;
            _leadSuccessfullyConfirmedPushNotificationTemplateId = leadSuccessfullyConfirmedPushNotificationTemplateId;

            _deepLinkReferralList    = deepLinkReferralList;
            _friendConfirmLinkFormat = friendConfirmLinkFormat;
            _useShortenedLeadUrl     = useShortenedLeadUrl;
        }
 public ReferralHotelsController(
     IReferralHotelsService referralHotelsService,
     IDemoHotelService demoHotelService,
     ICustomerProfileClient customerProfileClient,
     ISettingsService settingsService,
     IMapper mapper,
     ILogFactory logFactory)
     : base(settingsService, logFactory)
 {
     _referralHotelsService = referralHotelsService;
     _mapper                = mapper;
     _demoHotelService      = demoHotelService;
     _customerProfileClient = customerProfileClient;
 }