- Item - Class in test2
-
A class that represents an item in a bill of sale.
- Item(String, int) - Constructor for class test2.Item
-
Initialize an item by setting its description and price.
- Item(Item) - Constructor for class test2.Item
-
Initialize an item by copying another item.
- ItemizedBill - Class in test2
-
A bill that includes an itemized list of purchased items, the
date of purchase, and the total price of the bill.
- ItemizedBill() - Constructor for class test2.ItemizedBill
-
Initialize this bill so that it has the current date,
a total price of zero, and an empty list of items.
- ItemizedBill(Date, List<Item>) - Constructor for class test2.ItemizedBill
-
Initialize this bill from a list of purchased items.
- ItemizedBill(ItemizedBill) - Constructor for class test2.ItemizedBill
-
Initialize this bill by copying another bill.
- items - Variable in class test2.ItemizedBill
-
The list of items for this bill.