OperationsRequestBuilder extends RequestBuilder { public OperationsRequestBuilder forTransaction(String transactionId) { transactionId = checkNotNull(transactionId, "transactionId cannot be null"); this.setSegments("transactions", transactionId, "operations"); return this; } OperationsRequestBuilder(OkHttpClient httpClient, URI serverURI); OperationResponse operation(URI uri); OperationResponse operation(long operationId); OperationsRequestBuilder forAccount(KeyPair account); OperationsRequestBuilder forLedger(long ledgerSeq); OperationsRequestBuilder forTransaction(String transactionId); static Page<OperationResponse> execute(OkHttpClient httpClient, URI uri); Page<OperationResponse> execute(); @Override OperationsRequestBuilder cursor(String token); @Override OperationsRequestBuilder limit(int number); @Override OperationsRequestBuilder order(Order direction); @Override ServerSentEvent stream(EventListener<ListenerType> listener);  }
@Test public void testForTransaction() { Server server = new Server("https: URI uri = server.operations() .forTransaction("991534d902063b7715cd74207bef4e7bd7aa2f108f62d3eba837ce6023b2d4f3") .buildUri(); assertEquals("https: }