*/
public class Exercise {
public static void main(String[] args) {
Basket basket = new Basket();
basket.setBasketName("Basket One");
basket.getItems().add(ItemFactory.getItem(ItemType.BOOKS, "book", 1, false, new BigDecimal("12.49")));
basket.getItems().add(ItemFactory.getItem(ItemType.OTHERS, "music CD", 1, false, new BigDecimal("14.99")));
basket.getItems().add(ItemFactory.getItem(ItemType.FOOD, "chocolate bar", 1, false, new BigDecimal("0.85")));
System.out.println(basket.printReceipt());
basket = new Basket();
basket.setBasketName("Basket Two");
basket.getItems().add(ItemFactory.getItem(ItemType.FOOD, "imported box of chocolates", 1, true, new BigDecimal("10.00")));
basket.getItems().add(ItemFactory.getItem(ItemType.OTHERS, "imported bottle of perfume", 1, true, new BigDecimal("47.50")));
System.out.println(basket.printReceipt());
basket = new Basket();
basket.setBasketName("Basket Three");
basket.getItems().add(ItemFactory.getItem(ItemType.OTHERS, "imported bottle of perfume", 1, true, new BigDecimal("27.99")));
basket.getItems().add(ItemFactory.getItem(ItemType.OTHERS, "bottle of perfume", 1, false, new BigDecimal("18.99")));
basket.getItems().add(ItemFactory.getItem(ItemType.MEDICAL, "packet of headache pills", 1, false, new BigDecimal("9.75")));
basket.getItems().add(ItemFactory.getItem(ItemType.FOOD, "box of imported chocolates", 1, true, new BigDecimal("11.25")));
System.out.println(basket.printReceipt());
}