package me.pagar.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class Item extends PagarMeModel<String>{
    @Expose
    private String id;

    @Expose
    private String title;

    @Expose
    @SerializedName("unit_price")
    private Integer unitPrice;

    @Expose
    private Integer quantity;

    @Expose
    private Boolean tangible;

    public Item() {
        super();
    }

    public Item(final String id, final String title, final int unitPrice, final int quantity, final Boolean tangible) {
        this();
        this.id = id;
        this.title = title;
        this.unitPrice = unitPrice;
        this.quantity = quantity;
        this.tangible = tangible;
    }

    @Override
    public String getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public Integer getUnitPrice() {
        return unitPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public Boolean getTangible() {
        return tangible;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setUnitPrice(Integer unitPrice) {
        this.unitPrice = unitPrice;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public void setTangible(Boolean tangible) {
        this.tangible = tangible;
    }
}

@@ -135,36 +135,8 @@
 tem 
-extends PagarMeModel%3CString%3E
 %7B%0A  
@@ -709,38 +709,24 @@
 ble;%0A    %7D%0A%0A
-    @Override%0A
     public S
@@ -1034,22 +1034,8 @@
  %7D%0A%0A
-    @Override%0A
     

remove extend PagarMeModel from item model