@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Paging {\n"); sb.append(" page: ").append(toIndentedString(page)).append("\n"); sb.append(" perPage: ").append(toIndentedString(perPage)).append("\n"); sb.append(" pageCount: ").append(toIndentedString(pageCount)).append("\n"); sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); sb.append("}"); return sb.toString(); }
while (nextPage == null || transactionsResponse.getPaging().getPage() < transactionsResponse.getPaging().getPageCount()) { transactionsResponse = new TransactionsApi(apiClient).getAndSearchAllTransactions("bankView", null, null, null, null, accountIds, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, nextPage, null, order); nextPage = transactionsResponse.getPaging().getPage() + 1; bookingList.addAll(transactionsResponse.getTransactions().stream().map(transaction -> { Booking booking = new Booking();
/** * Return all messages from a order. * * @throws ApiException if the Api call fails */ @Test public void messagesOrdersOrderIdGetTest() throws ApiException { Integer orderId = 1649128570; MessageSearchResults response = api.messagesOrdersOrderIdGet(accessToken, orderId); assertNotNull(response); assertNotNull(response.getResults()); assertTrue("Total must be >= 0", response.getPaging().getTotal() >= 0); }
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Paging {\n"); sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); sb.append(" threshold: ").append(toIndentedString(threshold)).append("\n"); sb.append(" total: ").append(toIndentedString(total)).append("\n"); sb.append("}"); return sb.toString(); }