Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total field and more are null on CreditNotes when filtering by CreditNoteID #13

Closed
george-y opened this issue Feb 4, 2019 · 1 comment

Comments

@george-y
Copy link

george-y commented Feb 4, 2019

Using the CreditNoteID filter we get responses with lots of null fields.

Using the Where filter instead (filtering by date in our case) we get responses that are correctly populated, for the exact same credit note.

Observed using the Java SDK.

@SidneyAllen
Copy link
Contributor

Hi @george-y

There are naturally going to be a lot of fields that are null as many are not required. I did find one issue with the OpenAPI Spec. Credit Notes did not have a "Payments" array defined. So I'm correcting that and will release a new version of the Java SDK.

I'm compared the JSON data returned to the parsed Java Object and this is the only "missing" property I could identify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants