Skip to content

akrain/BillingSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

BillingSample

Assumptions:

  1. Apply highest discount possible in case the customer is eligible for multiple discounts.
  2. The flat 5$ discount on total is calculated only after deduction of percentage discounts.

Prerequisites: JDK 1.6 and above, Maven 2.2.1 upwards.
Please ensure that JAVA_HOME is set to the JDK home directory in order to run Maven

Run the unit tests:

  1. Open a terminal
  2. Go to the project root directory
  3. Run the following command:
    mvn test

Run the application with dummy data:

  1. Open a terminal
  2. Go to the project root directory
  3. Run the following command:
    mvn install exec:java

About

Simple billing exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages