@Test public void testForLedger() { Server server = new Server("https: URI uri = server.transactions() .forLedger(200000000000L) .limit(50) .order(RequestBuilder.Order.ASC) .buildUri(); assertEquals("https: }
public TransactionsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "transactions"); return this; }
TransactionsRequestBuilder extends RequestBuilder { public TransactionsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "transactions"); return this; } }
TransactionsRequestBuilder extends RequestBuilder { public TransactionsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "transactions"); return this; } TransactionsRequestBuilder(OkHttpClient httpClient, URI serverURI); }
TransactionsRequestBuilder extends RequestBuilder { public TransactionsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "transactions"); return this; } TransactionsRequestBuilder(OkHttpClient httpClient, URI serverURI); TransactionResponse transaction(URI uri); TransactionResponse transaction(String transactionId); TransactionsRequestBuilder forAccount(KeyPair account); TransactionsRequestBuilder forLedger(long ledgerSeq); static Page<TransactionResponse> execute(OkHttpClient httpClient, URI uri); @Override ServerSentEvent stream(EventListener<ListenerType> listener); Page<TransactionResponse> execute(); @Override TransactionsRequestBuilder cursor(String token); @Override TransactionsRequestBuilder limit(int number); @Override TransactionsRequestBuilder order(Order direction); }
TransactionsRequestBuilder extends RequestBuilder { public TransactionsRequestBuilder forLedger(long ledgerSeq) { this.setSegments("ledgers", String.valueOf(ledgerSeq), "transactions"); return this; } TransactionsRequestBuilder(OkHttpClient httpClient, URI serverURI); TransactionResponse transaction(URI uri); TransactionResponse transaction(String transactionId); TransactionsRequestBuilder forAccount(KeyPair account); TransactionsRequestBuilder forLedger(long ledgerSeq); static Page<TransactionResponse> execute(OkHttpClient httpClient, URI uri); @Override ServerSentEvent stream(EventListener<ListenerType> listener); Page<TransactionResponse> execute(); @Override TransactionsRequestBuilder cursor(String token); @Override TransactionsRequestBuilder limit(int number); @Override TransactionsRequestBuilder order(Order direction);  }