Пример #1
0
 public PushNotificationSender(INotificationService notificationService, IServerSettings serverSettings, IPromotionDao promotionDao, IAccountDao accountDao)
 {
     _notificationService = notificationService;
     _serverSettings      = serverSettings;
     _promotionDao        = promotionDao;
     _accountDao          = accountDao;
 }
 public SendReceiptService(
     ICommandBus commandBus,
     IIBSServiceProvider ibsServiceProvider,
     IOrderDao orderDao,
     IOrderPaymentDao orderPaymentDao,
     ICreditCardDao creditCardDao,
     IAccountDao accountDao,
     IPromotionDao promotionDao,
     IReportDao reportDao,
     IServerSettings serverSettings,
     IGeocoding geocoding,
     ILogger logger)
 {
     _serverSettings     = serverSettings;
     _logger             = logger;
     _ibsServiceProvider = ibsServiceProvider;
     _orderDao           = orderDao;
     _orderPaymentDao    = orderPaymentDao;
     _accountDao         = accountDao;
     _promotionDao       = promotionDao;
     _reportDao          = reportDao;
     _creditCardDao      = creditCardDao;
     _geocoding          = geocoding;
     _commandBus         = commandBus;
 }
Пример #3
0
        public CreateOrderService(ICommandBus commandBus,
                                  IAccountDao accountDao,
                                  IServerSettings serverSettings,
                                  ReferenceDataService referenceDataService,
                                  IIBSServiceProvider ibsServiceProvider,
                                  IRuleCalculator ruleCalculator,
                                  IAccountChargeDao accountChargeDao,
                                  ICreditCardDao creditCardDao,
                                  IOrderDao orderDao,
                                  IPromotionDao promotionDao,
                                  IEventSourcedRepository <Promotion> promoRepository,
                                  ITaxiHailNetworkServiceClient taxiHailNetworkServiceClient,
                                  IPaymentService paymentService,
                                  IPayPalServiceFactory payPalServiceFactory,
                                  IOrderPaymentDao orderPaymentDao,
                                  IFeesDao feesDao,
                                  ILogger logger,
                                  IIbsCreateOrderService ibsCreateOrderService)
            : base(serverSettings, commandBus, accountChargeDao, paymentService, creditCardDao,
                   ibsServiceProvider, promotionDao, promoRepository, orderPaymentDao, accountDao,
                   payPalServiceFactory, logger, taxiHailNetworkServiceClient, ruleCalculator,
                   feesDao, referenceDataService, orderDao)
        {
            _commandBus                   = commandBus;
            _accountDao                   = accountDao;
            _referenceDataService         = referenceDataService;
            _serverSettings               = serverSettings;
            _orderDao                     = orderDao;
            _taxiHailNetworkServiceClient = taxiHailNetworkServiceClient;
            _logger = logger;
            _ibsCreateOrderService = ibsCreateOrderService;
            _resources             = new Resources.Resources(_serverSettings);

            _taxiHailNetworkHelper = new TaxiHailNetworkHelper(_serverSettings, _taxiHailNetworkServiceClient, _commandBus, _logger);
        }
Пример #4
0
        public AccountManagementController(ICacheClient cache,
                                           IServerSettings serverSettings,
                                           IAccountDao accountDao,
                                           IAccountNoteService accountNoteService,
                                           ICreditCardDao creditCardDao,
                                           ICommandBus commandBus,
                                           IOrderDao orderDao,
                                           IPromotionDao promoDao,
                                           IPaymentService paymentService,
                                           INotificationService notificationService,
                                           BookingSettingsService bookingSettingsService,
                                           ConfirmAccountService confirmAccountService,
                                           ExportDataService exportDataService)
            : base(cache, serverSettings)
        {
            _accountDao             = accountDao;
            _accountNoteService     = accountNoteService;
            _creditCardDao          = creditCardDao;
            _bookingSettingsService = bookingSettingsService;
            _commandBus             = commandBus;
            _serverSettings         = serverSettings;
            _orderDao = orderDao;
            _promoDao = promoDao;
            _confirmAccountService = confirmAccountService;
            _exportDataService     = exportDataService;
            _paymentService        = paymentService;
            _notificationService   = notificationService;

            _resources = new Resources(serverSettings);
        }
