Repository navigation
fix: add blockedBalance, automaticallyInvestedBalance and closingBalance to AccountBalance - #114
Merged
Merged
Conversation
…nce to AccountBalance
GET /accounts/{id}/balance returns these amounts for Open Finance accounts;
Gson dropped them because the DTO did not declare them. Null when the
institution does not report them. Bumps the version to 1.16.1 so the release
flow publishes it.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
cernadasjuan
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
AccountBalance: newblockedBalance,automaticallyInvestedBalanceandclosingBalance(Double, null when the institution does not report them). The API returns them onGET /accounts/{id}/balancefor Open Finance accounts; Gson dropped them because the DTO did not declare them. Field names match the JSON keys byte for byte, as the repo requires.TransactionsV2Test.getAccountBalance_parsesBalanceextended, plus a test for the response without the optional amounts.pom.xml: 1.16.0 → 1.16.1 (the release flow publishes only on a version change).Backwards compatible: additive fields only.
Verification
mvn -B teston Java 8: 63 unit tests passed.After merge
release.ymltagsv1.16.1on push to master;maven-publish.ymlstill has to be run manually viaworkflow_dispatchwith that tag (seeCLAUDE.md).Related: TRIN-2651.
🤖 Generated with Claude Code