Exemple #1
0
        public IsamOrderService(
            ISettingService settingService,
            IEncryptionService encryptionService,
            IBaseService baseIsamService,
            IProductAttributeParser productAttributeParser,
            IAttributeUtilities attributeUtilities,
            IRepository <ShopAbc> shopAbcRepository,
            IRepository <CustomerShopMapping> customerShopMappingRepository,
            IRepository <WarrantySku> warrantySkuRepository,
            IRepository <ProductAbcDescription> productAbcDescriptionRepository,
            IRepository <GiftCardUsageHistory> giftCardUsageHistoryRepository,
            IStoreContext storeContext,
            IWorkContext workContext,
            IGiftCardService giftCardService,
            ExportOrderSettings settings,
            ILogger logger,
            IOrderService orderService,
            IPriceCalculationService priceCalculationService,
            IAddressService addressService,
            IProductService productService,
            IStateProvinceService stateProvinceService,
            ICountryService countryService,
            IUrlRecordService urlRecordService,
            IProductAttributeService productAttributeService,
            IRepository <Product> productRepository,
            ICustomShopService customShopService,
            IIsamGiftCardService isamGiftCardService,
            IYahooService yahooService
            )
        {
            _settingService                  = settingService;
            _encryptionService               = encryptionService;
            _baseIsamService                 = baseIsamService;
            _productAttributeParser          = productAttributeParser;
            _attributeUtilities              = attributeUtilities;
            _shopAbcRepository               = shopAbcRepository;
            _customerShopMappingRepository   = customerShopMappingRepository;
            _warrantySkuRepository           = warrantySkuRepository;
            _productAbcDescriptionRepository = productAbcDescriptionRepository;
            _giftCardUsageHistoryRepository  = giftCardUsageHistoryRepository;
            _storeContext            = storeContext;
            _workContext             = workContext;
            _giftCardService         = giftCardService;
            _settings                = settings;
            _logger                  = logger;
            _orderService            = orderService;
            _priceCalculationService = priceCalculationService;
            _addressService          = addressService;
            _productService          = productService;
            _stateProvinceService    = stateProvinceService;
            _countryService          = countryService;
            _urlRecordService        = urlRecordService;
            _productAttributeService = productAttributeService;
            _productRepository       = productRepository;
            _customShopService       = customShopService;
            _isamGiftCardService     = isamGiftCardService;
            _yahooService            = yahooService;

            InitializeAllColParams();
        }
Exemple #2
0
 public YahooService(
     IAbcMattressBaseService abcMattressBaseService,
     IAbcMattressEntryService abcMattressEntryService,
     IAbcMattressFrameService abcMattressFrameService,
     IAbcMattressGiftService abcMattressGiftService,
     IAbcMattressModelService abcMattressModelService,
     IAbcMattressPackageService abcMattressPackageService,
     IAbcMattressProtectorService abcMattressProtectorService,
     IAddressService addressService,
     IAttributeUtilities attributeUtilities,
     ICountryService countryService,
     ICustomOrderService customOrderService,
     ICustomShopService customShopService,
     IEncryptionService encryptionService,
     IGenericAttributeService genericAttributeService,
     IGiftCardService giftCardService,
     IHomeDeliveryCostService homeDeliveryCostService,
     IPriceCalculationService priceCalculationService,
     IProductService productService,
     IProductAbcDescriptionService productAbcDescriptionService,
     IStateProvinceService stateProvinceService,
     IStoreService storeService,
     IUrlRecordService urlRecordService,
     IWarrantyService warrantyService,
     ExportOrderSettings settings,
     SecuritySettings securitySettings,
     IPaymentService paymentService
     )
 {
     _abcMattressBaseService      = abcMattressBaseService;
     _abcMattressEntryService     = abcMattressEntryService;
     _abcMattressFrameService     = abcMattressFrameService;
     _abcMattressGiftService      = abcMattressGiftService;
     _abcMattressModelService     = abcMattressModelService;
     _abcMattressPackageService   = abcMattressPackageService;
     _abcMattressProtectorService = abcMattressProtectorService;
     _addressService               = addressService;
     _attributeUtilities           = attributeUtilities;
     _countryService               = countryService;
     _customOrderService           = customOrderService;
     _customShopService            = customShopService;
     _encryptionService            = encryptionService;
     _genericAttributeService      = genericAttributeService;
     _giftCardService              = giftCardService;
     _homeDeliveryCostService      = homeDeliveryCostService;
     _productService               = productService;
     _productAbcDescriptionService = productAbcDescriptionService;
     _priceCalculationService      = priceCalculationService;
     _stateProvinceService         = stateProvinceService;
     _storeService     = storeService;
     _urlRecordService = urlRecordService;
     _warrantyService  = warrantyService;
     _settings         = settings;
     _securitySettings = securitySettings;
     _paymentService   = paymentService;
 }
Exemple #3
0
 public AbcExportOrderController(
     ISettingService settingService,
     ILocalizationService localizationService,
     ExportOrderSettings settings,
     INotificationService notificationService
     )
 {
     _settingService      = settingService;
     _localizationService = localizationService;
     _settings            = settings;
     _notificationService = notificationService;
 }
Exemple #4
0
 public ResubmitOrdersTask(
     ICustomOrderService orderService,
     ExportOrderSettings settings,
     ILogger logger,
     IProductService productService
     )
 {
     _customOrderService = orderService;
     _settings           = settings;
     _logger             = logger;
     _productService     = productService;
 }
Exemple #5
0
        public async Task <IActionResult> Configure(ConfigModel model)
        {
            if (!ModelState.IsValid)
            {
                return(Configure());
            }

            await _settingService.SaveSettingAsync(ExportOrderSettings.FromModel(model));

            _notificationService.SuccessNotification(await _localizationService.GetResourceAsync("Admin.Plugins.Saved"));

            return(Configure());
        }