public CartItemViewModelFactory(
     IContentLoader contentLoader,
     IPricingService pricingService,
     UrlResolver urlResolver,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     IPromotionService promotionService,
     AppContextFacade appContext,
     ILineItemCalculator lineItemCalculator,
     IProductService productService,
     IRelationRepository relationRepository,
     ICartService cartService)
 {
     _contentLoader      = contentLoader;
     _pricingService     = pricingService;
     _urlResolver        = urlResolver;
     _currentMarket      = currentMarket;
     _currencyService    = currencyService;
     _promotionService   = promotionService;
     _appContext         = appContext;
     _lineItemCalculator = lineItemCalculator;
     _productService     = productService;
     _relationRepository = relationRepository;
     _cartService        = cartService;
 }
 public CartService(
     IProductService productService,
     IPricingService pricingService,
     IOrderGroupFactory orderGroupFactory,
     CustomerContextFacade customerContext,
     IPlacedPriceProcessor placedPriceProcessor,
     IInventoryProcessor inventoryProcessor,
     ILineItemValidator lineItemValidator,
     IOrderRepository orderRepository,
     IPromotionEngine promotionEngine,
     IAddressBookService addressBookService,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     IPromotionService promotionService,
     ILineItemCalculator lineItemCalculator,
     IMarketService marketService)
 {
     _productService       = productService;
     _pricingService       = pricingService;
     _orderGroupFactory    = orderGroupFactory;
     _customerContext      = customerContext;
     _placedPriceProcessor = placedPriceProcessor;
     _inventoryProcessor   = inventoryProcessor;
     _lineItemValidator    = lineItemValidator;
     _promotionEngine      = promotionEngine;
     _orderRepository      = orderRepository;
     _addressBookService   = addressBookService;
     _currentMarket        = currentMarket;
     _currencyService      = currencyService;
     _promotionService     = promotionService;
     _lineItemCalculator   = lineItemCalculator;
     _marketService        = marketService;
 }
        public RequestDocumentCreation(IOrderGroupCalculator orderGroupCalculator, ILineItemCalculator lineItemCalculator, DataCashConfiguration dataCashConfiguration)
        {
            _orderGroupCalculator = orderGroupCalculator;
            _lineItemCalculator   = lineItemCalculator;

            _dataCashConfiguration = dataCashConfiguration;
        }
 public CommerceTrackingService(
     ServiceAccessor <IContentRouteHelper> contentRouteHelperAccessor,
     IContextModeResolver contextModeResolver,
     IProductService productService,
     TrackingDataFactory trackingDataFactory,
     ITrackingService trackingService,
     IContentLoader contentLoader,
     LanguageService languageService,
     HttpContextBase httpContextBase,
     LanguageResolver languageResolver,
     ILineItemCalculator lineItemCalculator,
     IRequestTrackingDataService requestTrackingDataService,
     ReferenceConverter referenceConverter,
     IRelationRepository relationRepository,
     ICurrentMarket currentMarket)
 {
     _contentRouteHelperAccessor = contentRouteHelperAccessor;
     _contextModeResolver        = contextModeResolver;
     _productService             = productService;
     _trackingDataFactory        = trackingDataFactory;
     _trackingService            = trackingService;
     _contentLoader              = contentLoader;
     _languageService            = languageService;
     _httpContextBase            = httpContextBase;
     _languageResolver           = languageResolver;
     _lineItemCalculator         = lineItemCalculator;
     _requestTrackingDataService = requestTrackingDataService;
     _referenceConverter         = referenceConverter;
     _relationRepository         = relationRepository;
     _currentMarket              = currentMarket;
 }
 public CartItemViewModelFactory(
     IContentLoader contentLoader,
     IPricingService pricingService,
     UrlResolver urlResolver,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     IPromotionService promotionService,
     AppContextFacade appContext,
     ILineItemCalculator lineItemCalculator,
     IProductService productService, 
     IRelationRepository relationRepository, 
     ICartService cartService)
 {
     _contentLoader = contentLoader;
     _pricingService = pricingService;
     _urlResolver = urlResolver;
     _currentMarket = currentMarket;
     _currencyService = currencyService;
     _promotionService = promotionService;
     _appContext = appContext;
     _lineItemCalculator = lineItemCalculator;
     _productService = productService;
     _relationRepository = relationRepository;
     _cartService = cartService;
 }
 public OrderControllerBase(
     IOrderRepository orderRepository
     , IOrderGroupFactory orderGroupFactory
     , IOrderGroupCalculator orderGroupCalculator
     , IContentLoader contentLoader
     , ILineItemCalculator lineItemCalculator
     , IPlacedPriceProcessor placedPriceProcessor
     , IInventoryProcessor inventoryProcessor
     , ILineItemValidator lineItemValidator
     , IPromotionEngine promotionEngine
     , ICurrentMarket currentMarket
     , IPaymentProcessor paymentProcessor)
 {
     _orderRepository      = orderRepository;
     _orderGroupFactory    = orderGroupFactory;
     _orderGroupCalculator = orderGroupCalculator;
     _contentLoader        = contentLoader;
     _promotionEngine      = promotionEngine;
     _lineItemCalculator   = lineItemCalculator;
     _inventoryProcessor   = inventoryProcessor;
     _lineItemValidator    = lineItemValidator;
     _placedPriceProcessor = placedPriceProcessor;
     _currentMarket        = currentMarket;
     _paymentProcessor     = paymentProcessor;
 }
        // ToDo: move to .ctor
        //Injected<ICatalogSystem> _cat; // just to demo
        //Injected<ReferenceConverter> _refConv;
        //Injected<PricingLoader> _priceLoader;

        public VariationController(
            IContentLoader contentLoader
            , UrlResolver urlResolver
            , AssetUrlResolver assetUrlResolver
            , ThumbnailUrlResolver thumbnailUrlResolver // use this in node listing instead
            , IPriceService priceService
            , IPriceDetailService pricedetailService
            , ICurrentMarket currentMarket
            , IPromotionEngine promotionEngine
            , IOrderRepository orderRepository
            , IOrderGroupFactory orderGroupFactory
            , ILineItemCalculator lineItemCalculator
            , ILineItemValidator lineItemValidator
            , IPlacedPriceProcessor placedPriceProcessor
            , ICurrentMarket currentMarketService
            , IInventoryService inventoryService
            , IWarehouseRepository warehouseRepository
            , MyPriceCalculator myPriceCalculator
            )
            : base(contentLoader, urlResolver, assetUrlResolver, thumbnailUrlResolver, currentMarket)
        {
            _priceService       = priceService;
            _priceDetailService = pricedetailService;
            //_currentMarket2 = currentMarket;
            _promotionEngine      = promotionEngine;
            _orderRepository      = orderRepository;
            _orderGroupFactory    = orderGroupFactory;
            _lineItemCalculator   = lineItemCalculator;
            _lineItemValidator    = lineItemValidator;
            _placedPriceProcessor = placedPriceProcessor;
            _currentMarketService = currentMarketService;
            _inventoryService     = inventoryService;
            _warehouseRepository  = warehouseRepository;
            _myPriceCalculator    = myPriceCalculator;
        }
 public DefaultOmniumOrderFactory(
     IShippingCalculator shippingCalculator,
     IMarketService marketService,
     CultureResolver cultureResolver,
     ITaxUtility taxUtility,
     ReferenceConverter referenceConverter,
     IContentRepository contentRepository,
     IPaymentManagerFacade paymentManagerFacade,
     ILineItemCalculator lineItemCalculator,
     IOrderFormCalculator orderFormCalculator,
     IOrderGroupCalculator orderGroupCalculator,
     IShipmentManagerFacade shipmentManagerFacade,
     IPromotionEngine promotionEngine)
 {
     _shippingCalculator    = shippingCalculator;
     _marketService         = marketService;
     _cultureResolver       = cultureResolver;
     _taxUtility            = taxUtility;
     _referenceConverter    = referenceConverter;
     _contentRepository     = contentRepository;
     _paymentManagerFacade  = paymentManagerFacade;
     _lineItemCalculator    = lineItemCalculator;
     _orderFormCalculator   = orderFormCalculator;
     _orderGroupCalculator  = orderGroupCalculator;
     _shipmentManagerFacade = shipmentManagerFacade;
     _promotionEngine       = promotionEngine;
 }
