public ProductBuilder( IRepository <Product> productRepository, IRepository <ProductPrice> productPriceRepository, IRepository <ProductMedia> productMediaRepository, IRepository <Colour> colourRepository, IRepository <ProductReview> productReviewRepository, IRepository <ProductTag> productTagRepository, IRepository <RestrictedGroup> restrictedGroupRepository, IRepository <RestrictedGroupMapping> restrictedGroupMappingRepository, IRepository <Delivery> deliveryRepository, IRepository <ProductGoogleCustomLabelGroupMapping> productGoogleCustomLabelGroupMappingRepository, IRepository <TaxCategoryMapping> taxCategoryMappingRepository, IRepository <TaxCategory> taxCategoryRepository, IBrandService brandService, ICatalogOfferProcessor offerProcessor, ICacheManager cacheManager, TaxSettings taxSettings) { _productRepository = productRepository; _productPriceRepository = productPriceRepository; _productMediaRepository = productMediaRepository; _colourRepository = colourRepository; _productReviewRepository = productReviewRepository; _productTagRepository = productTagRepository; _restrictedGroupRepository = restrictedGroupRepository; _restrictedGroupMappingRepository = restrictedGroupMappingRepository; _deliveryRepository = deliveryRepository; _taxCategoryMappingRepository = taxCategoryMappingRepository; _taxCategoryRepository = taxCategoryRepository; _productGoogleCustomLabelGroupMappingRepository = productGoogleCustomLabelGroupMappingRepository; _brandService = brandService; _offerProcessor = offerProcessor; _cacheManager = cacheManager; _taxSettings = taxSettings; }
public OfferService(IDbContext dbContext, IRepository <Category> categoryRepository, IRepository <OfferRule> offerRuleRepository, IRepository <OfferAction> offerActionRepository, IRepository <OfferActionAttribute> offerActionAttributeRepository, IRepository <OfferCondition> offerConditionRepository, IRepository <OfferOperator> offerOperatorRepository, IRepository <OfferRelatedItem> offerRelatedItemRepository, IRepository <OfferAttributeWithOperator> offerAttributeWithOperatorRepository, IRepository <OfferAttribute> offerAttributeRepository, IRepository <OfferType> offerTypeRepository, IRepository <Product> productRepository, ICartOfferProcessor cartOfferProcessor, ICatalogOfferProcessor catalogOfferProcessor, IGenericAttributeService genericAttributeService, ILogBuilder logBuilder, ICacheManager cacheManager) { _dbContext = dbContext; _categoryRepository = categoryRepository; _offerRuleRepository = offerRuleRepository; _offerActionRepository = offerActionRepository; _offerActionAttributeRepository = offerActionAttributeRepository; _offerConditionRepository = offerConditionRepository; _offerOperatorRepository = offerOperatorRepository; _offerRelatedItemRepository = offerRelatedItemRepository; _offerAttributeWithOperatorRepository = offerAttributeWithOperatorRepository; _offerAttributeRepository = offerAttributeRepository; _offerTypeRepository = offerTypeRepository; _productRepository = productRepository; _cartOfferProcessor = cartOfferProcessor; _catalogOfferProcessor = catalogOfferProcessor; _genericAttributeService = genericAttributeService; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public LineItemBuilder( IRepository <Product> productRepository, IRepository <ProductPrice> productPriceRepository, IRepository <ProductMedia> productMediaRepository, IRepository <Colour> colourRepository, IRepository <ProductReview> productReviewRepository, IRepository <ProductTag> productTagRepository, IRepository <RestrictedGroup> restrictedGroupRepository, IRepository <RestrictedGroupMapping> restrictedGroupMappingRepository, IRepository <Delivery> deliveryRepository, IRepository <ProductGoogleCustomLabelGroupMapping> productGoogleCustomLabelGroupMappingRepository, IRepository <TaxCategoryMapping> taxCategoryMappingRepository, IRepository <TaxCategory> taxCategoryRepository, TaxSettings taxSettings, IBrandService brandService, ICatalogOfferProcessor offerProcessor, ICacheManager cacheManager) : base( productRepository, productPriceRepository, productMediaRepository, colourRepository, productReviewRepository, productTagRepository, restrictedGroupRepository, restrictedGroupMappingRepository, deliveryRepository, productGoogleCustomLabelGroupMappingRepository, taxCategoryMappingRepository, taxCategoryRepository, brandService, offerProcessor, cacheManager, taxSettings) { }