| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for getTotalBalance
|
WalletApi.APIgetTotalBalanceRequest |
currency(String currency)
Set currency
|
TotalBalance |
execute()
Execute getTotalBalance request
|
okhttp3.Call |
executeAsync(ApiCallback<TotalBalance> _callback)
Execute getTotalBalance request (asynchronously)
|
ApiResponse<TotalBalance> |
executeWithHttpInfo()
Execute getTotalBalance request with HTTP info returned
|
public WalletApi.APIgetTotalBalanceRequest currency(String currency)
currency - Currency unit used to calculate the balance amount. BTC, CNY, USD and USDT are allowed. USDT is the default. (optional, default to "USDT")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 | Request is valid and is successfully responded | - |
public TotalBalance 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 | Request is valid and is successfully responded | - |
public ApiResponse<TotalBalance> 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 | Request is valid and is successfully responded | - |
public okhttp3.Call executeAsync(ApiCallback<TotalBalance> _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 | Request is valid and is successfully responded | - |
Copyright © 2023. All rights reserved.