@Test public void testForAccount() { Server server = new Server("https: URI uri = server.effects() .forAccount(KeyPair.fromAccountId("GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H")) .limit(200) .order(RequestBuilder.Order.DESC) .buildUri(); assertEquals("https: }
public EffectsRequestBuilder forAccount(KeyPair account) { account = checkNotNull(account, "account cannot be null"); this.setSegments("accounts", account.getAccountId(), "effects"); return this; }
EffectsRequestBuilder extends RequestBuilder { public EffectsRequestBuilder forAccount(KeyPair account) { account = checkNotNull(account, "account cannot be null"); this.setSegments("accounts", account.getAccountId(), "effects"); return this; } }
EffectsRequestBuilder extends RequestBuilder { public EffectsRequestBuilder forAccount(KeyPair account) { account = checkNotNull(account, "account cannot be null"); this.setSegments("accounts", account.getAccountId(), "effects"); return this; } EffectsRequestBuilder(OkHttpClient httpClient, URI serverURI); }
EffectsRequestBuilder extends RequestBuilder { public EffectsRequestBuilder forAccount(KeyPair account) { account = checkNotNull(account, "account cannot be null"); this.setSegments("accounts", account.getAccountId(), "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); }
EffectsRequestBuilder extends RequestBuilder { public EffectsRequestBuilder forAccount(KeyPair account) { account = checkNotNull(account, "account cannot be null"); this.setSegments("accounts", account.getAccountId(), "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);  }