public MarketingController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IMarketingService marketingService, IPromotionEvaluator promotionEvaluator, IPricingModuleApi pricingApi) : base(workContext, urlBuilder) { _marketingService = marketingService; _pricingApi = pricingApi; _promotionEvaluator = promotionEvaluator; }
public CatalogSearchServiceImpl(WorkContext workContext, ICatalogModuleApi catalogModuleApi, IPricingModuleApi pricingModuleApi, IInventoryModuleApi inventoryModuleApi, ISearchModuleApi searchApi, IPromotionEvaluator promotionEvaluator) { _workContext = workContext; _catalogModuleApi = catalogModuleApi; _pricingModuleApi = pricingModuleApi; _inventoryModuleApi = inventoryModuleApi; _searchApi = searchApi; _promotionEvaluator = promotionEvaluator; }
public CatalogSearchServiceImpl(Func<WorkContext> workContextFactory, ICatalogModuleApi catalogModuleApi, IPricingService pricingService, IInventoryModuleApi inventoryModuleApi, ISearchModuleApi searchApi, IPromotionEvaluator promotionEvaluator) { _workContextFactory = workContextFactory; _catalogModuleApi = catalogModuleApi; _pricingService = pricingService; _inventoryModuleApi = inventoryModuleApi; _searchApi = searchApi; _promotionEvaluator = promotionEvaluator; }
/// <summary> /// Initializes the <see cref="PromotionClient" /> class. /// </summary> /// <param name="marketingRepository">The marketing repository.</param> /// <param name="customerSession">The customer session.</param> /// <param name="evaluator"></param> /// <param name="cacheRepository">The cache repository.</param> public PromotionClient(IMarketingRepository marketingRepository, ICustomerSessionService customerSession, IPromotionEvaluator evaluator, ICacheRepository cacheRepository) { _marketingRepository = marketingRepository; _cacheRepository = cacheRepository; _customerSession = customerSession; _evaluator = evaluator; }
public CalculateDiscountsActivity(ICatalogRepository catalogRepository, cust.ICustomerSessionService customerService, IMarketingRepository marketingRepository, IPricelistRepository priceListRepository, IPromotionEntryPopulate entryPopulate, ICatalogOutlineBuilder catalogOutlineBuilder, IPromotionEvaluator evaluator) { _catalogRepository = catalogRepository; _marketingRepository = marketingRepository; _promotionEntryPopulate = entryPopulate; _priceListRepository = priceListRepository; _customerSessionService = customerService; _catalogOutlineBuilder = catalogOutlineBuilder; _promotionEvaluator = evaluator; }
public MarketingService(IMarketingRepository marketingRepository, IPromotionEvaluator evaluator) { _marketingRepository = marketingRepository; _evaluator = evaluator; }
public QuoteRequestBuilder(IQuoteModuleApi quoteApi, IPromotionEvaluator promotionEvaluator, ICacheManager <object> cacheManager) { _quoteApi = quoteApi; _promotionEvaluator = promotionEvaluator; _cacheManager = cacheManager; }
public CatalogSearchServiceImpl(Func <WorkContext> workContextFactory, IVirtoCommerceCatalogApi catalogModuleApi, IPricingService pricingService, IVirtoCommerceInventoryApi inventoryModuleApi, IVirtoCommerceSearchApi searchApi, IPromotionEvaluator promotionEvaluator, ICustomerService customerService) { _workContextFactory = workContextFactory; _catalogModuleApi = catalogModuleApi; _pricingService = pricingService; _inventoryModuleApi = inventoryModuleApi; _searchApi = searchApi; _promotionEvaluator = promotionEvaluator; _customerService = customerService; }
public CartBuilder(IShoppingCartModuleApi cartApi, IPromotionEvaluator promotionEvaluator, ICacheManager<object> cacheManager) { _cartApi = cartApi; _promotionEvaluator = promotionEvaluator; _cacheManager = cacheManager; }
public CartValidator(Func <WorkContext> workContextFaxtory, IShoppingCartModuleApi cartApi, ICatalogSearchService catalogService, ILocalCacheManager cacheManager, IPromotionEvaluator promotionEvaluator) { _workContextFactory = workContextFaxtory; _cartApi = cartApi; _catalogService = catalogService; _cacheManager = cacheManager; _promotionEvaluator = promotionEvaluator; }
public ApiPricingController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IPromotionEvaluator promotionEvaluator, IPricingService pricingService) : base(workContextAccessor, urlBuilder) { _pricingService = pricingService; _promotionEvaluator = promotionEvaluator; }
public CatalogSearchServiceImpl(Func <WorkContext> workContextFactory, ICatalogModuleApi catalogModuleApi, IPricingService pricingService, IInventoryModuleApi inventoryModuleApi, ISearchModuleApi searchApi, IPromotionEvaluator promotionEvaluator) { _workContextFactory = workContextFactory; _catalogModuleApi = catalogModuleApi; _pricingService = pricingService; _inventoryModuleApi = inventoryModuleApi; _searchApi = searchApi; _promotionEvaluator = promotionEvaluator; }