Kr Younger a2ed3f5299 readme | il y a 6 ans | |
---|---|---|
.idea | il y a 6 ans | |
Checkbook | il y a 6 ans | |
.gitignore | il y a 6 ans | |
README.md | il y a 6 ans |
Create a simple Checkbook class that adheres to java Collections interface.
A new company, ZipMintyFreshness, needs a checkbook account object inside their new mobile offering.
You need to create a class, and 3 tests for every method.
Maybe you'll get paid.
Checkbook needs to organize and track a series of Transaction objects. See the Transaction class file. Transaction needs to use a few Payee objects for your tests.
AND
Transaction[] toArray(Transaction[] a)
double checkbookValue() // sum of all Transactions (both Debits and Credits)
Transaction getTransactionsForDate(LocalDate aDate)
Transaction[] getAllTransactionsForPayee(Payee payee)
Transaction[] getAllDebitTransactions()
Transaction[] getAllCreditTransactions()
Special Constructors:
PLUS (For Extra Points, 10 million extra, to be precise)
finally, make a generic account class, that takes any class which implements the AccountBook interface.