Skip to content

NMoskalev/Kata.ECommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kata.ECommerce

Prerequisites:

Requirements:

Product Code Unit Price Special Offer
Apples £0.50
Bananas £0.70 2 for £1.00
Oranges £0.45 3 for £0.90

The checkout accepts the items in any order, so that if we scan a banana, an apple and then another banana

example, “Bananas are £0.70 each or 2 for £1.00”.

Implementation:

Discount are stored in DiscountInMemoryRepository.cs.

Example of usages can be found in Program.cs file.

Discount calculation logic is in BaseItemsDiscountType.cs.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages