| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listTickers
|
SpotApi.APIlistTickersRequest |
currencyPair(String currencyPair)
Set currencyPair
|
List<Ticker> |
execute()
Execute listTickers request
|
okhttp3.Call |
executeAsync(ApiCallback<List<Ticker>> _callback)
Execute listTickers request (asynchronously)
|
ApiResponse<List<Ticker>> |
executeWithHttpInfo()
Execute listTickers request with HTTP info returned
|
public SpotApi.APIlistTickersRequest currencyPair(String currencyPair)
currencyPair - Currency pair (optional)public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
_callback - ApiCallback API callbackApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public List<Ticker> execute() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<List<Ticker>> executeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<Ticker>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
Copyright © 2021. All rights reserved.