jsgoupil / quickbooks-sync

Sync Quickbooks Desktop
MIT License
89 stars 40 forks source link

Add common interfaces for most *Ret types #45

Closed tofer closed 4 years ago

tofer commented 4 years ago

Adds IQbListRet and IQbTxnRet interfaces, with a common IQbRet interface between them. MemberEnhancer and TypeEnahcner are modified to add inheritance of these interface to the *Ret types accordingly during generation from XSD.

Also adds an additional generic version of IQbResponse that provides an interface level method to retrieve the *Ret object from a response. The non-generic version is inherited, making this a non-breaking change.

jsgoupil commented 4 years ago

Thanks! I'll merge that and bump the version soon.