Skip to content

Build a CheckOutTill that has offers on Products. Adapted Strategy Pattern to model pricing offers. Employed TDD. Maven goals for packaging, testing. Git for VCS. build, run bash files provided. IntelliJ for debugging, running adhoc tests,classes.

Notifications You must be signed in to change notification settings

FreeFries/CheckOutTillPhase2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Design & Build Exercise to model a CheckOut Till that can cope with

  1. Addition of new products & their price/unit
  2. Using an Adaptation of the Strategy Pattern
  3. Maven Build file provided
  4. 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

About

Build a CheckOutTill that has offers on Products. Adapted Strategy Pattern to model pricing offers. Employed TDD. Maven goals for packaging, testing. Git for VCS. build, run bash files provided. IntelliJ for debugging, running adhoc tests,classes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published