Create Transaction.java

Transaction class in Java with getters and setters