OttoMachine Usage - nthanhhao96/OttoMachine GitHub Wiki

Starting the application

  1. User select one of the existing Account numbers and Press ‘Go’

  1. 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

  1. 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)

  1. After a deposit has been made, the starting screen will show the new balance of the user.

Withdraw

  1. To withdraw money from the account, users need to press the button ‘Withdraw money’

  2. 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.)

  1. After a withdrawal has been made, the new balance will be shown at the starting screen

Money transfer

  1. Users can make money transaction to others by pressing the button ‘Make a payment’

  2. A window will ask for the Account number of the beneficiary

  1. Then, users can add a description to the transaction

  1. Now, users can input the amount they wish to send

View latest transaction

  1. To view the latest transaction in the account, users simply need to press the button ‘Latest transaction’

  2. A window will show the account’s newest transaction