Beispiel #9
0
 public PromotionService(
     IMarketService marketService,
     ReferenceConverter referenceConverter,
     ILineItemCalculator lineItemCalculator,
     IPromotionEngine promotionEngine)
 {
     _marketService      = marketService;
     _referenceConverter = referenceConverter;
     _lineItemCalculator = lineItemCalculator;
     _promotionEngine    = promotionEngine;
 }
 public AuthorizeTokenExCimBasedManager(
     AuthorizeTokenExService authorizeNetService,
     IOrderGroupCalculator orderGroupCalculator,
     IShippingCalculator shippingCalculator,
     ILineItemCalculator lineItemCalculator,
     IMarketService marketService)
 {
     _authorizeTokenExService = authorizeNetService;
     _orderGroupCalculator    = orderGroupCalculator;
     _shippingCalculator      = shippingCalculator;
     _lineItemCalculator      = lineItemCalculator;
     _marketService           = marketService;
 }
Beispiel #11
0
 public TrackingDataFactory(ILineItemCalculator lineItemCalculator,
                            IContentLoader contentLoader,
                            IOrderGroupCalculator orderGroupCalculator,
                            LanguageResolver languageResolver,
                            IOrderRepository orderRepository,
                            ReferenceConverter referenceConverter,
                            IRelationRepository relationRepository,
                            IRecommendationContext recommendationContext,
                            ICurrentMarket currentMarket,
                            IRequestTrackingDataService requestTrackingDataService)
     : base(lineItemCalculator, contentLoader, orderGroupCalculator, languageResolver, orderRepository, referenceConverter, relationRepository, recommendationContext, currentMarket, requestTrackingDataService)
 {
     _currentMarket   = currentMarket;
     _orderRepository = orderRepository;
 }
Beispiel #12
0
 public PromotionService(
     IPricingService pricingService,
     IMarketService marketService,
     IContentLoader contentLoader,
     ReferenceConverter referenceConverter,
     ILineItemCalculator lineItemCalculator,
     IPromotionEngine promotionEngine)
 {
     _contentLoader      = contentLoader;
     _marketService      = marketService;
     _pricingService     = pricingService;
     _referenceConverter = referenceConverter;
     _lineItemCalculator = lineItemCalculator;
     _promotionEngine    = promotionEngine;
 }
 public PromotionService(
     IPricingService pricingService, 
     IMarketService marketService, 
     IContentLoader contentLoader, 
     ReferenceConverter referenceConverter,
     ILineItemCalculator lineItemCalculator,
     IPromotionEngine promotionEngine)
 {
     _contentLoader = contentLoader;
     _marketService = marketService;
     _pricingService = pricingService;
     _referenceConverter = referenceConverter;
     _lineItemCalculator = lineItemCalculator;
     _promotionEngine = promotionEngine;
 }
 public SiteOmniumOrderFactory(
     IShippingCalculator shippingCalculator,
     IMarketService marketService,
     CultureResolver cultureResolver,
     ITaxUtility taxUtility,
     ReferenceConverter referenceConverter,
     IContentRepository contentRepository,
     IPaymentManagerFacade paymentManagerFacade,
     ILineItemCalculator lineItemCalculator,
     IOrderFormCalculator orderFormCalculator,
     IOrderGroupCalculator orderGroupCalculator,
     IShipmentManagerFacade shipmentManagerFacade,
     IPromotionEngine promotionEngine)
     : base(shippingCalculator, marketService, cultureResolver, taxUtility, referenceConverter, contentRepository, paymentManagerFacade, lineItemCalculator, orderFormCalculator, orderGroupCalculator, shipmentManagerFacade, promotionEngine)
 {
 }
 public CheckOutController(
     IOrderRepository orderRepository
     , IOrderGroupFactory orderGroupFactory // RoCe: change
     , IOrderGroupCalculator orderGroupCalculator
     , IContentLoader contentLoader
     , ILineItemCalculator lineItemCalculator
     , IPlacedPriceProcessor placedPriceProcessor
     , IInventoryProcessor inventoryProcessor
     , ILineItemValidator lineItemValidator
     , IPromotionEngine promotionEngine
     , ICurrentMarket currentMarket
     , IPaymentProcessor paymentProcessor)
     : base(
         orderRepository, orderGroupFactory, orderGroupCalculator, contentLoader
         , lineItemCalculator, placedPriceProcessor, inventoryProcessor
         , lineItemValidator, promotionEngine, currentMarket, paymentProcessor)
 {
 }
Beispiel #16
0
 public PricingService(
     IPriceService priceService,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     CatalogContentService catalogContentService,
     ReferenceConverter referenceConverter,
     IMarketService marketService,
     ILineItemCalculator lineItemCalculator,
     IPromotionEngine promotionEngine)
 {
     _priceService          = priceService;
     _currentMarket         = currentMarket;
     _currencyService       = currencyService;
     _catalogContentService = catalogContentService;
     _referenceConverter    = referenceConverter;
     _marketService         = marketService;
     _lineItemCalculator    = lineItemCalculator;
     _promotionEngine       = promotionEngine;
 }
