ddaumiller/ShowMeMoney — Issue #3: implement TransAction class
Author: ddaumiller
Created: 2011-12-25 17:56:07+00:00
State: open

A TransAction object defines incoming and outgoing transactions.
It has the following members:

to be read from the input files:
String Description a textual description of the transaction (e.g. the reference on wire transfer forms)
float Value the numerical value of the transaction
date Date the date of the transaction to be used for plotting
TransactionType Type the type: wire transfer, direct debit, credit card
String Account the name of the account the transaction was found in
TransactionPeer Peer the sender/receiver
TransactionDirection Direction is the transaction incoming or outgoing?

calculated:
int ID a unique ID
String Label a label, to group transactions

It needs some subclasses:
TransactionType ENUM: wire transfer, direct debit, credit card , invalid
TransactionPeer members: Name, BankCode, AccountCode, getters and setters for each
TransactionDirection ENUM: incoming, outgoing, invalid