Пример #5
0
 public ExportDataService(IAccountDao accountDao, IReportDao reportDao, IServerSettings serverSettings, IAppStartUpLogDao appStartUpLogDao, IPromotionDao promotionsDao)
 {
     _accountDao       = accountDao;
     _reportDao        = reportDao;
     _serverSettings   = serverSettings;
     _appStartUpLogDao = appStartUpLogDao;
     _promotionsDao    = promotionsDao;
 }
Пример #6
0
 public OrderService(IOrderDao dao, IOrderPaymentDao orderPaymentDao, IPromotionDao promotionDao, IAccountDao accountDao, ICommandBus commandBus, IIBSServiceProvider ibsServiceProvider)
 {
     _orderPaymentDao    = orderPaymentDao;
     _promotionDao       = promotionDao;
     _accountDao         = accountDao;
     _commandBus         = commandBus;
     _ibsServiceProvider = ibsServiceProvider;
     Dao = dao;
 }
 public PromoCodeController(ICacheClient cache,
                            IServerSettings serverSettings,
                            IPromotionDao promotionDao,
                            IAccountDao accountDao,
                            ICommandBus commandBus) : base(cache, serverSettings)
 {
     _promotionDao   = promotionDao;
     _accountDao     = accountDao;
     _commandBus     = commandBus;
     _serverSettings = serverSettings;
 }
Пример #8
0
 public PromotionTriggerGenerator(Func <BookingDbContext> contextFactory,
                                  ICommandBus commandBus,
                                  IPromotionDao promotionDao,
                                  IAccountDao accountDao,
                                  IOrderDao orderDao)
 {
     _contextFactory = contextFactory;
     _commandBus     = commandBus;
     _promotionDao   = promotionDao;
     _accountDao     = accountDao;
     _orderDao       = orderDao;
 }
Пример #9
0
 private SysBasicDataService()
 {
     _daoManager      = ServiceConfig.GetInstance().DaoManager;
     _noticeDao       = _daoManager.GetDao(typeof(INoticeDao)) as INoticeDao;
     _regionDao       = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao;
     _deskDao         = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao;
     _discountDao     = _daoManager.GetDao(typeof(IDiscountDao)) as IDiscountDao;
     _payoffWayDao    = _daoManager.GetDao(typeof(IPayoffWayDao)) as IPayoffWayDao;
     _reasonDao       = _daoManager.GetDao(typeof(IReasonDao)) as IReasonDao;
     _goodsGroupDao   = _daoManager.GetDao(typeof(IGoodsGroupDao)) as IGoodsGroupDao;
     _goodsDao        = _daoManager.GetDao(typeof(IGoodsDao)) as IGoodsDao;
     _detailsGroupDao = _daoManager.GetDao(typeof(IDetailsGroupDao)) as IDetailsGroupDao;
     _detailsDao      = _daoManager.GetDao(typeof(IDetailsDao)) as IDetailsDao;
     _goodsSetMealDao = _daoManager.GetDao(typeof(IGoodsSetMealDao)) as IGoodsSetMealDao;
     _buttonStyleDao  = _daoManager.GetDao(typeof(IButtonStyleDao)) as IButtonStyleDao;
     _sysConfigDao    = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
     _promotionDao    = _daoManager.GetDao(typeof(IPromotionDao)) as IPromotionDao;
 }
Пример #10
0
 private SysBasicDataService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _noticeDao = _daoManager.GetDao(typeof(INoticeDao)) as INoticeDao;
     _regionDao = _daoManager.GetDao(typeof(IRegionDao)) as IRegionDao;
     _deskDao = _daoManager.GetDao(typeof(IDeskDao)) as IDeskDao;
     _discountDao = _daoManager.GetDao(typeof(IDiscountDao)) as IDiscountDao;
     _payoffWayDao = _daoManager.GetDao(typeof(IPayoffWayDao)) as IPayoffWayDao;
     _reasonDao = _daoManager.GetDao(typeof(IReasonDao)) as IReasonDao;
     _goodsGroupDao = _daoManager.GetDao(typeof(IGoodsGroupDao)) as IGoodsGroupDao;
     _goodsDao = _daoManager.GetDao(typeof(IGoodsDao)) as IGoodsDao;
     _detailsGroupDao = _daoManager.GetDao(typeof(IDetailsGroupDao)) as IDetailsGroupDao;
     _detailsDao = _daoManager.GetDao(typeof(IDetailsDao)) as IDetailsDao;
     _goodsSetMealDao = _daoManager.GetDao(typeof(IGoodsSetMealDao)) as IGoodsSetMealDao;
     _buttonStyleDao = _daoManager.GetDao(typeof(IButtonStyleDao)) as IButtonStyleDao;
     _sysConfigDao = _daoManager.GetDao(typeof(ISystemConfigDao)) as ISystemConfigDao;
     _promotionDao = _daoManager.GetDao(typeof(IPromotionDao)) as IPromotionDao;
 }
