The Transaction constructor should allow to set the transaction type