@@ -0,0 +1,1571 @@
+package com.example.ismailamrani.comptable.models;%0A%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0A%0A/**%0A * Created by Mohammed Aouf ZOUAG on 13/05/2016.%0A */%0Apublic class OrderDetail %7B%0A    private int productID;%0A    private int quantity;%0A    private double priceTTC;%0A    private String productName;%0A    private String productImage;%0A%0A    public OrderDetail(JSONObject object) %7B%0A        try %7B%0A            productID = object.getInt(%22productID%22);%0A            quantity = object.getInt(%22quantity%22);%0A            priceTTC = object.getDouble(%22priceTTC%22);%0A            productName = object.getString(%22productName%22);%0A            productImage = object.getString(%22productImage%22);%0A%0A        %7D catch (JSONException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A    public int getProductID() %7B%0A        return productID;%0A    %7D%0A%0A    public void setProductID(int productID) %7B%0A        this.productID = productID;%0A    %7D%0A%0A    public int getQuantity() %7B%0A        return quantity;%0A    %7D%0A%0A    public void setQuantity(int quantity) %7B%0A        this.quantity = quantity;%0A    %7D%0A%0A    public double getPriceTTC() %7B%0A        return priceTTC;%0A    %7D%0A%0A    public void setPriceTTC(double priceTTC) %7B%0A        this.priceTTC = priceTTC;%0A    %7D%0A%0A    public String getProductName() %7B%0A        return productName;%0A    %7D%0A%0A    public void setProductName(String productName) %7B%0A        this.productName = productName;%0A    %7D%0A%0A    public String getProductImage() %7B%0A        return productImage;%0A    %7D%0A%0A    public void setProductImage(String productImage) %7B%0A        this.productImage = productImage;%0A    %7D%0A%7D%0A

Create the 'OrderDetail' class.