Class ApiMonetizationApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.ApiMonetizationApi
-
public class ApiMonetizationApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiMonetizationApi()ApiMonetizationApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAPIMonetization(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 addAPIMonetizationApiResponse<Void>addAPIMonetizationWithHttpInfo(String apiId, APIMonetizationInfoDTO apIMonetizationInfoDTO)Configure Monetization for a Given API This operation can be used to configure monetization for a given API.ApiClientgetApiClient()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 getAPIMonetizationApiResponse<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 APIAPIRevenueDTOgetAPIRevenue(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 getAPIRevenueApiResponse<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.APIMonetizationUsageDTOgetSubscriptionUsage(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 getSubscriptionUsageApiResponse<APIMonetizationUsageDTO>getSubscriptionUsageWithHttpInfo(String subscriptionId)Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ApiMonetizationApi
public ApiMonetizationApi()
-
ApiMonetizationApi
public ApiMonetizationApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
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
public okhttp3.Call getAPIMonetizationCall(String apiId, ApiCallback _callback) throws ApiException
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
public void getAPIMonetization(String apiId) throws ApiException
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
public ApiResponse<Void> getAPIMonetizationWithHttpInfo(String apiId) throws ApiException
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
public okhttp3.Call getAPIRevenueCall(String apiId, ApiCallback _callback) throws ApiException
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
public APIRevenueDTO getAPIRevenue(String apiId) throws ApiException
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
public ApiResponse<APIRevenueDTO> getAPIRevenueWithHttpInfo(String apiId) throws ApiException
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
public APIMonetizationUsageDTO getSubscriptionUsage(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:
- 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
-
-