I do not think so. The general problem you are trying to solve does not always have a viable solution, since you need to combine all the properties of Transaction and any extending classes. Consider these classes:
public abstract class Foo {
If the conglomeration of classes represented on the client side of Foo contains a prop field, which is String or Integer ?
If you want anything passing Foo be sent by wire, you must provide all the properties you want to send as part of Foo .
source share