public class PortfolioApi.APIlistPortfolioLoanRecordsRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listPortfolioLoanRecords
|
PortfolioApi.APIlistPortfolioLoanRecordsRequest |
currency(String currency)
Set currency
|
List<PortfolioLoanRecord> |
execute()
Execute listPortfolioLoanRecords request
|
okhttp3.Call |
executeAsync(ApiCallback<List<PortfolioLoanRecord>> _callback)
Execute listPortfolioLoanRecords request (asynchronously)
|
ApiResponse<List<PortfolioLoanRecord>> |
executeWithHttpInfo()
Execute listPortfolioLoanRecords request with HTTP info returned
|
PortfolioApi.APIlistPortfolioLoanRecordsRequest |
limit(Integer limit)
Set limit
|
PortfolioApi.APIlistPortfolioLoanRecordsRequest |
page(Integer page)
Set page
|
PortfolioApi.APIlistPortfolioLoanRecordsRequest |
type(String type)
Set type
|
public PortfolioApi.APIlistPortfolioLoanRecordsRequest type(String type)
type - The types of lending records, borrow - indicates the action of borrowing funds, repay - indicates the action of repaying the borrowed funds (optional)public PortfolioApi.APIlistPortfolioLoanRecordsRequest currency(String currency)
currency - Retrieve data of the specified currency (optional)public PortfolioApi.APIlistPortfolioLoanRecordsRequest page(Integer page)
page - Page number (optional, default to 1)public PortfolioApi.APIlistPortfolioLoanRecordsRequest limit(Integer limit)
limit - Maximum response items. Default: 100, minimum: 1, Maximum: 100 (optional, default to 100)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<PortfolioLoanRecord> 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<PortfolioLoanRecord>> 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<PortfolioLoanRecord>> _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.