Package com.vikingcloud.horsetrack.model
Class CashInventory
java.lang.Object
com.vikingcloud.horsetrack.model.CashInventory
Represents the ATM's bill inventory. Manages dispensing bills, displaying the inventory, getting bills for payout, and restocking.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispenseBills
(Map<Integer, Integer> dispensed) void
getBillsForPayout
(int amount) void
restock()
-
Constructor Details
-
CashInventory
public CashInventory()
-
-
Method Details
-
dispenseBills
-
displayInventory
public void displayInventory() -
getBillsForPayout
-
restock
public void restock()
-