コード例 #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;
 }
コード例 #2
0
 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;
 }
コード例 #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;
 }
コード例 #4
0
 public PolymorphicStoreJsonConverter(IPaymentMethodsRegistrar paymentMethodsService, IShippingMethodsRegistrar shippingMethodsService, ITaxProviderRegistrar taxService)
 {
     _paymentMethodsService  = paymentMethodsService;
     _shippingMethodsService = shippingMethodsService;
     _taxService             = taxService;
 }
コード例 #5
0
 public PolymorphicOperationJsonConverter(IPaymentMethodsRegistrar paymentMethodsRegistrar, IShippingMethodsRegistrar shippingMethodsRegistrar)
 {
     _paymentMethodsRegistrar  = paymentMethodsRegistrar;
     _shippingMethodsRegistrar = shippingMethodsRegistrar;
 }
コード例 #6
0
 public PaymentModuleController(IPaymentMethodsSearchService paymentMethodsSearchService, IPaymentMethodsService paymentMethodsService)
 {
     _paymentMethodsSearchService = (ISearchService <PaymentMethodsSearchCriteria, PaymentMethodsSearchResult, PaymentMethod>)paymentMethodsSearchService;
     _paymentMethodsRegistrar     = (IPaymentMethodsRegistrar)paymentMethodsService;
     _paymentMethodCrudService    = (ICrudService <PaymentMethod>)paymentMethodsService;
 }
コード例 #7
0
 public PolymorphicJsonConverter(IPaymentMethodsRegistrar paymentMethodsRegistrar)
 {
     _paymentMethodsRegistrar = paymentMethodsRegistrar;
 }