This is code for DiscountStore along with unit tests.
The src directory with Java code and maven pom.xml are provided.
JUnit4 is used for testing.
Run all the tests to get nearly 100% coverage as can be seen in an IDE like eclipse.
LLD.docx gives a brief description of the design.