     req.fetch()
     .then (result) =>
       @existingInventoryEntries = result.body.results
+      @_log "Existing entries: #{_.size @existingInventoryEntries}"
       Q 'initialized'
 
   _match: (entry) ->

CHANNEL_ROLES = ['InventorySupply', 'OrderExport', 'OrderImport']

class StockImport

  constructor: (options) ->
    if options?

    entry

  _perform: (stocks) ->
    @_log "Stock entries to process: #{_.size(stocks)}"
    @_initMatcher().then =>
      @_createOrUpdate stocks

