コード例 #1
0
 public CustomersController(
     ICustomerApiService customerApiService,
     IJsonFieldsSerializer jsonFieldsSerializer,
     IAclService aclService,
     ICustomerService customerService,
     IStoreMappingService storeMappingService,
     IStoreService storeService,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService,
     ILocalizationService localizationService,
     ICustomerRolesHelper customerRolesHelper,
     IGenericAttributeService genericAttributeService,
     IEncryptionService encryptionService,
     IFactory <Customer> factory,
     ICountryService countryService,
     IMappingHelper mappingHelper,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IPictureService pictureService, ILanguageService languageService) :
     base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _customerApiService            = customerApiService;
     _factory                       = factory;
     _countryService                = countryService;
     _mappingHelper                 = mappingHelper;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _languageService               = languageService;
     _encryptionService             = encryptionService;
     _genericAttributeService       = genericAttributeService;
     _customerRolesHelper           = customerRolesHelper;
 }
コード例 #2
0
 public DTOHelper(IStoreContext storeContext,
                  IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService,
                  IProductAttributeConverter productAttributeConverter,
                  ILanguageService languageService,
                  ICurrencyService currencyService,
                  CurrencySettings currencySettings,
                  IStoreService storeService)
 {
     _productService            = productService;
     _aclService                = aclService;
     _storeMappingService       = storeMappingService;
     _pictureService            = pictureService;
     _productAttributeService   = productAttributeService;
     _customerApiService        = customerApiService;
     _productAttributeConverter = productAttributeConverter;
     _languageService           = languageService;
     _currencyService           = currencyService;
     _currencySettings          = currencySettings;
     _storeService              = storeService;
     _storeContext              = storeContext;
 }
コード例 #3
0
 public DTOHelper(IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService,
                  IProductAttributeConverter productAttributeConverter,
                  ILanguageService languageService,
                  ICurrencyService currencyService,
                  CurrencySettings currencySettings,
                  IStoreService storeService,
                  ILocalizationService localizationService,
                  IUrlRecordService urlRecordService,
                  IProductTagService productTagService)
 {
     _productService            = productService;
     _aclService                = aclService;
     _storeMappingService       = storeMappingService;
     _pictureService            = pictureService;
     _productAttributeService   = productAttributeService;
     _customerApiService        = customerApiService;
     _productAttributeConverter = productAttributeConverter;
     _languageService           = languageService;
     _currencyService           = currencyService;
     _currencySettings          = currencySettings;
     _storeService              = storeService;
     _localizationService       = localizationService;
     _urlRecordService          = urlRecordService;
     _productTagService         = productTagService;
 }
コード例 #4
0
 public ReportController(ILogger <ReportController> logger, IReportGeneratorSettings reportGeneratorSettings,
                         IBillingApiService billingApiService, ICustomerApiService customerApiService)
 {
     _logger = logger;
     _reportGeneratorSettings = reportGeneratorSettings;
     _billingApiService       = billingApiService;
     _customerApiService      = customerApiService;
 }
コード例 #5
0
 public CustomerController(ICustomerApiService customerApiService, IPermissionService permissionService,
                           ICustomerRegistrationService customerRegistrationService,
                           CustomerSettings customerSettings)
 {
     _customerApiService          = customerApiService;
     _customerRegistrationService = customerRegistrationService;
     _customerSettings            = customerSettings;
     _permissionService           = permissionService;
 }
コード例 #6
0
        public WebHookEventConsumer()
        {
            IWebHookService webHookService = EngineContext.Current.ContainerManager.Resolve <IWebHookService>();

            _customerApiService = EngineContext.Current.ContainerManager.Resolve <ICustomerApiService>();
            _dtoHelper          = EngineContext.Current.ContainerManager.Resolve <IDTOHelper>();

            _webHookManager = webHookService.GetHookManager();
        }
コード例 #7
0
 public DTOHelper(IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService,
                  ICustomerService customerService,
                  IProductAttributeConverter productAttributeConverter,
                  ILanguageService languageService,
                  ICurrencyService currencyService,
                  IDiscountService discountService,
                  IManufacturerService manufacturerService,
                  CurrencySettings currencySettings,
                  IStoreService storeService,
                  ILocalizationService localizationService,
                  IUrlRecordService urlRecordService,
                  IProductTagService productTagService,
                  ITaxCategoryService taxCategoryService,
                  ISettingService settingService,
                  IShipmentService shipmentService,
                  IOrderService orderService,
                  IAddressService addressService,
                  ISpecificationAttributeService specificationAttributeService,
                  IGenericAttributeService genericAttributeService,
                  MediaSettings mediaSettings,
                  CustomerSettings customerSettings,
                  IReviewTypeService reviewTypeService)
 {
     _specificationAttributeService = specificationAttributeService;
     _productService            = productService;
     _aclService                = aclService;
     _storeMappingService       = storeMappingService;
     _pictureService            = pictureService;
     _productAttributeService   = productAttributeService;
     _customerApiService        = customerApiService;
     _customerService           = customerService;
     _productAttributeConverter = productAttributeConverter;
     _languageService           = languageService;
     _currencyService           = currencyService;
     _currencySettings          = currencySettings;
     _storeService              = storeService;
     _localizationService       = localizationService;
     _urlRecordService          = urlRecordService;
     _productTagService         = productTagService;
     _taxCategoryService        = taxCategoryService;
     _settingService            = settingService;
     _discountService           = discountService;
     _manufacturerService       = manufacturerService;
     _orderService              = orderService;
     _shipmentService           = shipmentService;
     _addressService            = addressService;
     _genericAttributeService   = genericAttributeService;
     _mediaSettings             = mediaSettings;
     _customerSettings          = customerSettings;
     _reviewTypeService         = reviewTypeService;
 }
