-
Notifications
You must be signed in to change notification settings - Fork 24
getCounterpartyAlias() returns null on payments #49
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Cloud not reproduce this with the following test: @Test
public void counterPartyAliasNotNullTest() {
Pagination pagination = new Pagination();
pagination.setCount(PAGE_SIZE);
List<Payment> allPayment = Payment.list(
apiContext,
userId,
monetaryAccountId,
pagination.getUrlParamsCountOnly()
).getValue();
for (Payment payment : allPayment) {
Assert.assertNotNull(payment.getCounterpartyAlias());
Assert.assertFalse(payment.getCounterpartyAlias().isAllFieldNull());
}
} On 0.12.4 |
…l-payments Get counterparty alias returns null on payments. (#49 )
Hey @OGKevin, as you requested in the bunqtogether thread I've tested this with 0.12.4 but I still have the issue. However I see that there's more activity after this so I assume you guys still found it? |
It's a bit copy-paste, but basically:
|
@defl System.out.println(payment.getCounterpartyAlias().isAllFieldNull()); If it returns Ill reopen the issue as the adapter is retuning |
…l-when-printed Fixed MonetaryAccountReferenceTypeAdapter to output proper value. (#49)
Thanks for fixing! |
@defl no problem! Will be included in the 0.12.5 release 👍 |
Steps to reproduce:
What should happen:
MonetaryAccountReference
reference is returned.What happens:
null
is returnedLogs
no logs
Extra info:
Reference
The text was updated successfully, but these errors were encountered: