//
// Generated by JSON2Apex http://json2apex.herokuapp.com/
//

public class QBItemQueryJSON {
  public class Item {
    public String Name;
    public String Description;
    public Boolean Active;
    public String FullyQualifiedName;
    public Boolean Taxable;
    public Decimal UnitPrice;
    public String Type;
    public IncomeAccountRef IncomeAccountRef;
    public Decimal PurchaseCost;
    public Boolean TrackQtyOnHand;
    public String domain;
    public Boolean sparse;
    public String Id;
    public String SyncToken;
    public MetaData MetaData;
  }

  public class MetaData {
    public String CreateTime;
    public String LastUpdatedTime;
  }

  public class QueryResponse {
    public List<Item> Item;
    public Integer startPosition;
    public Integer maxResults;
    public Integer totalCount;
  }

  public QueryResponse QueryResponse;

  public class IncomeAccountRef {
    public String value;
    public String name;
  }

  public static QBItemQueryJSON parse(String json) {
    return (QBItemQueryJSON) System.JSON.deserialize(
      json,
      QBItemQueryJSON.class
    );
  }
}
