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