1234567891011121314151617
  1. public class Product {
  2. String id = "";
  3. double price = 0;
  4. int quantity = 0;
  5. public Product(String id, double price, int quantity){
  6. this.id = id;
  7. this.price = price;
  8. this.quantity = quantity;
  9. }
  10. }