Beispiel #17
0
        //public static IContentLoader xyz;

        public CartController(
            IOrderRepository orderRepository
            , IOrderGroupFactory orderGroupFactory
            , IOrderGroupCalculator orderGroupCalculator
            , IContentLoader contentLoader
            , ILineItemCalculator lineItemCalculator
            , IPlacedPriceProcessor placedPriceProcessor
            , IInventoryProcessor inventoryProcessor
            , ILineItemValidator lineItemValidator
            , IPromotionEngine promotionEngine
            , ICurrentMarket currentMarket
            , IPaymentProcessor paymentProcessor
            ) : base
                (orderRepository, orderGroupFactory, orderGroupCalculator, contentLoader
                , lineItemCalculator, placedPriceProcessor, inventoryProcessor
                , lineItemValidator, promotionEngine, currentMarket, paymentProcessor) // Should maybe not have the last one here
        {
            _contentLoader2 = contentLoader;
        }
Beispiel #18
0
 public CartController(IOrderRepository orderRepository
                       , IOrderGroupFactory orderGroupFactory
                       , IOrderGroupCalculator orderGroupCalculator
                       , IContentLoader contentLoader
                       , ILineItemCalculator lineItemCalculator
                       , IPlacedPriceProcessor placedPriceProcessor
                       , IInventoryProcessor inventoryProcessor
                       , ILineItemValidator lineItemValidator
                       , IPromotionEngine promotionEngine)
 {
     _orderRepository      = orderRepository;
     _orderGroupFactory    = orderGroupFactory;
     _orderGroupCalculator = orderGroupCalculator;
     _contentLoader        = contentLoader;
     _promotionEngine      = promotionEngine;
     _lineItemCalculator   = lineItemCalculator;
     _inventoryProcessor   = inventoryProcessor;
     _lineItemValidator    = lineItemValidator;
     _placedPriceProcessor = placedPriceProcessor;
 }
 public CartService(
     IProductService productService,
     IOrderGroupFactory orderGroupFactory,
     IPlacedPriceProcessor placedPriceProcessor,
     IInventoryProcessor inventoryProcessor,
     ILineItemValidator lineItemValidator,
     IOrderRepository orderRepository,
     IPromotionEngine promotionEngine,
     IAddressBookService addressBookService,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     ReferenceConverter referenceConverter,
     IContentLoader contentLoader,
     IRelationRepository relationRepository,
     ShippingService shippingManagerFacade,
     IWarehouseRepository warehouseRepository,
     ILineItemCalculator lineItemCalculator,
     IPromotionService promotionService, IOrganizationService organizationService)
 {
     _productService        = productService;
     _orderGroupFactory     = orderGroupFactory;
     _customerContext       = CustomerContext.Current;
     _placedPriceProcessor  = placedPriceProcessor;
     _inventoryProcessor    = inventoryProcessor;
     _lineItemValidator     = lineItemValidator;
     _promotionEngine       = promotionEngine;
     _orderRepository       = orderRepository;
     _addressBookService    = addressBookService;
     _currentMarket         = currentMarket;
     _currencyService       = currencyService;
     _referenceConverter    = referenceConverter;
     _contentLoader         = contentLoader;
     _relationRepository    = relationRepository;
     _shippingManagerFacade = shippingManagerFacade;
     _warehouseRepository   = warehouseRepository;
     _lineItemCalculator    = lineItemCalculator;
     _promotionService      = promotionService;
     _organizationService   = organizationService;
 }
Beispiel #20
0
 public SiteOrderFormCalculator(IShippingCalculator shippingCalculator, ILineItemCalculator lineItemCalculator, ITaxCalculator taxCalculator)
     : base(shippingCalculator, taxCalculator)
 {
     _lineItemCalculator = lineItemCalculator;
 }
Beispiel #21
0
 public PricingServiceForTest(IPriceService priceService, ICurrentMarket currentMarket, ICurrencyService currencyService, CatalogContentService catalogContentService, ReferenceConverter referenceConverter, IMarketService marketService, ILineItemCalculator lineItemCalculator, IPromotionEngine promotionEngine)
     : base(priceService, currentMarket, currencyService, catalogContentService, referenceConverter, marketService, lineItemCalculator, promotionEngine)
 {
 }
 public SiteOrderFormCalculator(IShippingCalculator shippingCalculator, ILineItemCalculator lineItemCalculator, ITaxCalculator taxCalculator)
     : base(shippingCalculator, lineItemCalculator, taxCalculator)
 {
     _lineItemCalculator = lineItemCalculator;
 }