summaryrefslogtreecommitdiff
path: root/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-03-22 21:31:29 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-03-22 21:31:29 +0530
commit5f5ac2c4ce62370257a26c5f15dbef577f4bc1c7 (patch)
tree2b8cf5b2fdf9c8df124d4f8f64b33c876d1b55d2 /oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java
parent3ffd9370c8c7ebf34232ef59568981cdc3856a05 (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/TextUI.java')
-rw-r--r--oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java b/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java
deleted file mode 100644
index 056e41e..0000000
--- a/oop/10-point-of-sale/src/lk/ac/pdn/ceit/pos/TextUI.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package lk.ac.pdn.ceit.pos;
-
-import lk.ac.pdn.ceit.pos.entities.Bill;
-
-public class TextUI {
- private PointOfSale pos;
-
- public TextUI(PointOfSale pos) {
- this.pos = pos;
- }
-
- public void start() {
- IO.println("POS Started.");
-
- // Assume a bill should be created.
- Bill bill = pos.createNewBill();
-
- // Assume: Create a line item
- pos.addLineItem("F001", 2);
-
- pos.addLineItem("F002", 3);
-
- // ...
-
- // Print bill
- }
-}