public class ReferralAccountApi extends Object
| Constructor and Description |
|---|
ReferralAccountApi() |
ReferralAccountApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
referralAccountsGet(Integer page,
Integer limit)
Get all referral accounts
Get all referral accounts
|
com.squareup.okhttp.Call |
referralAccountsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all referral accounts (asynchronously)
Get all referral accounts
|
com.squareup.okhttp.Call |
referralAccountsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for referralAccountsGet
|
ApiResponse<String> |
referralAccountsGetWithHttpInfo(Integer page,
Integer limit)
Get all referral accounts
Get all referral accounts
|
void |
setApiClient(ApiClient apiClient) |
public ReferralAccountApi()
public ReferralAccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call referralAccountsGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String referralAccountsGet(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> referralAccountsGetWithHttpInfo(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call referralAccountsGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.