public class DeliveryApi.APIgetMyDeliveryTradesRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for getMyDeliveryTrades
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
contract(String contract)
Set contract
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
countTotal(Integer countTotal)
Set countTotal
|
List<MyFuturesTrade> |
execute()
Execute getMyDeliveryTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<MyFuturesTrade>> _callback)
Execute getMyDeliveryTrades request (asynchronously)
|
ApiResponse<List<MyFuturesTrade>> |
executeWithHttpInfo()
Execute getMyDeliveryTrades request with HTTP info returned
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
lastId(String lastId)
Set lastId
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
limit(Integer limit)
Set limit
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
offset(Integer offset)
Set offset
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
order(Long order)
Set order
|
public DeliveryApi.APIgetMyDeliveryTradesRequest contract(String contract)
contract - Futures contract (optional)public DeliveryApi.APIgetMyDeliveryTradesRequest order(Long order)
order - Futures order ID, return related data only if specified (optional)public DeliveryApi.APIgetMyDeliveryTradesRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public DeliveryApi.APIgetMyDeliveryTradesRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public DeliveryApi.APIgetMyDeliveryTradesRequest lastId(String lastId)
lastId - Specify list staring point using the `id` of last record in previous list-query results (optional)public DeliveryApi.APIgetMyDeliveryTradesRequest countTotal(Integer countTotal)
countTotal - Whether to return total number matched. Default to 0(no return) (optional, default to 0)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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned if `count_total` set to 1 |
public List<MyFuturesTrade> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned if `count_total` set to 1 |
public ApiResponse<List<MyFuturesTrade>> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned if `count_total` set to 1 |
public okhttp3.Call executeAsync(ApiCallback<List<MyFuturesTrade>> _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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned if `count_total` set to 1 |
Copyright © 2023. All rights reserved.