code: function InvItem(type, hash) {
    if (!(this instanceof InvItem))
      return new InvItem(type, hash);
  
    this.type = type;
    this.hash = hash;
  }
docs: Inv Item
  @alias module:primitives.InvItem
  @constructor
  @param {Number} type
  @param {Hash} hash
  @property {InvType} type
  @property {Hash} hash