LineItempublic class LineItem extends Object
Fields Summary |
---|
private String | name | private int | quantity | private BigDecimal | price |
Constructors Summary |
---|
public LineItem()
| public LineItem(String name, int quantity, BigDecimal price)
this.name=name;
this.quantity=quantity;
this.price=price;
| public LineItem(String name, int quantity, String price)
this.name=name;
this.quantity=quantity;
this.price=new BigDecimal(price);
|
|