Beispiel #1
0
 def __init__(this, pizza):
     this.size = pizza["size"]
     this.toppings = pizza["toppings"]
     this.number = pizza["number"]
     this.item_id = pizza["item_id"]
     Item.__init__(this, pizza["type"])
Beispiel #2
0
 def __init__(this, drink):
     this.number = drink["number"]
     this.item_id = drink["item_id"]
     Item.__init__(this, drink["drink_name"])