Class ApiMonetizationApi


  • public class ApiMonetizationApi
    extends Object
    • Constructor Detail

      • ApiMonetizationApi

        public ApiMonetizationApi()
      • ApiMonetizationApi

        public ApiMonetizationApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • subscriptionsSubscriptionIdUsageGetCall

        public okhttp3.Call subscriptionsSubscriptionIdUsageGetCall​(String subscriptionId,
                                                                    ApiCallback _callback)
                                                             throws ApiException
        Build call for subscriptionsSubscriptionIdUsageGet
        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
      • subscriptionsSubscriptionIdUsageGet

        public APIMonetizationUsageDTO subscriptionsSubscriptionIdUsageGet​(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 metered 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
      • subscriptionsSubscriptionIdUsageGetWithHttpInfo

        public ApiResponse<APIMonetizationUsageDTO> subscriptionsSubscriptionIdUsageGetWithHttpInfo​(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 metered 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
      • subscriptionsSubscriptionIdUsageGetAsync

        public okhttp3.Call subscriptionsSubscriptionIdUsageGetAsync​(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 metered 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