Пример #1
0
 public BaseController(IPromoService promoService, IProductService productService,
                       IUserService userService)
 {
     ProductService = productService;
     PromoService   = promoService;
     UserService    = userService;
 }
Пример #2
0
        public PromoController(IStudentService studentService, IPromoService promoService)
        {
            StudentService = studentService;
            PromoService   = promoService;

            ViewBag.ActivePage = ActivePageName;
        }
Пример #3
0
 public StartupService()
 {
     _crossFileService    = DependencyService.Get <ICrossFileService>();
     _dataService         = DependencyService.Get <IDataService>();
     _promoService        = DependencyService.Get <IPromoService>();
     _globalOptionService = DependencyService.Get <IGlobalOptionService>();
     _logService          = DependencyService.Get <ILogService>();
 }
Пример #4
0
        public BaseController()
        {
            var _unitOfWork = new UnitOfWork();

            ProductService = new ProductService(_unitOfWork);
            PromoService   = new PromoService(_unitOfWork);
            UserService    = new UserService(_unitOfWork);
            CartService    = new CartService(_unitOfWork);
        }
Пример #5
0
        public StudentController(IStudentService studentService, IStudentNoteService studentNoteService,
                                 IPromoService promoService, IStudyAbroadService studyAbroadService)
        {
            StudentService     = studentService;
            StudentNoteService = studentNoteService;
            PromoService       = promoService;
            StudyAbroadService = studyAbroadService;

            ViewBag.ActivePage = ActivePageName;
        }
Пример #6
0
 public PromoController(ApplicationDbContext DbContext, IPromoService promoService, IMainJS mainJS, IBasicHTML sliderHTML,
                        IBasicCSS sliderCSS, IBasicJS sliderJS, ISubscriptionService subscriptionService)
 {
     _DbContext           = DbContext;
     _PromoService        = promoService;
     _MainJS              = mainJS;
     _PromoHTML           = sliderHTML;
     _PromoCSS            = sliderCSS;
     _PromoJS             = sliderJS;
     _SubscriptionService = subscriptionService;
 }
Пример #7
0
        private void UpdatePromoButton()
        {
            IPromoService promoService = Services.GetService <IPromoService>();

            //promoButton.interactable = promoService.IsAllowPromo();
            if (promoService.IsAllowPromo())
            {
                promoButton.Activate();
            }
            else
            {
                promoButton.Deactivate();
            }
        }
 public PromoPlugin(
     IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IPictureService pictureService,
     ICurrencyService currencyService,
     ISettingService settingService,
     IWorkContext workContext,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     PromoSettings promosFeedSettings,
     CurrencySettings currencySettings,
     IProductAttributeService productAttributeService,
     IPriceCalculationService priceCalculationService,
     ITaxService taxService,
     ILogger logger,
     IPromoService promosFeedService,
     IScheduleTaskService scheduleTaskService,
     NopPromoContext nopPromoContext,
     IProductAttributeConfigService productAttributeConfigService,
     WidgetSettings widgetSettings,
     IPluginFinder pluginFinder,
     ILocalizationService localizationService)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._pictureService = pictureService;
     this._currencyService = currencyService;
     this._settingService = settingService;
     this._workContext = workContext;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._promoSettings = promosFeedSettings;
     this._currencySettings = currencySettings;
     this._productAttributeService = productAttributeService;
     this._priceCalculationService = priceCalculationService;
     this._taxService = taxService;
     this._logger = logger;
     this._promosFeedService = promosFeedService;
     this._scheduleTaskService = scheduleTaskService;
     this._nopPromoContext = nopPromoContext;
     this._productAttributeConfigService = productAttributeConfigService;
     this._widgetSettings = widgetSettings;
     this._pluginFinder = pluginFinder;
     this._localizationService = localizationService;
 }
 public AdminController(
     IProductService productService,
     IProductCategoryService productCategoryService,
     ITagService tagService,
     IImageService imageService,
     ILayoutService layoutService,
     IPromoService promoService,
     IOrderService orderService
     )
 {
     CategoryService = productCategoryService;
     ProductService  = productService;
     TagService      = tagService;
     ImageService    = imageService;
     LayoutService   = layoutService;
     PromoService    = promoService;
     OrderService    = orderService;
 }
        public InstallationPageViewModel(INavigation navigation = null)
            : base(navigation)
        {
            _globalOptionService = DependencyService.Get <IGlobalOptionService>();
            _applicationService  = DependencyService.Get <IApplicationService>();
            _promoService        = DependencyService.Get <IPromoService>();
            _logService          = DependencyService.Get <ILogService>();
            PromoCode            = ShowPromoCode();

#if DEBUG
            FirstName       = "Naimul";
            LastName        = "Huq";
            Email           = "*****@*****.**";
            UserName        = "******";
            PostalCode      = "74110";
            Password        = "******";
            ConfirmPassword = "******";
            SecretAnswer    = "secret";
            RegistrationId  = "4895-6I0ZY";
#endif
        }
