OttoMachine Usage - nthanhhao96/OttoMachine GitHub Wiki
Starting the application
- User select one of the existing Account numbers and Press ‘Go’
- After selecting an Account, users will be ask to choose an action (If the user doens’t wish to continue, she/he can simply press logout or close the application)
Deposit
- To make a deposit, press the button ‘Deposit Money’. The user will be prompt to input how much money she/he wishes to deposit (If the input is not a number or smaller than 0, an error will be prompted)
- After a deposit has been made, the starting screen will show the new balance of the user.
Withdraw
-
To withdraw money from the account, users need to press the button ‘Withdraw money’
-
Users will be prompt to enter the desired amount to withdraw (The amount must be a real number that is larger than 0 and smaller than the balance in the account.)
- After a withdrawal has been made, the new balance will be shown at the starting screen
Money transfer
-
Users can make money transaction to others by pressing the button ‘Make a payment’
-
A window will ask for the Account number of the beneficiary
- Then, users can add a description to the transaction
- Now, users can input the amount they wish to send
View latest transaction
-
To view the latest transaction in the account, users simply need to press the button ‘Latest transaction’
-
A window will show the account’s newest transaction