public final class PricesRequest extends Object
Request.Method| Constructor and Description |
|---|
PricesRequest(String apiKey,
String baseUrl,
Requester requester) |
| Modifier and Type | Method and Description |
|---|---|
PricesRequest |
addId(String stationId)
Adds a station id.
|
PricesRequest |
addIds(Collection<String> stationIds)
Adds multiple station ids.
|
PricesRequest |
addIds(String... stationIds)
Adds multiple station ids.
|
R |
execute()
Executes the request using the underlying
Requester,
which will return the requested result object |
public PricesRequest addId(String stationId)
A maximum of 10 IDs is allowed and IDs are getting added uniquely
public PricesRequest addIds(String... stationIds)
A maximum of 10 IDs is allowed and IDs are getting added uniquely
public PricesRequest addIds(Collection<String> stationIds)
A maximum of 10 IDs is allowed and IDs are getting added uniquely
public final R execute()
throws RequesterException
Requester,
which will return the requested result objectexecute in interface Request<R extends Result>RequesterException - Checked Exceptions that might be thrown during request executionCopyright © 2017. All rights reserved.