finish class Bestellung

main
Lukas Klipfel 2025-12-14 19:38:09 +01:00
parent cb674f604a
commit 6294762a56
2 changed files with 3 additions and 8 deletions

View File

@ -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;
};
}

View File

@ -19,3 +19,4 @@ Time Chart:
0:06 finish class Produkt
0:02 finish class Bestellung