コード例 #1
0
        public SyncManager(
            AcumaticaHttpContext acumaticaContext,
            AcumaticaCustomerPut acumaticaCustomerSync,
            AcumaticaOrderPut acumaticaOrderSync,
            AcumaticaStockItemPut acumaticaInventorySync,
            AcumaticaRefundPut acumaticaRefundSync,
            AcumaticaOrderPaymentPut acumaticaPaymentSync,

            WarehouseLocationSync warehouseLocationSync,
            ShopifyInventoryPut shopifyInventorySync,
            ShopifyFulfillmentPut shopifyFulfillmentSync,
            ShopifyProductVariantPut shopifyProductVariantPut,

            JobMonitoringService monitoringService,
            SettingsRepository settingsRepository,
            InstanceContext connectionContext,
            ExecutionLogService executionLogService,
            ILifetimeScope lifetimeScope,
            IPushLogger logger)
        {
            _warehouseLocationSync = warehouseLocationSync;

            _acumaticaCustomerSync  = acumaticaCustomerSync;
            _acumaticaInventorySync = acumaticaInventorySync;
            _acumaticaRefundSync    = acumaticaRefundSync;
            _acumaticaPaymentSync   = acumaticaPaymentSync;
            _acumaticaOrderSync     = acumaticaOrderSync;

            _shopifyInventorySync     = shopifyInventorySync;
            _shopifyFulfillmentSync   = shopifyFulfillmentSync;
            _shopifyProductVariantPut = shopifyProductVariantPut;
            _monitoringService        = monitoringService;

            _acumaticaContext    = acumaticaContext;
            _settingsRepository  = settingsRepository;
            _connectionContext   = connectionContext;
            _executionLogService = executionLogService;
            _lifetimeScope       = lifetimeScope;
            _logger = logger;
        }
コード例 #2
0
 public ParallelWorker(AcumaticaOrderPut acumaticaOrderSync)
 {
     _acumaticaOrderSync = acumaticaOrderSync;
 }