Skip to content

Instantly share code, notes, and snippets.

@daniellavoie
Created October 10, 2016 12:33
Show Gist options
  • Save daniellavoie/5c6f9441c30a3ee1a461bc128b63ed25 to your computer and use it in GitHub Desktop.
Save daniellavoie/5c6f9441c30a3ee1a461bc128b63ed25 to your computer and use it in GitHub Desktop.
Product
public class Product {
private String ean13;
private String name;
private double unitPrice;
private double taxRate;
public Product(){
}
public String getEan13() {
return ean13;
}
public void setEan13(String ean13) {
this.ean13 = ean13;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getUnitPrice() {
return unitPrice;
}
public void setUnitPrice(double unitPrice) {
this.unitPrice = unitPrice;
}
public double getTaxRate() {
return taxRate;
}
public void setTaxRate(double taxRate) {
this.taxRate = taxRate;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment