Exemple #1
0
 public InventoryModuleController(IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                                  IFulfillmentCenterService fulfillmentCenterService)
 {
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _fulfillmentCenterService       = fulfillmentCenterService;
 }
Exemple #2
0
 public InventoryExportImport(IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                              IInventorySearchService inventorySearchService, IFulfillmentCenterService fulfillmentCenterService)
 {
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _fulfillmentCenterService       = fulfillmentCenterService;
     _inventorySearchService         = inventorySearchService;
 }
 public InventoryExportImport(IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                              IInventorySearchService inventorySearchService, IFulfillmentCenterService fulfillmentCenterService,
                              ISettingsManager settingsManager, JsonSerializer jsonSerializer)
 {
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _fulfillmentCenterService       = fulfillmentCenterService;
     _inventorySearchService         = inventorySearchService;
     _settingsManager = settingsManager;
     _jsonSerializer  = jsonSerializer;
 }
Exemple #4
0
 public InventoryExportImport(IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                              IInventorySearchService inventorySearchService, IFulfillmentCenterService fulfillmentCenterService,
                              ISettingsManager settingsManager, IOptions <MvcJsonOptions> jsonOptions)
 {
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _fulfillmentCenterService       = fulfillmentCenterService;
     _inventorySearchService         = inventorySearchService;
     _settingsManager = settingsManager;
     _serializer      = JsonSerializer.Create(jsonOptions.Value.SerializerSettings);
 }
 public OrdersSynchronizationService(ICustomerOrderService orderService, IStoreService storeService,
                                     IFulfillmentCenterService fulfillmentCenterService, IOrderTaxTypeResolver orderTaxTypeResolver,
                                     Func <IAvaTaxSettings, AvaTaxClient> avaTaxClientFactory, ITaxProviderSearchService taxProviderSearchService,
                                     IOptions <AvaTaxSecureOptions> options)
 {
     _orderService             = orderService;
     _storeService             = storeService;
     _fulfillmentCenterService = fulfillmentCenterService;
     _orderTaxTypeResolver     = orderTaxTypeResolver;
     _avaTaxClientFactory      = avaTaxClientFactory;
     _taxProviderSearchService = taxProviderSearchService;
     _options = options.Value;
 }
        public InventoryExportImport(
            IInventoryService inventoryService,
            IFulfillmentCenterSearchService fulfillmentCenterSearchService,
            IInventorySearchService inventorySearchService,
            IFulfillmentCenterService fulfillmentCenterService,
            ISettingsManager settingsManager
            )
        {
            _inventoryService = inventoryService;
            _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
            _fulfillmentCenterService       = fulfillmentCenterService;
            _inventorySearchService         = inventorySearchService;
            _settingsManager = settingsManager;

            _jsonSerializer = new JsonSerializer
            {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
                Formatting            = Formatting.Indented,
                NullValueHandling     = NullValueHandling.Ignore
            };
        }
Exemple #7
0
 private InventoryExportImport GetExportImportProcessor(IInventoryService inventoryService, IFulfillmentCenterService fulfillmentCenterService, ISettingsManager settingsManager)
 {
     return(new InventoryExportImport(inventoryService, GetFulfillmentcenterSearchService(), GetInventorySearchService(), fulfillmentCenterService, settingsManager));
 }