Class PlanApi
java.lang.Object
com.boldsign.api.PlanApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Api credits details.okhttp3.CallapiCreditsCountAsync(ApiCallback<BillingViewModel> _callback) Gets the Api credits details.okhttp3.CallapiCreditsCountCall(ApiCallback _callback) Build call for apiCreditsCountGets the Api credits details.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
PlanApi
public PlanApi() -
PlanApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
apiCreditsCountCall
Build call for apiCreditsCount- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
apiCreditsCount
Gets the Api credits details.- Returns:
- BillingViewModel
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
apiCreditsCountWithHttpInfo
Gets the Api credits details.- Returns:
- ApiResponse<BillingViewModel>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
apiCreditsCountAsync
public okhttp3.Call apiCreditsCountAsync(ApiCallback<BillingViewModel> _callback) throws ApiException Gets the Api credits details. (asynchronously)- Parameters:
_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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-