Example #1
0
 public StoreService(Func <IStoreRepository> repositoryFactory, ISeoService seoService, ISettingsManager settingManager,
                     IDynamicPropertyService dynamicPropertyService, IShippingMethodsRegistrar shippingService, IPaymentMethodsRegistrar paymentService,
                     IEventPublisher eventPublisher, IPlatformMemoryCache platformMemoryCache)
 {
     RepositoryFactory       = repositoryFactory;
     SeoService              = seoService;
     SettingManager          = settingManager;
     DynamicPropertyService  = dynamicPropertyService;
     ShippingMethodRegistrar = shippingService;
     PaymentMethodRegistrar  = paymentService;
     EventPublisher          = eventPublisher;
     PlatformMemoryCache     = platformMemoryCache;
 }
 public StoreService(Func <IStoreRepository> repositoryFactory, ISeoService seoService, ISettingsManager settingManager,
                     IDynamicPropertyService dynamicPropertyService, IShippingMethodsRegistrar shippingService, IPaymentMethodsRegistrar paymentService,
                     ITaxProviderRegistrar taxService, IEventPublisher eventPublisher
                     , IPlatformMemoryCache platformMemoryCache)
 {
     _repositoryFactory       = repositoryFactory;
     _seoService              = seoService;
     _settingManager          = settingManager;
     _dynamicPropertyService  = dynamicPropertyService;
     _shippingMethodRegistrar = shippingService;
     _paymentMethodRegistrar  = paymentService;
     _taxProviderRegistrar    = taxService;
     _eventPublisher          = eventPublisher;
     _platformMemoryCache     = platformMemoryCache;
 }
Example #3
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 #4
0
 public PolymorphicStoreJsonConverter(IPaymentMethodsRegistrar paymentMethodsService, IShippingMethodsRegistrar shippingMethodsService, ITaxProviderRegistrar taxService)
 {
     _paymentMethodsService  = paymentMethodsService;
     _shippingMethodsService = shippingMethodsService;
     _taxService             = taxService;
 }
Example #5
0
 public PolymorphicOperationJsonConverter(IPaymentMethodsRegistrar paymentMethodsRegistrar, IShippingMethodsRegistrar shippingMethodsRegistrar)
 {
     _paymentMethodsRegistrar  = paymentMethodsRegistrar;
     _shippingMethodsRegistrar = shippingMethodsRegistrar;
 }
 public PaymentModuleController(IPaymentMethodsSearchService paymentMethodsSearchService, IPaymentMethodsService paymentMethodsService)
 {
     _paymentMethodsSearchService = (ISearchService <PaymentMethodsSearchCriteria, PaymentMethodsSearchResult, PaymentMethod>)paymentMethodsSearchService;
     _paymentMethodsRegistrar     = (IPaymentMethodsRegistrar)paymentMethodsService;
     _paymentMethodCrudService    = (ICrudService <PaymentMethod>)paymentMethodsService;
 }
 public PolymorphicJsonConverter(IPaymentMethodsRegistrar paymentMethodsRegistrar)
 {
     _paymentMethodsRegistrar = paymentMethodsRegistrar;
 }