public OrderModuleController(
     ICustomerOrderService customerOrderService
     , ICustomerOrderSearchService searchService
     , IStoreService storeService
     , IUniqueNumberGenerator numberGenerator
     , IPlatformMemoryCache platformMemoryCache
     , Func <IOrderRepository> repositoryFactory
     , ICustomerOrderBuilder customerOrderBuilder
     , IShoppingCartService cartService
     , IChangeLogSearchService changeLogSearchService
     , INotificationTemplateRenderer notificationTemplateRenderer
     , INotificationSearchService notificationSearchService
     , ICustomerOrderTotalsCalculator totalsCalculator)
 {
     _customerOrderService  = customerOrderService;
     _searchService         = searchService;
     _uniqueNumberGenerator = numberGenerator;
     _storeService          = storeService;
     _platformMemoryCache   = platformMemoryCache;
     _repositoryFactory     = repositoryFactory;
     //_securityService = securityService;
     //_permissionScopeService = permissionScopeService;
     _customerOrderBuilder         = customerOrderBuilder;
     _cartService                  = cartService;
     _changeLogSearchService       = changeLogSearchService;
     _notificationTemplateRenderer = notificationTemplateRenderer;
     _notificationSearchService    = notificationSearchService;
     _totalsCalculator             = totalsCalculator;
 }
Example #2
0
 public OrderModuleController(
     ICustomerOrderService customerOrderService,
     ICustomerOrderSearchService searchService,
     IStoreService storeService,
     IUniqueNumberGenerator numberGenerator,
     ICacheManager<object> cacheManager,
     Func<IOrderRepository> repositoryFactory,
     IPermissionScopeService permissionScopeService,
     ISecurityService securityService,
     ICustomerOrderBuilder customerOrderBuilder,
     IShoppingCartService cartService,
     INotificationManager notificationManager,
     INotificationTemplateResolver notificationTemplateResolver,
     IChangeLogService changeLogService,
     ICustomerOrderTotalsCalculator totalsCalculator)
 {
     _customerOrderService = customerOrderService;
     _searchService = searchService;
     _uniqueNumberGenerator = numberGenerator;
     _storeService = storeService;
     _cacheManager = cacheManager;
     _repositoryFactory = repositoryFactory;
     _securityService = securityService;
     _permissionScopeService = permissionScopeService;
     _customerOrderBuilder = customerOrderBuilder;
     _cartService = cartService;
     _notificationManager = notificationManager;
     _notificationTemplateResolver = notificationTemplateResolver;
     _changeLogService = changeLogService;
     _totalsCalculator = totalsCalculator;
 }
 public OrderModuleController(
     ICustomerOrderService customerOrderService
     , ICustomerOrderSearchService searchService
     , IStoreService storeService
     , IUniqueNumberGenerator numberGenerator
     , IPlatformMemoryCache platformMemoryCache
     , Func <IOrderRepository> repositoryFactory
     , ICustomerOrderBuilder customerOrderBuilder
     , IShoppingCartService cartService
     , IChangeLogSearchService changeLogSearchService
     , INotificationTemplateRenderer notificationTemplateRenderer
     , INotificationSearchService notificationSearchService
     , ICustomerOrderTotalsCalculator totalsCalculator
     , IAuthorizationService authorizationService
     , IConverter converter
     , IOptions <HtmlToPdfOptions> htmlToPdfOptions
     , IOptions <MvcNewtonsoftJsonOptions> jsonOptionsAccessor)
 {
     _customerOrderService         = customerOrderService;
     _searchService                = searchService;
     _uniqueNumberGenerator        = numberGenerator;
     _storeService                 = storeService;
     _platformMemoryCache          = platformMemoryCache;
     _repositoryFactory            = repositoryFactory;
     _customerOrderBuilder         = customerOrderBuilder;
     _cartService                  = cartService;
     _changeLogSearchService       = changeLogSearchService;
     _notificationTemplateRenderer = notificationTemplateRenderer;
     _notificationSearchService    = notificationSearchService;
     _totalsCalculator             = totalsCalculator;
     _authorizationService         = authorizationService;
     _htmlToPdfOptions             = htmlToPdfOptions.Value;
     _converter   = converter;
     _jsonOptions = jsonOptionsAccessor.Value;
 }
 public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IDynamicPropertyService dynamicPropertyService, IShippingMethodsService shippingMethodsService, IPaymentMethodsService paymentMethodsService,
                                 IStoreService storeService, IChangeLogService changeLogService, IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator)
 {
     RepositoryFactory      = orderRepositoryFactory;
     UniqueNumberGenerator  = uniqueNumberGenerator;
     EventPublisher         = eventPublisher;
     DynamicPropertyService = dynamicPropertyService;
     ShippingMethodsService = shippingMethodsService;
     PaymentMethodsService  = paymentMethodsService;
     StoreService           = storeService;
     ChangeLogService       = changeLogService;
     TotalsCalculator       = totalsCalculator;
 }
Example #5
0
 public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator
                                 , IDynamicPropertyService dynamicPropertyService, IStoreService storeService, IChangeLogService changeLogService
                                 , IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator
                                 , IShippingMethodsRegistrar shippingMethodsRegistrar, IPaymentMethodsRegistrar paymentMethodsRegistrar, IPlatformMemoryCache platformMemoryCache)
 {
     _repositoryFactory        = orderRepositoryFactory;
     _eventPublisher           = eventPublisher;
     _dynamicPropertyService   = dynamicPropertyService;
     _storeService             = storeService;
     _changeLogService         = changeLogService;
     _totalsCalculator         = totalsCalculator;
     _shippingMethodsRegistrar = shippingMethodsRegistrar;
     _paymentMethodsRegistrar  = paymentMethodsRegistrar;
     _platformMemoryCache      = platformMemoryCache;
     _uniqueNumberGenerator    = uniqueNumberGenerator;
 }
Example #6
0
        public CustomerOrderService(
            Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator
            , IStoreService storeService, IChangeLogService changeLogService
            , IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator
            , IShippingMethodsSearchService shippingMethodsSearchService, IPaymentMethodsSearchService paymentMethodSearchService,
            IPlatformMemoryCache platformMemoryCache)
        {
            _repositoryFactory            = orderRepositoryFactory;
            _eventPublisher               = eventPublisher;
            _storeService                 = storeService;
            _totalsCalculator             = totalsCalculator;
            _shippingMethodsSearchService = shippingMethodsSearchService;

            _paymentMethodSearchService = paymentMethodSearchService;
            _platformMemoryCache        = platformMemoryCache;
            _uniqueNumberGenerator      = uniqueNumberGenerator;
        }