How to define transaction class when I used parameterized interface?

In reply to cgales:

Ok,thank you very much.