diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-22 21:31:29 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-22 21:31:29 +0530 |
| commit | 5f5ac2c4ce62370257a26c5f15dbef577f4bc1c7 (patch) | |
| tree | 2b8cf5b2fdf9c8df124d4f8f64b33c876d1b55d2 /oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities | |
| parent | 3ffd9370c8c7ebf34232ef59568981cdc3856a05 (diff) | |
Deleted oop/10-point-of-sale since 11-point-of-sale has been added
Diffstat (limited to 'oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities')
3 files changed, 0 insertions, 80 deletions
diff --git a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Bill.java b/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Bill.java deleted file mode 100644 index ad6a87e..0000000 --- a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Bill.java +++ /dev/null @@ -1,17 +0,0 @@ -package lk.ac.pdn.ceit.pos.entities; - -import java.util.ArrayList; -import java.util.List; - -public class Bill { - private List<LineItem> lineItems = new ArrayList<>(); - - public List<LineItem> getLineItems() { - return lineItems; - } - - public void setLineItems(List<LineItem> lineItems) { - this.lineItems = lineItems; - } - -} diff --git a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Item.java b/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Item.java deleted file mode 100644 index 47b8e32..0000000 --- a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/Item.java +++ /dev/null @@ -1,34 +0,0 @@ -package lk.ac.pdn.ceit.pos.entities; - -public class Item { - private String name; - private String id; - private double unitPrice; - - public Item(String name, String id, double unitPrice) { - this.name = name; - this.id = id; - this.unitPrice = unitPrice; - } - - public String getName() { - return name; - } - public void setName(String name) { - this.name = name; - } - public String getId() { - return id; - } - public void setId(String id) { - this.id = id; - } - public double getUnitPrice() { - return unitPrice; - } - public void setUnitPrice(double unitPrice) { - this.unitPrice = unitPrice; - } - - -} diff --git a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/LineItem.java b/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/LineItem.java deleted file mode 100644 index ad6abaf..0000000 --- a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/entities/LineItem.java +++ /dev/null @@ -1,29 +0,0 @@ -package lk.ac.pdn.ceit.pos.entities; - -public class LineItem { - private Item item; - private int quantity; - - public LineItem(Item item, int quantity) { - this.item = item; - this.quantity = quantity; - } - - public Item getItem() { - return item; - } - - public void setItem(Item item) { - this.item = item; - } - - public int getQuantity() { - return quantity; - } - - public void setQuantity(int quantity) { - this.quantity = quantity; - } - - -} |
