| Modifier and Type | Method and Description |
|---|---|
SpotApi.APIlistOrdersRequest |
account(String account)
Set account
|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listOrders
|
List<Order> |
execute()
Execute listOrders request
|
okhttp3.Call |
executeAsync(ApiCallback<List<Order>> _callback)
Execute listOrders request (asynchronously)
|
ApiResponse<List<Order>> |
executeWithHttpInfo()
Execute listOrders request with HTTP info returned
|
SpotApi.APIlistOrdersRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistOrdersRequest |
page(Integer page)
Set page
|
public SpotApi.APIlistOrdersRequest page(Integer page)
page - Page number (optional, default to 1)public SpotApi.APIlistOrdersRequest limit(Integer limit)
limit - Maximum number of records returned. If `status` is `open`, maximum of `limit` is 100 (optional, default to 100)public SpotApi.APIlistOrdersRequest account(String account)
account - Specify operation account. Default to spot and margin account if not specified. Set to `cross_margin` to operate against margin account (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 | List retrieved | - |
public List<Order> 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 | List retrieved | - |
public ApiResponse<List<Order>> 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 | List retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<Order>> _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 | List retrieved | - |
Copyright © 2021. All rights reserved.