Skip to content

QBModel Validation #6

Description

@TeknoloGenie

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.

"Add" : {
...
"4": {
"CompanyName": {
"type":"STRTYPE",
"required": true
}
},
...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions