public class SubaccountApi extends Object
| Constructor and Description |
|---|
SubaccountApi() |
SubaccountApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
String |
subaccountsBySubaccountIdDelete(Integer subaccountId)
Delete a subaccount
Delete a subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdDeleteAsync(Integer subaccountId,
ApiCallback<String> callback)
Delete a subaccount (asynchronously)
Delete a subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdDeleteCall(Integer subaccountId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsBySubaccountIdDelete
|
ApiResponse<String> |
subaccountsBySubaccountIdDeleteWithHttpInfo(Integer subaccountId)
Delete a subaccount
Delete a subaccount
|
String |
subaccountsBySubaccountIdGet(Integer subaccountId)
Get specific subaccount
Get specific subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdGetAsync(Integer subaccountId,
ApiCallback<String> callback)
Get specific subaccount (asynchronously)
Get specific subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdGetCall(Integer subaccountId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsBySubaccountIdGet
|
ApiResponse<String> |
subaccountsBySubaccountIdGetWithHttpInfo(Integer subaccountId)
Get specific subaccount
Get specific subaccount
|
String |
subaccountsBySubaccountIdPut(Integer subaccountId,
Subaccount subaccount)
Update subaccount
Update subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdPutAsync(Integer subaccountId,
Subaccount subaccount,
ApiCallback<String> callback)
Update subaccount (asynchronously)
Update subaccount
|
com.squareup.okhttp.Call |
subaccountsBySubaccountIdPutCall(Integer subaccountId,
Subaccount subaccount,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsBySubaccountIdPut
|
ApiResponse<String> |
subaccountsBySubaccountIdPutWithHttpInfo(Integer subaccountId,
Subaccount subaccount)
Update subaccount
Update subaccount
|
String |
subaccountsGet(Integer page,
Integer limit)
Get all subaccounts
Get all subaccounts
|
com.squareup.okhttp.Call |
subaccountsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all subaccounts (asynchronously)
Get all subaccounts
|
com.squareup.okhttp.Call |
subaccountsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsGet
|
ApiResponse<String> |
subaccountsGetWithHttpInfo(Integer page,
Integer limit)
Get all subaccounts
Get all subaccounts
|
String |
subaccountsPost(Subaccount subaccount)
Create new subaccount
Create new subaccount
|
com.squareup.okhttp.Call |
subaccountsPostAsync(Subaccount subaccount,
ApiCallback<String> callback)
Create new subaccount (asynchronously)
Create new subaccount
|
com.squareup.okhttp.Call |
subaccountsPostCall(Subaccount subaccount,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsPost
|
ApiResponse<String> |
subaccountsPostWithHttpInfo(Subaccount subaccount)
Create new subaccount
Create new subaccount
|
String |
subaccountsRegenApiKeyBySubaccountIdPut(Integer subaccountId)
Regenerate an API Key
Regenerate an API Key
|
com.squareup.okhttp.Call |
subaccountsRegenApiKeyBySubaccountIdPutAsync(Integer subaccountId,
ApiCallback<String> callback)
Regenerate an API Key (asynchronously)
Regenerate an API Key
|
com.squareup.okhttp.Call |
subaccountsRegenApiKeyBySubaccountIdPutCall(Integer subaccountId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subaccountsRegenApiKeyBySubaccountIdPut
|
ApiResponse<String> |
subaccountsRegenApiKeyBySubaccountIdPutWithHttpInfo(Integer subaccountId)
Regenerate an API Key
Regenerate an API Key
|
public SubaccountApi()
public SubaccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call subaccountsBySubaccountIdDeleteCall(Integer subaccountId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subaccountId - ID of subaccount to delete (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String subaccountsBySubaccountIdDelete(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> subaccountsBySubaccountIdDeleteWithHttpInfo(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subaccountsBySubaccountIdDeleteAsync(Integer subaccountId, ApiCallback<String> callback) throws ApiException
subaccountId - ID of subaccount to delete (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call subaccountsBySubaccountIdGetCall(Integer subaccountId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subaccountId - ID of subaccount to get (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String subaccountsBySubaccountIdGet(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to get (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> subaccountsBySubaccountIdGetWithHttpInfo(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to get (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subaccountsBySubaccountIdGetAsync(Integer subaccountId, ApiCallback<String> callback) throws ApiException
subaccountId - ID of subaccount to get (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call subaccountsBySubaccountIdPutCall(Integer subaccountId, Subaccount subaccount, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subaccountId - ID of subaccount to update (required)subaccount - Subaccount model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String subaccountsBySubaccountIdPut(Integer subaccountId, Subaccount subaccount) throws ApiException
subaccountId - ID of subaccount to update (required)subaccount - Subaccount model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> subaccountsBySubaccountIdPutWithHttpInfo(Integer subaccountId, Subaccount subaccount) throws ApiException
subaccountId - ID of subaccount to update (required)subaccount - Subaccount model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subaccountsBySubaccountIdPutAsync(Integer subaccountId, Subaccount subaccount, ApiCallback<String> callback) throws ApiException
subaccountId - ID of subaccount to update (required)subaccount - Subaccount model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call subaccountsGetCall(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 subaccountsGet(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> subaccountsGetWithHttpInfo(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 subaccountsGetAsync(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 objectpublic com.squareup.okhttp.Call subaccountsPostCall(Subaccount subaccount, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subaccount - Subaccount model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String subaccountsPost(Subaccount subaccount) throws ApiException
subaccount - Subaccount model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> subaccountsPostWithHttpInfo(Subaccount subaccount) throws ApiException
subaccount - Subaccount model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subaccountsPostAsync(Subaccount subaccount, ApiCallback<String> callback) throws ApiException
subaccount - Subaccount model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call subaccountsRegenApiKeyBySubaccountIdPutCall(Integer subaccountId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subaccountId - ID of subaccount to regenerate API key for (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String subaccountsRegenApiKeyBySubaccountIdPut(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to regenerate API key for (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> subaccountsRegenApiKeyBySubaccountIdPutWithHttpInfo(Integer subaccountId) throws ApiException
subaccountId - ID of subaccount to regenerate API key for (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subaccountsRegenApiKeyBySubaccountIdPutAsync(Integer subaccountId, ApiCallback<String> callback) throws ApiException
subaccountId - ID of subaccount to regenerate API key for (required)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.