コード例 #8
0
 public CustomerBillingGeneratorWorker(
     ILogger <CustomerBillingGeneratorWorker> logger,
     ICustomerBillingGeneratorSettings customerBillingGeneratorSettings,
     IBillingApiService billingApiService, ICustomerApiService customerApiService)
 {
     _logger = logger;
     _customerBillingGeneratorSettings = customerBillingGeneratorSettings;
     _customerApiService = customerApiService;
     _billingApiService  = billingApiService;
 }
コード例 #9
0
 public StateBillingReportManager(int month, IReportGeneratorSettings reportGeneratorSettings,
                                  IBillingApiService billingApiService, ICustomerApiService customerApiService)
 {
     _stateBillingReport = new StateBillingReport()
     {
         Month = month
     };
     _billingApiService       = billingApiService;
     _customerApiService      = customerApiService;
     _reportGeneratorSettings = reportGeneratorSettings;
 }
コード例 #10
0
 /// <summary>
 ///  Constructor
 /// </summary>
 public BasketController(IEquipmentApiService equipmentApiService,
                         IBasketApiService basketApiService,
                         ICustomerApiService customerApiService,
                         IMemoryCache memoryCache
                         )
 {
     this.equipmentApiService = equipmentApiService;
     this.basketApiService    = basketApiService;
     this.customerApiService  = customerApiService;
     this.memoryCache         = memoryCache;
 }
コード例 #11
0
 public WebHookEventConsumer(IStoreService storeService)
 {
     _customerApiService    = EngineContext.Current.Resolve <ICustomerApiService>();
     _categoryApiService    = EngineContext.Current.Resolve <ICategoryApiService>();
     _productApiService     = EngineContext.Current.Resolve <IProductApiService>();
     _dtoHelper             = EngineContext.Current.Resolve <IDTOHelper>();
     _productPictureService = EngineContext.Current.Resolve <IProductPictureService>();
     _productService        = EngineContext.Current.Resolve <IProductService>();
     _categoryService       = EngineContext.Current.Resolve <ICategoryService>();
     _storeMappingService   = EngineContext.Current.Resolve <IStoreMappingService>();
     _cacheManager          = EngineContext.Current.Resolve <IStaticCacheManager>();
 }
コード例 #12
0
 public DTOHelper(IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService)
 {
     _productService          = productService;
     _aclService              = aclService;
     _storeMappingService     = storeMappingService;
     _pictureService          = pictureService;
     _productAttributeService = productAttributeService;
     _customerApiService      = customerApiService;
 }
コード例 #13
0
        public WebHookEventConsumer(IStoreService storeService)
        {
            IWebHookService webHookService = EngineContext.Current.ContainerManager.Resolve <IWebHookService>();

            _customerApiService = EngineContext.Current.ContainerManager.Resolve <ICustomerApiService>();
            _categoryApiService = EngineContext.Current.ContainerManager.Resolve <ICategoryApiService>();
            _productApiService  = EngineContext.Current.ContainerManager.Resolve <IProductApiService>();
            _dtoHelper          = EngineContext.Current.ContainerManager.Resolve <IDTOHelper>();
            _storeService       = EngineContext.Current.ContainerManager.Resolve <IStoreService>();

            _productService      = EngineContext.Current.ContainerManager.Resolve <IProductService>();
            _categoryService     = EngineContext.Current.ContainerManager.Resolve <ICategoryService>();
            _storeMappingService = EngineContext.Current.ContainerManager.Resolve <IStoreMappingService>();
            _storeContext        = EngineContext.Current.ContainerManager.Resolve <IStoreContext>();

            _webHookManager = webHookService.GetHookManager();
        }
コード例 #14
0
 public VendorController(ICustomerApiService customerApiService, IPermissionService permissionService)
 {
     _customerApiService = customerApiService;
     _permissionService  = permissionService;
 }
コード例 #15
0
 /// <summary>
 ///  Constructor
 /// </summary>
 public CustomerController(ICustomerApiService customerApiService)
 {
     this.customerApiService = customerApiService;
 }