Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create core app logic #2

Closed
JanMate opened this issue Nov 19, 2021 · 1 comment · Fixed by #33
Closed

Create core app logic #2

JanMate opened this issue Nov 19, 2021 · 1 comment · Fixed by #33
Assignees

Comments

@JanMate
Copy link
Owner

JanMate commented Nov 19, 2021

Create new class Transaction in logic/transaction folder with following methods:

  • init()
  • check_account_balance(account_id, amount)
  • transfer(sender_account, receiver_account, amount)
    • sender_account is Account instance
    • receiver_account is Account instance
Oleksandr6676 added a commit that referenced this issue Feb 9, 2022
it implements core app transaction logic

Closes #2
@JanMate
Copy link
Owner Author

JanMate commented Feb 11, 2022

@Oleksandr6676, sorry for misunderstanding. Now the assignment description is updated.

Oleksandr6676 added a commit that referenced this issue Feb 13, 2022
adds account class, rework of the transaction class

Closes #2
Oleksandr6676 added a commit that referenced this issue Feb 15, 2022
adds TransactionException class, small fixes and code improvements

Closes #2
JanMate pushed a commit that referenced this issue Feb 15, 2022
it implements core app transaction logic

Closes #2
JanMate pushed a commit that referenced this issue Feb 15, 2022
adds account class, rework of the transaction class

Closes #2
JanMate pushed a commit that referenced this issue Feb 15, 2022
adds TransactionException class, small fixes and code improvements

Closes #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants