- getCurrentMoney() - Method in class imm.se.vending.model.VendingMachineController
-
Returns the amount of money that was entered after the last fruit was dispensed.
- getDispensedItem() - Method in class imm.se.vending.model.VendingMachineController
-
Returns the fruit that was last dispensed.
- getNumberOfFruit(Fruit) - Method in class imm.se.vending.model.VendingMachineController
-
Returns the number of fruits of type fruit left that can be sold.
- getPrice(Fruit) - Method in class imm.se.vending.model.VendingMachineController
-
Returns the price of a fruit
- getRest() - Method in class imm.se.vending.model.VendingMachineController
-
Returns the value of any over payments from the last time a fruit was dispensed.
- getTotalMoney() - Method in class imm.se.vending.model.VendingMachineController
-
Returns the amount of money corresponding to how many fruit was sold.