Create Transaction.java

The transaction class with getters and setters.