Have from and to in Transaction class