-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
getTransaction has a new parameter - includeTotals #775
Comments
hey - sorry for the delay - I have merged your PR but there's a few out of date deps I should also upgrade before I issue a new release. I'll close this now as your PR |
Hi, sorry I'm not sure I understand your message. |
Ah sorry I got carried away. Please reopen and I’ll take another look. DSent from my iPhoneOn 3 Jun 2024, at 10:34 PM, Nick ***@***.***> wrote:
Hi, sorry I'm not sure I understand your message.
Just to be clear - there is no PR for this issue as I don't know how to properly do the validation for the two allowable values ("true" and "false"). The issue shouldn't be closed - it still exists.
I can create a PR to add the includeTotals feature if you want, but there will be no validation.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
…Transactions #775 add includeTotals param to getTransactions
Okay now fixed. |
Please see here:
https://www.independentreserve.com/au/features/api#GetTransactions
It's easy enough to alter ir-api getTransactions.js to allow this to work, just add it to the parameters payload:
The allowable values are strings, "true" or "false".
Eg;
However, I'm not smart enough to put this into the validation code. I'm guessing you can make use of the
isOneOf.js
validation, but I'm not sure how.I can create a PR for the above stuff if you want to then add the validation to it, or just leave it with you.
The text was updated successfully, but these errors were encountered: