SOOlutions / HomeTaskApp

True OO implementation in Java of a Home Task Management System. This project is a port and modification from https://github.com/SilasReinagel/HomeTaskManagement
2 stars 1 forks source link

Deposit to Account #2

Closed SilasReinagel closed 6 years ago

SilasReinagel commented 6 years ago

User should be able to to deposit an amount of currency at a specific point in time to his created account. Account balance should be correct.

vivekimsit commented 6 years ago

Nouns: Account, Currency Verbs: Deposit

yohanmishkin commented 6 years ago

Object: Account Behavior: Deposit(Currency)

goqp commented 6 years ago

Object: Account Message: Deposit(Currency) Behavior: Response to the message. Either do nothing, send a message, or do a computation.

yohanmishkin commented 6 years ago

We may have to tweak this slightly. I think maybe Deposit(Amount) might be more appropriate, where an Amount has some number value and a Currency.