You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to give phone number(which is unique) along with a password and an initial balance(minimum 5000)
The case where user does not maintain the minimum balance of Rs 5000
The case where user does maintain the minimum balance of Rs 5000 and the account is successfully created
The case where an account linked with the given phone number alreday exist
You need to give your phone number along with the correct password and the amount to be added.
The case where the given phone number does not have a wallet account yet
The case where the password of the given phone number is not correct
The case where the phone number and password are valid and the specified amount is credited.
You need to give your phone number along with the correct password and the amount to be debited. The balance after deduction should be greater than or equal to 5000 otherwise the transaction wouldn't be performed.
The case where the balance after transcation becomes less than 5000 so the transaction is not performed.
The case where the balance after the transaction is greater than 5000 so the transaction is performed.
You need to give the phone number nad the corresponding valid password.
A log table is also created in the project.db database which contains all the transactions which have taken place in the order in which they have taken place. It includes the following columns (phone number,transaction type(credit/debit),amount,balance before transaction, balance after transaction)
temp.py could be used to see all the transactions that have taken place.