Пример #11
0
 public OverduePaymentService(
     ICommandBus commandBus,
     IOverduePaymentDao overduePaymentDao,
     IAccountDao accountDao,
     IOrderDao orderDao,
     IOrderPaymentDao orderPaymentDao,
     IPromotionDao promotionDao,
     IPaymentService paymentService,
     IServerSettings serverSettings)
 {
     _commandBus        = commandBus;
     _overduePaymentDao = overduePaymentDao;
     _accountDao        = accountDao;
     _orderDao          = orderDao;
     _orderPaymentDao   = orderPaymentDao;
     _promotionDao      = promotionDao;
     _paymentService    = paymentService;
     _serverSettings    = serverSettings;
 }
Пример #12
0
 public MailSender(Func <BookingDbContext> contextFactory,
                   ICommandBus commandBus,
                   ICreditCardDao creditCardDao,
                   IPromotionDao promotionDao,
                   IOrderDao orderDao,
                   IAccountDao accountDao,
                   INotificationService notificationService,
                   IServerSettings serverSettings,
                   ILogger logger)
 {
     _contextFactory      = contextFactory;
     _commandBus          = commandBus;
     _creditCardDao       = creditCardDao;
     _orderDao            = orderDao;
     _promotionDao        = promotionDao;
     _accountDao          = accountDao;
     _notificationService = notificationService;
     _serverSettings      = serverSettings;
     _logger = logger;
 }
Пример #13
0
        internal BaseCreateOrderService(IServerSettings serverSettings,
                                        ICommandBus commandBus,
                                        IAccountChargeDao accountChargeDao,
                                        IPaymentService paymentService,
                                        ICreditCardDao creditCardDao,
                                        IIBSServiceProvider ibsServiceProvider,
                                        IPromotionDao promotionDao,
                                        IEventSourcedRepository <Promotion> promoRepository,
                                        IOrderPaymentDao orderPaymentDao,
                                        IAccountDao accountDao,
                                        IPayPalServiceFactory payPalServiceFactory,
                                        ILogger logger,
                                        ITaxiHailNetworkServiceClient taxiHailNetworkServiceClient,
                                        IRuleCalculator ruleCalculator,
                                        IFeesDao feesDao,
                                        ReferenceDataService referenceDataService,
                                        IOrderDao orderDao)
        {
            _serverSettings               = serverSettings;
            _commandBus                   = commandBus;
            _accountChargeDao             = accountChargeDao;
            _paymentService               = paymentService;
            _creditCardDao                = creditCardDao;
            _ibsServiceProvider           = ibsServiceProvider;
            _promotionDao                 = promotionDao;
            _promoRepository              = promoRepository;
            _accountDao                   = accountDao;
            _logger                       = logger;
            _taxiHailNetworkServiceClient = taxiHailNetworkServiceClient;
            _ruleCalculator               = ruleCalculator;
            _feesDao                      = feesDao;
            _referenceDataService         = referenceDataService;
            _orderDao                     = orderDao;

            _resources             = new Resources.Resources(_serverSettings);
            _taxiHailNetworkHelper = new TaxiHailNetworkHelper(_serverSettings, _taxiHailNetworkServiceClient, _commandBus, _logger);

            PaymentHelper = new CreateOrderPaymentHelper(serverSettings, commandBus, paymentService, orderPaymentDao, payPalServiceFactory);
        }
 public PromotionController(SqlPromotion _PromotionRepository)
 {
     this._PromotionRepository = _PromotionRepository;
 }
Пример #15
0
 public PromotionService(IPromotionDao promotionDao)
 {
     _promotionDao = promotionDao;
 }