Пример #11
0
        public SplashPageViewModel(INavigation navigation)
            : base(navigation)
        {
            _globalOptionService = DependencyService.Get <IGlobalOptionService>();
            _softwareService     = DependencyService.Get <ISoftwareService>();
            _logService          = DependencyService.Get <ILogService>();
            _promoService        = DependencyService.Get <IPromoService>();

            SetImage();
            SetSize();

            // Setup the sponsor info
            try
            {
                SetSponsor();
            }
            catch (Exception ex)
            {
                _logService.LogException(ex);
            }
        }
 public PromoAdminController(
     IProductService productService, ICurrencyService currencyService,
     ILocalizationService localizationService, IPluginFinder pluginFinder,
     ILogger logger, IWebHelper webHelper, IStoreService storeService,
     PromoSettings promoSettings, ISettingService settingService,
     IPermissionService permissionService, ICategoryService categoryService,
     IPromoService promoService,
     IScheduleTaskService scheduleTaskService,
     IExportQueueService exportQueueService,
     IProductAttributeConfigService productAttributeConfigService,
     IAttributeValueService attributeValueService,
     IShippingService shippingService,
     ICustomerService customerService,
     ICheckoutAttributeService checkoutAttributeService,
     IPromoPictureService promoPictureService,
     IPictureService pictureService)
 {
     this._productService = productService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._pluginFinder = pluginFinder;
     this._logger = logger;
     this._webHelper = webHelper;
     this._storeService = storeService;
     this._promoSettings = promoSettings;
     this._settingService = settingService;
     this._permissionService = permissionService;
     this._categoryService = categoryService;
     this._promoService = promoService;
     this._scheduleTaskService = scheduleTaskService;
     this._exportQueueService = exportQueueService;
     this._productAttributeConfigService = productAttributeConfigService;
     this._attributeValueService = attributeValueService;
     this._shippingService = shippingService;
     this._customerService = customerService;
     this._checkoutAttributeService = checkoutAttributeService;
     this._promoPictureService = promoPictureService;
     this._pictureService = pictureService;
 }
Пример #13
0
 public DataFeedTask(
     IPluginFinder pluginFinder,
     IStoreService storeService,
     PromoSettings promoSettings,
     IExportQueueService exportQueueService,
     IPromoService qixolPromoService,
     IPromoUtilities qixolPromoUtilities,
     IAttributeValueService attributeValueService,
     IShippingService shippingService,
     ICustomerService customerService,
     IProductAttributeConfigService productAttributeConfigService,
     IProductMappingService productMappingService,
     IProductService productService,
     IProductAttributeParser productAttributeParser,
     IVendorService vendorService,
     ITaxCategoryService taxCategoryService,
     ICheckoutAttributeService checkoutAttributeService,
     ICurrencyService currencyService)
 {
     this._pluginFinder = pluginFinder;
     this._storeService = storeService;
     this._promoSettings = promoSettings;
     this._exportQueueService = exportQueueService;
     this._qixolPromoService = qixolPromoService;
     this._qixolPromoUtilities = qixolPromoUtilities;
     this._attributeValueService = attributeValueService;
     this._shippingService = shippingService;
     this._customerService = customerService;
     this._productAttributeConfigService = productAttributeConfigService;
     this._productMappingService = productMappingService;
     this._productService = productService;
     this._productAttributeParser = productAttributeParser;
     this._vendorService = vendorService;
     this._taxCategoryService = taxCategoryService;
     this._checkoutAttributeService = checkoutAttributeService;
     this._currencyService = currencyService;
 }
