added amount to transaction (with getters and setters)
create new transaction object from POST