diff --git a/OnlineShop/src/backend/Bestellung.java b/OnlineShop/src/backend/Bestellung.java index 5ee8b89..24e7721 100644 --- a/OnlineShop/src/backend/Bestellung.java +++ b/OnlineShop/src/backend/Bestellung.java @@ -11,13 +11,7 @@ public class Bestellung { this.storniert = false; }; - public Bestellung(int id, Warenkorb bestellungen, Boolean storniert) { - this.id = id; - this.bestellungen = bestellungen; - this.storniert = storniert; - }; - - public void StorniereBestellung(Warenkorb storniert) { - + public void StorniereBestellung() { + this.storniert = true; }; } diff --git a/README.md b/README.md index 07e2396..2757019 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,4 @@ Time Chart: 0:06 finish class Produkt +0:02 finish class Bestellung