Пример #14
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="resourceManager"></param>
 /// <param name="promoService"></param>
 public PromoManager(IApiResourceManager resourceManager, IPromoService promoService)
 {
     _resourceManager = resourceManager;
     _promoService    = promoService;
 }
Пример #15
0
 public RegisterEvents()
 {
     _promoService = new PromoService();
 }
 public TenPercentTaxCalculator(IPromoService promoService, IShippingService shippingService)
     : base(promoService, shippingService)
 {
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="orderService">Order service</param>
 /// <param name="webHelper">Web helper</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="productService">Product service</param>
 /// <param name="paymentService">Payment service</param>
 /// <param name="logger">Logger</param>
 /// <param name="orderTotalCalculationService">Order total calculationservice</param>
 /// <param name="priceCalculationService">Price calculation service</param>
 /// <param name="priceFormatter">Price formatter</param>
 /// <param name="productAttributeParser">Product attribute parser</param>
 /// <param name="productAttributeFormatter">Product attribute formatter</param>
 /// <param name="giftCardService">Gift card service</param>
 /// <param name="shoppingCartService">Shopping cart service</param>
 /// <param name="checkoutAttributeFormatter">Checkout attribute service</param>
 /// <param name="shippingService">Shipping service</param>
 /// <param name="shipmentService">Shipment service</param>
 /// <param name="taxService">Tax service</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="discountService">Discount service</param>
 /// <param name="encryptionService">Encryption service</param>
 /// <param name="workContext">Work context</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="vendorService">Vendor service</param>
 /// <param name="customerActivityService">Customer activity service</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="affiliateService">Affiliate service</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="pdfService">PDF service</param>
 /// <param name="paymentSettings">Payment settings</param>
 /// <param name="shippingSettings">Shipping settings</param>
 /// <param name="rewardPointsSettings">Reward points settings</param>
 /// <param name="orderSettings">Order settings</param>
 /// <param name="taxSettings">Tax settings</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="currencySettings">Currency settings</param>
 public OrderProcessingService(IOrderService orderService,
     IWebHelper webHelper,
     ILocalizationService localizationService,
     ILanguageService languageService,
     IProductService productService,
     IPaymentService paymentService,
     ILogger logger,
     IOrderTotalCalculationService orderTotalCalculationService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductAttributeParser productAttributeParser,
     IProductAttributeFormatter productAttributeFormatter,
     IGiftCardService giftCardService,
     IShoppingCartService shoppingCartService,
     ICheckoutAttributeFormatter checkoutAttributeFormatter,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ITaxService taxService,
     ICustomerService customerService,
     IDiscountService discountService,
     IEncryptionService encryptionService,
     IWorkContext workContext,
     IWorkflowMessageService workflowMessageService,
     IVendorService vendorService,
     ICustomerActivityService customerActivityService,
     ICurrencyService currencyService,
     IAffiliateService affiliateService,
     IEventPublisher eventPublisher,
     IPdfService pdfService,
     ShippingSettings shippingSettings,
     PaymentSettings paymentSettings,
     RewardPointsSettings rewardPointsSettings,
     OrderSettings orderSettings,
     TaxSettings taxSettings,
     LocalizationSettings localizationSettings,
     CurrencySettings currencySettings,
     IGenericAttributeService genericAttributeService,
     PromoSettings promoSettings,
     IPromoUtilities promoUtilities,
     IPromoOrderService promoOrderService,
     IPromoService promoService,
     IStoreContext storeContext)
     : base(orderService, webHelper, localizationService, languageService, productService, paymentService,
                                                 logger, orderTotalCalculationService, priceCalculationService, priceFormatter, productAttributeParser,
                                                 productAttributeFormatter, giftCardService, shoppingCartService, checkoutAttributeFormatter, shippingService,
                                                 shipmentService, taxService, customerService, discountService, encryptionService, workContext, workflowMessageService,
                                                 vendorService, customerActivityService, currencyService, affiliateService, eventPublisher, pdfService,
                                                 shippingSettings, paymentSettings, rewardPointsSettings, orderSettings, taxSettings,
                                                 localizationSettings, currencySettings)
 {
     this._orderService = orderService;
     this._webHelper = webHelper;
     this._localizationService = localizationService;
     this._languageService = languageService;
     this._productService = productService;
     this._paymentService = paymentService;
     this._logger = logger;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._productAttributeParser = productAttributeParser;
     this._productAttributeFormatter = productAttributeFormatter;
     this._giftCardService = giftCardService;
     this._shoppingCartService = shoppingCartService;
     this._checkoutAttributeFormatter = checkoutAttributeFormatter;
     this._workContext = workContext;
     this._workflowMessageService = workflowMessageService;
     this._vendorService = vendorService;
     this._shippingService = shippingService;
     this._shipmentService = shipmentService;
     this._taxService = taxService;
     this._customerService = customerService;
     this._discountService = discountService;
     this._encryptionService = encryptionService;
     this._customerActivityService = customerActivityService;
     this._currencyService = currencyService;
     this._affiliateService = affiliateService;
     this._eventPublisher = eventPublisher;
     this._pdfService = pdfService;
     this._paymentSettings = paymentSettings;
     this._shippingSettings = shippingSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._orderSettings = orderSettings;
     this._taxSettings = taxSettings;
     this._localizationSettings = localizationSettings;
     this._currencySettings = currencySettings;
     this._genericAttributeService = genericAttributeService;
     this._promoSettings = promoSettings;
     this._promoUtilities = promoUtilities;
     this._promoOrderService = promoOrderService;
     this._promoService = promoService;
     this._storeContext = storeContext;
 }
        public CheckoutController(IWorkContext workContext,
            IStoreContext storeContext,
            IStoreMappingService storeMappingService,
            IShoppingCartService shoppingCartService, 
            ILocalizationService localizationService, 
            ITaxService taxService, 
            ICurrencyService currencyService, 
            IPriceFormatter priceFormatter, 
            IOrderProcessingService orderProcessingService,
            ICustomerService customerService, 
            IGenericAttributeService genericAttributeService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            IShippingService shippingService, 
            IPaymentService paymentService,
            IPluginFinder pluginFinder,
            IOrderTotalCalculationService orderTotalCalculationService,
            ILogger logger,
            IOrderService orderService,
            IWebHelper webHelper,
            HttpContextBase httpContext,
            IAddressAttributeParser addressAttributeParser,
            IAddressAttributeService addressAttributeService,
            IAddressAttributeFormatter addressAttributeFormatter,
            OrderSettings orderSettings, 
            RewardPointsSettings rewardPointsSettings,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            AddressSettings addressSettings,
            PromoSettings promoSettings,
            IPromoService promoService,
            IPromoUtilities promoUtilities)
            : base (workContext, storeContext, storeMappingService,
                    shoppingCartService, localizationService, taxService, currencyService,
                    priceFormatter, orderProcessingService, customerService,
                    genericAttributeService, countryService, stateProvinceService,
                    shippingService, paymentService, pluginFinder,
                    orderTotalCalculationService, logger, orderService, webHelper, httpContext,
                    addressAttributeParser, addressAttributeService,
                    addressAttributeFormatter, orderSettings, rewardPointsSettings,
                    paymentSettings, shippingSettings, addressSettings)
        {
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._storeMappingService = storeMappingService;
            this._shoppingCartService = shoppingCartService;
            this._localizationService = localizationService;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._customerService = customerService;
            this._genericAttributeService = genericAttributeService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._pluginFinder = pluginFinder;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._logger = logger;
            this._orderService = orderService;
            this._webHelper = webHelper;
            this._httpContext = httpContext;
            this._addressAttributeParser = addressAttributeParser;
            this._addressAttributeService = addressAttributeService;
            this._addressAttributeFormatter = addressAttributeFormatter;

            this._orderSettings = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._addressSettings = addressSettings;

            this._promoSettings = promoSettings;
            this._promoService = promoService;
            this._promoUtilities = promoUtilities;
        }
Пример #19
0
 /// <inheritdoc />
 public PromoController(ILogger <PromoController> logger, IPromoService promoService)
 {
     Logger       = logger;
     PromoService = promoService;
 }
 public CatalogueController(ICartService cartService, IPromoCodeService promoCodeService, ICookieCartService cookieCartService, IUserDetailsService userDetailsService, IOrderService orderService, IApplicationUserService userService, IProductInCartService productsInCartService, IProductCategoryService categoryService, IProductService productService, IPromoService promosService)
 {
     this.CookieCartService     = cookieCartService;
     this.CartService           = cartService;
     this.PromoCodeService      = promoCodeService;
     this.CategoryService       = categoryService;
     this.UserDetailsService    = userDetailsService;
     this.OrderService          = orderService;
     this.ProductService        = productService;
     this.PromosService         = promosService;
     this.UserService           = userService;
     this.ProductsInCartService = productsInCartService;
 }
Пример #21
0
 public NoTaxCaculator(IPromoService promoService, IShippingService shippingService)
     : base(promoService, shippingService)
 {
 }
Пример #22
0
 public PromosController(IPromoService promoService, IMapper mapper)
 {
     _promoService = promoService;
     _mapper       = mapper;
 }
        public ShoppingCartController(IProductService productService,
            IStoreContext storeContext,
            IWorkContext workContext,
            IShoppingCartService shoppingCartService,
            IPictureService pictureService,
            ILocalizationService localizationService,
            IProductAttributeService productAttributeService,
            IProductAttributeFormatter productAttributeFormatter,
            IProductAttributeParser productAttributeParser,
            ITaxService taxService, ICurrencyService currencyService,
            IPriceCalculationService priceCalculationService,
            IPromosPriceCalculationService promosPriceCalculationService,
            IPriceFormatter priceFormatter,
            ICheckoutAttributeParser checkoutAttributeParser,
            ICheckoutAttributeFormatter checkoutAttributeFormatter,
            IOrderProcessingService orderProcessingService,
            IDiscountService discountService,
            ICustomerService customerService,
            IGiftCardService giftCardService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            IShippingService shippingService,
            IOrderTotalCalculationService orderTotalCalculationService,
            ICheckoutAttributeService checkoutAttributeService,
            IPaymentService paymentService,
            IWorkflowMessageService workflowMessageService,
            IPermissionService permissionService,
            IDownloadService downloadService,
            ICacheManager cacheManager,
            IWebHelper webHelper,
            ICustomerActivityService customerActivityService,
            IGenericAttributeService genericAttributeService,
            IAddressAttributeFormatter addressAttributeFormatter,
            HttpContextBase httpContext,
            MediaSettings mediaSettings,
            ShoppingCartSettings shoppingCartSettings,
            CatalogSettings catalogSettings,
            OrderSettings orderSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings,
            CaptchaSettings captchaSettings,
            AddressSettings addressSettings,
            RewardPointsSettings rewardPointsSettings,
            PromoSettings promoSettings,
            IPromoService promoService,
            IPromoUtilities promoUtilities)
            : base(productService, storeContext, workContext,
                    shoppingCartService, pictureService, localizationService,
                    productAttributeService, productAttributeFormatter,
                    productAttributeParser, taxService, currencyService,
                    priceCalculationService, priceFormatter, checkoutAttributeParser,
                    checkoutAttributeFormatter, orderProcessingService, discountService,
                    customerService, giftCardService, countryService,
                    stateProvinceService, shippingService, orderTotalCalculationService,
                    checkoutAttributeService, paymentService, workflowMessageService,
                    permissionService, downloadService, cacheManager, webHelper,
                    customerActivityService, genericAttributeService,
                    addressAttributeFormatter, httpContext, mediaSettings,
                    shoppingCartSettings, catalogSettings, orderSettings, shippingSettings,
                    taxSettings, captchaSettings, addressSettings,
                    rewardPointsSettings)
        {
            this._productService = productService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._shoppingCartService = shoppingCartService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._productAttributeService = productAttributeService;
            this._productAttributeFormatter = productAttributeFormatter;
            this._productAttributeParser = productAttributeParser;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceCalculationService = priceCalculationService;
            this._promosPriceCalculationService = promosPriceCalculationService;
            this._priceFormatter = priceFormatter;
            this._checkoutAttributeParser = checkoutAttributeParser;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            this._orderProcessingService = orderProcessingService;
            this._discountService = discountService;
            this._customerService = customerService;
            this._giftCardService = giftCardService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._checkoutAttributeService = checkoutAttributeService;
            this._paymentService = paymentService;
            this._workflowMessageService = workflowMessageService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;
            this._cacheManager = cacheManager;
            this._webHelper = webHelper;
            this._customerActivityService = customerActivityService;
            this._genericAttributeService = genericAttributeService;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._httpContext = httpContext;

            this._mediaSettings = mediaSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._captchaSettings = captchaSettings;
            this._addressSettings = addressSettings;
            this._rewardPointsSettings = rewardPointsSettings;

            this._promoSettings = promoSettings;
            this._promoService = promoService;
            this._promoUtilities = promoUtilities;
        }
Пример #24
0
 public PromosController()
 {
     _promoService = new PromoService();
 }
Пример #25
0
 public LocatablePromosController(IPromoService promoService, ILocatablePromoService locatablePromoService, IMapper mapper)
 {
     _locatablePromoService = locatablePromoService;
     _promoService          = promoService;
     _mapper = mapper;
 }
 public OrderTotalCalculationService(IWorkContext workContext,
     IStoreContext storeContext,
     IPromosPriceCalculationService promosPriceCalculationService,
     IPriceCalculationService priceCalculationService,
     ITaxService taxService,
     IShippingService shippingService,
     IPaymentService paymentService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IDiscountService discountService,
     IGiftCardService giftCardService,
     IGenericAttributeService genericAttributeService,
     TaxSettings taxSettings,
     RewardPointsSettings rewardPointsSettings,
     ShippingSettings shippingSettings,
     ShoppingCartSettings shoppingCartSettings,
     CatalogSettings catalogSettings,
     IPromoUtilities promoUtilities,
     PromoSettings promoSettings,
     IPromoService promoService,
     IAttributeValueService attributeValueService,
     ITaxServiceExtensions taxServiceExtensions,
     ICurrencyService currencyService)
     : base(workContext,
         storeContext,
         priceCalculationService,
         taxService,
         shippingService,
         paymentService,
         checkoutAttributeParser,
         discountService,
         giftCardService,
         genericAttributeService,
         taxSettings,
         rewardPointsSettings,
         shippingSettings,
         shoppingCartSettings,
         catalogSettings)
 {
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._promosPriceCalculationService = promosPriceCalculationService;
     this._taxService = taxService;
     this._shippingService = shippingService;
     this._paymentService = paymentService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._discountService = discountService;
     this._giftCardService = giftCardService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._shippingSettings = shippingSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._catalogSettings = catalogSettings;
     this._promoUtilities = promoUtilities;
     this._promoSettings = promoSettings;
     this._promoService = promoService;
     this._priceCalculationService = priceCalculationService;
     this._attributeValueService = attributeValueService;
     this._taxServiceExtensions = taxServiceExtensions;
     this._currencyService = currencyService;
 }
Пример #27
0
 public PromoteFilterAttribute()
 {
     _promoService = new PromoService();
 }
 public CartController(IPromoService promoService, IProductService productService,
                       IUserService userService) : base(promoService, productService, userService)
 {
 }
Пример #29
0
 protected PriceCalculatorContext(IPromoService promoService, IShippingService shippingService)
 {
     _promoService    = promoService;
     _shippingService = shippingService;
 }