| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for getTradeFee
|
WalletApi.APIgetTradeFeeRequest |
currencyPair(String currencyPair)
Set currencyPair
|
TradeFee |
execute()
Execute getTradeFee request
|
okhttp3.Call |
executeAsync(ApiCallback<TradeFee> _callback)
Execute getTradeFee request (asynchronously)
|
ApiResponse<TradeFee> |
executeWithHttpInfo()
Execute getTradeFee request with HTTP info returned
|
WalletApi.APIgetTradeFeeRequest |
settle(String settle)
Set settle
|
public WalletApi.APIgetTradeFeeRequest currencyPair(String currencyPair)
currencyPair - Specify a currency pair to retrieve precise fee rate This field is optional. In most cases, the fee rate is identical among all currency pairs (optional)public WalletApi.APIgetTradeFeeRequest settle(String settle)
settle - Specify the settlement currency of the contract to get more accurate rate settings This field is optional. Generally, the rate settings for all settlement currencies are the same. (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 TradeFee 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<TradeFee> 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<TradeFee> _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 © 2023. All rights reserved.