sync
This commit is contained in:
@@ -33,8 +33,12 @@ public class ATM {
|
||||
}
|
||||
|
||||
public Message verifyInputAmount() {
|
||||
// TODO - implement ATM.verifyInputAmount
|
||||
throw new UnsupportedOperationException();
|
||||
Message msg = new Message();
|
||||
if (minimumAmount >= totalFund) {
|
||||
msg.require_change = true;
|
||||
}
|
||||
msg.msg = "WE ARE POOR COME BACK LATER <3";
|
||||
return msg;
|
||||
}
|
||||
|
||||
public Time checkTime() {
|
||||
@@ -91,4 +95,5 @@ public class ATM {
|
||||
this.totalFund = totalFund;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user