This is a Design & Build Exercise to model a CheckOut Till that can cope with
- Addition of new products & their price/unit
- Using an Adaptation of the Strategy Pattern
- Maven Build file provided
- run.sh shell script runs JAR that was built
- Offer bargains like Buy one get one free
- Offer bargains like Buy 2 get 3rd one free (3 for 2)
Design Phase 1
- Build a checkout system which sells apples & oranges
- Apples cost 60p, oranges 25p
- Build a checkout (Final Till Receipt) that outputs final grand total cost
Design Phase 2
- Introduce the offer of Buy One get One Free for Apples
- Introduce the offer of 3 for 2 for Oranges