public ProductStockSyncJob() { _remoteRepository = new RemoteRepository(); _channelMapper = new ChannelMapper(); _productPropertySyncProcessor = new ProductPropertySyncHandler(_channelMapper); _inventorySyncProcessor = new InventorySyncProcessor(); }
public AllSynchronizer(IRemoteRepository remoteRepository) { _remoteRepository = remoteRepository; _skuSyncProcessor = new SkuSyncProcessor(); var storeSyncProcessor = new StoreSyncProcessor(_remoteRepository, _channelMapper); var sectionSyncProcessor = new SectionSyncProcessor(_remoteRepository, storeSyncProcessor, _channelMapper); _stockSyncProcessor = new StockSyncProcessor(sectionSyncProcessor); _productSyncProcessor = new ProductSyncProcessor(_remoteRepository, _channelMapper); _productPropertySyncProcessor = new ProductPropertySyncProcessor(_channelMapper); _productPropertySyncHandler = new ProductPropertySyncHandler(_channelMapper); _inventorySyncProcessor = new InventorySyncProcessor(); _brandSizeProcessor = new BrandSizeProcessor(); }