Class ApiMonetizationApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ApiMonetizationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAPIMonetization(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) Configure Monetization for a Given API This operation can be used to configure monetization for a given API.okhttp3.CalladdAPIMonetizationAsync(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.CalladdAPIMonetizationCall(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO, ApiCallback _callback) Build call for addAPIMonetizationaddAPIMonetizationWithHttpInfo(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) Configure Monetization for a Given API This operation can be used to configure monetization for a given API.voidgetAPIMonetization(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 APIokhttp3.CallgetAPIMonetizationAsync(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 APIokhttp3.CallgetAPIMonetizationCall(String apiId, ApiCallback _callback) Build call for getAPIMonetizationGet Monetization Status for each Tier in a Given API This operation can be used to get monetization status for each tier in a given APIgetAPIRevenue(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.CallgetAPIRevenueAsync(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.CallgetAPIRevenueCall(String apiId, ApiCallback _callback) Build call for getAPIRevenuegetAPIRevenueWithHttpInfo(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.getSubscriptionUsage(String subscriptionId) Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.okhttp3.CallgetSubscriptionUsageAsync(String subscriptionId, ApiCallback<APIMonetizationUsageDTO> _callback) Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.okhttp3.CallgetSubscriptionUsageCall(String subscriptionId, ApiCallback _callback) Build call for getSubscriptionUsagegetSubscriptionUsageWithHttpInfo(String subscriptionId) Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
ApiMonetizationApi
public ApiMonetizationApi() -
ApiMonetizationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addAPIMonetizationCall
public okhttp3.Call addAPIMonetizationCall(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO, ApiCallback _callback) throws ApiException Build call for addAPIMonetization- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO- Monetization data object (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
addAPIMonetization
public void addAPIMonetization(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) throws ApiException Configure Monetization for a Given API This operation can be used to configure monetization for a given API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO- Monetization data object (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addAPIMonetizationWithHttpInfo
public ApiResponse<Void> addAPIMonetizationWithHttpInfo(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO) throws ApiException Configure Monetization for a Given API This operation can be used to configure monetization for a given API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)apIMonetizationInfoDTO- Monetization data object (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addAPIMonetizationAsync
public okhttp3.Call addAPIMonetizationAsync(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO, ApiCallback<Void> _callback) throws ApiException Configure Monetization for a Given API (asynchronously) This operation can be used to configure monetization for a given API.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIMonetizationCall
Build call for getAPIMonetization- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIMonetization
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- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIMonetizationWithHttpInfo
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- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIMonetizationAsync
public okhttp3.Call getAPIMonetizationAsync(String apiId, ApiCallback<Void> _callback) throws ApiException 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- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIRevenueCall
Build call for getAPIRevenue- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIRevenue
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.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- APIRevenueDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevenueWithHttpInfo
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.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- ApiResponse<APIRevenueDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevenueAsync
public okhttp3.Call getAPIRevenueAsync(String apiId, ApiCallback<APIRevenueDTO> _callback) throws ApiException 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.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getSubscriptionUsageCall
public okhttp3.Call getSubscriptionUsageCall(String subscriptionId, ApiCallback _callback) throws ApiException Build call for getSubscriptionUsage- Parameters:
subscriptionId- Subscription Id (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSubscriptionUsage
Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing. This operation can be used to get details of a pending invoice for a monetized subscription with meterd billing.- Parameters:
subscriptionId- Subscription Id (required)- Returns:
- APIMonetizationUsageDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionUsageWithHttpInfo
public ApiResponse<APIMonetizationUsageDTO> getSubscriptionUsageWithHttpInfo(String subscriptionId) throws ApiException Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing. This operation can be used to get details of a pending invoice for a monetized subscription with meterd billing.- Parameters:
subscriptionId- Subscription Id (required)- Returns:
- ApiResponse<APIMonetizationUsageDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionUsageAsync
public okhttp3.Call getSubscriptionUsageAsync(String subscriptionId, ApiCallback<APIMonetizationUsageDTO> _callback) throws ApiException Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing. (asynchronously) This operation can be used to get details of a pending invoice for a monetized subscription with meterd billing.- Parameters:
subscriptionId- Subscription Id (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-