public class ApiMonetizationApi extends Object
| Constructor and Description |
|---|
ApiMonetizationApi() |
ApiMonetizationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apisApiIdMonetizationGet(String apiId)
Get monetization status for each tier in a given API
This operation can be used to get monetization status for each tier in a given API
|
com.squareup.okhttp.Call |
apisApiIdMonetizationGetAsync(String apiId,
ApiCallback<Void> callback)
Get monetization status for each tier in a given API (asynchronously)
This operation can be used to get monetization status for each tier in a given API
|
com.squareup.okhttp.Call |
apisApiIdMonetizationGetCall(String apiId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMonetizationGet
|
ApiResponse<Void> |
apisApiIdMonetizationGetWithHttpInfo(String apiId)
Get monetization status for each tier in a given API
This operation can be used to get monetization status for each tier in a given API
|
void |
apisApiIdMonetizePost(String apiId,
APIMonetizationInfoDTO body)
Configure monetization for a given API
This operation can be used to configure monetization for a given API.
|
com.squareup.okhttp.Call |
apisApiIdMonetizePostAsync(String apiId,
APIMonetizationInfoDTO body,
ApiCallback<Void> callback)
Configure monetization for a given API (asynchronously)
This operation can be used to configure monetization for a given API.
|
com.squareup.okhttp.Call |
apisApiIdMonetizePostCall(String apiId,
APIMonetizationInfoDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMonetizePost
|
ApiResponse<Void> |
apisApiIdMonetizePostWithHttpInfo(String apiId,
APIMonetizationInfoDTO body)
Configure monetization for a given API
This operation can be used to configure monetization for a given API.
|
APIRevenueDTO |
apisApiIdRevenueGet(String apiId)
Get total revenue details of a given monetized API with meterd billing.
|
com.squareup.okhttp.Call |
apisApiIdRevenueGetAsync(String apiId,
ApiCallback<APIRevenueDTO> callback)
Get total revenue details of a given monetized API with meterd billing.
|
com.squareup.okhttp.Call |
apisApiIdRevenueGetCall(String apiId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdRevenueGet
|
ApiResponse<APIRevenueDTO> |
apisApiIdRevenueGetWithHttpInfo(String apiId)
Get total revenue details of a given monetized API with meterd billing.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
APIMonetizationUsageDTO |
subscriptionsSubscriptionIdUsageGet(String subscriptionId)
Get details of a pending invoice for a monetized subscription with meterd billing.
|
com.squareup.okhttp.Call |
subscriptionsSubscriptionIdUsageGetAsync(String subscriptionId,
ApiCallback<APIMonetizationUsageDTO> callback)
Get details of a pending invoice for a monetized subscription with meterd billing.
|
com.squareup.okhttp.Call |
subscriptionsSubscriptionIdUsageGetCall(String subscriptionId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subscriptionsSubscriptionIdUsageGet
|
ApiResponse<APIMonetizationUsageDTO> |
subscriptionsSubscriptionIdUsageGetWithHttpInfo(String subscriptionId)
Get details of a pending invoice for a monetized subscription with meterd billing.
|
public ApiMonetizationApi()
public ApiMonetizationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdMonetizationGetCall(String apiId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdMonetizationGet(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdMonetizationGetWithHttpInfo(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdMonetizationGetAsync(String apiId, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 apisApiIdMonetizePostCall(String apiId, APIMonetizationInfoDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Monetization data object (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdMonetizePost(String apiId, APIMonetizationInfoDTO body) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Monetization data object (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdMonetizePostWithHttpInfo(String apiId, APIMonetizationInfoDTO body) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Monetization data object (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdMonetizePostAsync(String apiId, APIMonetizationInfoDTO body, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Monetization data object (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 apisApiIdRevenueGetCall(String apiId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIRevenueDTO apisApiIdRevenueGet(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevenueDTO> apisApiIdRevenueGetWithHttpInfo(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdRevenueGetAsync(String apiId, ApiCallback<APIRevenueDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 subscriptionsSubscriptionIdUsageGetCall(String subscriptionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
subscriptionId - Subscription Id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIMonetizationUsageDTO subscriptionsSubscriptionIdUsageGet(String subscriptionId) throws ApiException
subscriptionId - Subscription Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIMonetizationUsageDTO> subscriptionsSubscriptionIdUsageGetWithHttpInfo(String subscriptionId) throws ApiException
subscriptionId - Subscription Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscriptionsSubscriptionIdUsageGetAsync(String subscriptionId, ApiCallback<APIMonetizationUsageDTO> callback) throws ApiException
subscriptionId - Subscription Id (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 © 2020 WSO2 Inc. All rights reserved.