QuickBooks has strict guidelines to QBxml request and what data can be passed, how its formatted, the order its sent in... needless to say its ridiculous. But we must conform to their ridiculousness lol.
Each QBModel has a .json schema file, validation should be defined within the appropriate schema file. In order to accomplish this we will need to do a major refactor within the buildXMLRequest method. Heres an example of what i would like this to look like.
QuickBooks has strict guidelines to QBxml request and what data can be passed, how its formatted, the order its sent in... needless to say its ridiculous. But we must conform to their ridiculousness lol.
Each
QBModel
has a.json
schema file, validation should be defined within the appropriate schema file. In order to accomplish this we will need to do a major refactor within thebuildXMLRequest
method. Heres an example of what i would like this to look like.