public class ApiMonetizationApi extends Object
| Constructor and Description |
|---|
ApiMonetizationApi() |
ApiMonetizationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAPIMonetization(String apiId,
APIMonetizationInfoDTO apIMonetizationInfoDTO)
Configure Monetization for a Given API
This operation can be used to configure monetization for a given API.
|
okhttp3.Call |
addAPIMonetizationAsync(String apiId,
APIMonetizationInfoDTO apIMonetizationInfoDTO,
ApiCallback<Void> _callback)
Configure Monetization for a Given API (asynchronously)
This operation can be used to configure monetization for a given API.
|
okhttp3.Call |
addAPIMonetizationCall(String apiId,
APIMonetizationInfoDTO apIMonetizationInfoDTO,
ApiCallback _callback)
Build call for addAPIMonetization
|
ApiResponse<Void> |
addAPIMonetizationWithHttpInfo(String apiId,
APIMonetizationInfoDTO apIMonetizationInfoDTO)
Configure Monetization for a Given API
This operation can be used to configure monetization for a given API.
|
ApiClient |
getApiClient() |
void |
getAPIMonetization(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
|
okhttp3.Call |
getAPIMonetizationAsync(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
|
okhttp3.Call |
getAPIMonetizationCall(String apiId,
ApiCallback _callback)
Build call for getAPIMonetization
|
ApiResponse<Void> |
getAPIMonetizationWithHttpInfo(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
|
APIRevenueDTO |
getAPIRevenue(String apiId)
Get Total Revenue Details of a Given Monetized API with Meterd Billing
This operation can be used to get details of total revenue details of a given monetized API with meterd billing.
|
okhttp3.Call |
getAPIRevenueAsync(String apiId,
ApiCallback<APIRevenueDTO> _callback)
Get Total Revenue Details of a Given Monetized API with Meterd Billing (asynchronously)
This operation can be used to get details of total revenue details of a given monetized API with meterd billing.
|
okhttp3.Call |
getAPIRevenueCall(String apiId,
ApiCallback _callback)
Build call for getAPIRevenue
|
ApiResponse<APIRevenueDTO> |
getAPIRevenueWithHttpInfo(String apiId)
Get Total Revenue Details of a Given Monetized API with Meterd Billing
This operation can be used to get details of total revenue details of a given monetized API with meterd billing.
|
APIMonetizationUsageDTO |
getSubscriptionUsage(String subscriptionId)
Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
|
okhttp3.Call |
getSubscriptionUsageAsync(String subscriptionId,
ApiCallback<APIMonetizationUsageDTO> _callback)
Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
|
okhttp3.Call |
getSubscriptionUsageCall(String subscriptionId,
ApiCallback _callback)
Build call for getSubscriptionUsage
|
ApiResponse<APIMonetizationUsageDTO> |
getSubscriptionUsageWithHttpInfo(String subscriptionId)
Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
|
void |
setApiClient(ApiClient apiClient) |
public ApiMonetizationApi()
public ApiMonetizationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addAPIMonetizationCall(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO - Monetization data object (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void addAPIMonetization(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO - Monetization data object (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> addAPIMonetizationWithHttpInfo(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO - Monetization data object (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAPIMonetizationAsync(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO - 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 okhttp3.Call getAPIMonetizationCall(String apiId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getAPIMonetization(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> getAPIMonetizationWithHttpInfo(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 okhttp3.Call getAPIMonetizationAsync(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 okhttp3.Call getAPIRevenueCall(String apiId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevenueDTO getAPIRevenue(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> getAPIRevenueWithHttpInfo(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 okhttp3.Call getAPIRevenueAsync(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 okhttp3.Call getSubscriptionUsageCall(String subscriptionId, ApiCallback _callback) throws ApiException
subscriptionId - Subscription Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIMonetizationUsageDTO getSubscriptionUsage(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> getSubscriptionUsageWithHttpInfo(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 okhttp3.Call getSubscriptionUsageAsync(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 © 2021 WSO2 Inc. All rights reserved.