Package com.mypurecloud.sdk.v2.api
Class BillingApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.BillingApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBillingReportsBillableusageAsync(GetBillingReportsBillableusageRequest request, AsyncApiCallback<BillingUsageReport> callback) Get a report of the billable license usages Report is of the billable usages (e.g.getBillingReportsBillableusageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingUsageReport>> callback) Get a report of the billable license usages Report is of the billable usages (e.g.getBillingTrusteebillingoverviewTrustorOrgIdAsync(GetBillingTrusteebillingoverviewTrustorOrgIdRequest request, AsyncApiCallback<TrusteeBillingOverview> callback) Get the billing overview for an organization that is managed by a partner.getBillingTrusteebillingoverviewTrustorOrgIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TrusteeBillingOverview>> callback) Get the billing overview for an organization that is managed by a partner.
-
Constructor Details
-
BillingApiAsync
public BillingApiAsync() -
BillingApiAsync
-
-
Method Details
-
getBillingReportsBillableusageAsync
public Future<BillingUsageReport> getBillingReportsBillableusageAsync(GetBillingReportsBillableusageRequest request, AsyncApiCallback<BillingUsageReport> callback) Get a report of the billable license usages Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If response's status is InProgress, wait a few seconds, then try the same request again.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingReportsBillableusageAsync
public Future<ApiResponse<BillingUsageReport>> getBillingReportsBillableusageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingUsageReport>> callback) Get a report of the billable license usages Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If response's status is InProgress, wait a few seconds, then try the same request again.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingTrusteebillingoverviewTrustorOrgIdAsync
public Future<TrusteeBillingOverview> getBillingTrusteebillingoverviewTrustorOrgIdAsync(GetBillingTrusteebillingoverviewTrustorOrgIdRequest request, AsyncApiCallback<TrusteeBillingOverview> callback) Get the billing overview for an organization that is managed by a partner. Tax Disclaimer: Prices returned by this API do not include applicable taxes. It is the responsibility of the customer to pay all taxes that are appropriate in their jurisdiction. See the PureCloud API Documentation in the Developer Center for more information about this API: https://developer.mypurecloud.com/api/rest/v2/- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingTrusteebillingoverviewTrustorOrgIdAsync
public Future<ApiResponse<TrusteeBillingOverview>> getBillingTrusteebillingoverviewTrustorOrgIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TrusteeBillingOverview>> callback) Get the billing overview for an organization that is managed by a partner. Tax Disclaimer: Prices returned by this API do not include applicable taxes. It is the responsibility of the customer to pay all taxes that are appropriate in their jurisdiction. See the PureCloud API Documentation in the Developer Center for more information about this API: https://developer.mypurecloud.com/api/rest/v2/- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-