goCardlessClient.institutions().listForBillingRequest(billingRequestId).withCountryCode(countryCode)
The above piece of code does not work because the nextCursor variable in loadPage() method of PaginatingIterator is null because of which ListResponse items are not returned as Iterable object.