public class CollateralLoanApi.APIlistRepayRecordsRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
CollateralLoanApi.APIlistRepayRecordsRequest |
borrowCurrency(String borrowCurrency)
Set borrowCurrency
|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listRepayRecords
|
CollateralLoanApi.APIlistRepayRecordsRequest |
collateralCurrency(String collateralCurrency)
Set collateralCurrency
|
List<RepayRecord> |
execute()
Execute listRepayRecords request
|
okhttp3.Call |
executeAsync(ApiCallback<List<RepayRecord>> _callback)
Execute listRepayRecords request (asynchronously)
|
ApiResponse<List<RepayRecord>> |
executeWithHttpInfo()
Execute listRepayRecords request with HTTP info returned
|
CollateralLoanApi.APIlistRepayRecordsRequest |
from(Long from)
Set from
|
CollateralLoanApi.APIlistRepayRecordsRequest |
limit(Integer limit)
Set limit
|
CollateralLoanApi.APIlistRepayRecordsRequest |
page(Integer page)
Set page
|
CollateralLoanApi.APIlistRepayRecordsRequest |
to(Long to)
Set to
|
public CollateralLoanApi.APIlistRepayRecordsRequest borrowCurrency(String borrowCurrency)
borrowCurrency - Borrowed currency (optional)public CollateralLoanApi.APIlistRepayRecordsRequest collateralCurrency(String collateralCurrency)
collateralCurrency - Collateral (optional)public CollateralLoanApi.APIlistRepayRecordsRequest page(Integer page)
page - Page number (optional, default to 1)public CollateralLoanApi.APIlistRepayRecordsRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public CollateralLoanApi.APIlistRepayRecordsRequest from(Long from)
from - Start timestamp of the query (optional)public CollateralLoanApi.APIlistRepayRecordsRequest to(Long to)
to - Time range ending, default to current time (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<RepayRecord> 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<RepayRecord>> 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<RepayRecord>> _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.