diff --git a/src/main/java/com/booleanuk/core/domain-model.md b/src/main/java/com/booleanuk/core/domain-model.md new file mode 100644 index 0000000..87e22a5 --- /dev/null +++ b/src/main/java/com/booleanuk/core/domain-model.md @@ -0,0 +1,6 @@ +| Classes | Variables | Methods | Scenario | Outcome | +|----------|--------------------------|----------------------------|--------------------|-----------------| +| `Basket` | `List products` | `pay(account, sumPrice())` | Pay for products | Money deducted | +| | | | Insufficient funds | Warning given | +| | | `receipt()` | Items in basket | Receipt printed | +| | | | No items in basket | Warning given |