Package com.mypurecloud.sdk.v2.api
Class BillingApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.BillingApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBillingContractAsync(GetBillingContractRequest request, AsyncApiCallback<BillingContract> callback) Get billing contract Retrieve a single contract from the system.getBillingContractAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContract>> callback) Get billing contract Retrieve a single contract from the system.getBillingContractBillingperiodAsync(GetBillingContractBillingperiodRequest request, AsyncApiCallback<BillingContractPeriodDetail> callback) Get contract billing period Fetch the billing information for a given Organization by billing period.getBillingContractBillingperiodAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContractPeriodDetail>> callback) Get contract billing period Fetch the billing information for a given Organization by billing period.getBillingContractsAsync(GetBillingContractsRequest request, AsyncApiCallback<BillingContractListing> callback) Get billing contracts Retrieve a list of contracts stored in the system.getBillingContractsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContractListing>> callback) Get billing contracts Retrieve a list of contracts stored in the system.getBillingContractsInvoiceDocumentAsync(GetBillingContractsInvoiceDocumentRequest request, AsyncApiCallback<UrlResponse> callback) Get invoice document Fetch the document for a specific invoice.getBillingContractsInvoiceDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UrlResponse>> callback) Get invoice document Fetch the document for a specific invoice.getBillingContractsInvoiceLinesAsync(GetBillingContractsInvoiceLinesRequest request, AsyncApiCallback<BillingInvoiceItemListing> callback) Get invoice lines Fetch a list of all bills for the specified account.getBillingContractsInvoiceLinesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingInvoiceItemListing>> callback) Get invoice lines Fetch a list of all bills for the specified account.getBillingContractsInvoicesAsync(GetBillingContractsInvoicesRequest request, AsyncApiCallback<BillingInvoiceListing> callback) Get invoices Retrieve a list of invoices stored in the system.getBillingContractsInvoicesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingInvoiceListing>> callback) Get invoices Retrieve a list of invoices stored in the system.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.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.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
-
getBillingContractAsync
public Future<BillingContract> getBillingContractAsync(GetBillingContractRequest request, AsyncApiCallback<BillingContract> callback) Get billing contract Retrieve a single contract from the system. getBillingContract is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractAsync
public Future<ApiResponse<BillingContract>> getBillingContractAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContract>> callback) Get billing contract Retrieve a single contract from the system. getBillingContract is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractBillingperiodAsync
public Future<BillingContractPeriodDetail> getBillingContractBillingperiodAsync(GetBillingContractBillingperiodRequest request, AsyncApiCallback<BillingContractPeriodDetail> callback) Get contract billing period Fetch the billing information for a given Organization by billing period. getBillingContractBillingperiod is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractBillingperiodAsync
public Future<ApiResponse<BillingContractPeriodDetail>> getBillingContractBillingperiodAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContractPeriodDetail>> callback) Get contract billing period Fetch the billing information for a given Organization by billing period. getBillingContractBillingperiod is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsAsync
public Future<BillingContractListing> getBillingContractsAsync(GetBillingContractsRequest request, AsyncApiCallback<BillingContractListing> callback) Get billing contracts Retrieve a list of contracts stored in the system. getBillingContracts is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsAsync
public Future<ApiResponse<BillingContractListing>> getBillingContractsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingContractListing>> callback) Get billing contracts Retrieve a list of contracts stored in the system. getBillingContracts is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoiceDocumentAsync
public Future<UrlResponse> getBillingContractsInvoiceDocumentAsync(GetBillingContractsInvoiceDocumentRequest request, AsyncApiCallback<UrlResponse> callback) Get invoice document Fetch the document for a specific invoice. getBillingContractsInvoiceDocument is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoiceDocumentAsync
public Future<ApiResponse<UrlResponse>> getBillingContractsInvoiceDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UrlResponse>> callback) Get invoice document Fetch the document for a specific invoice. getBillingContractsInvoiceDocument is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoiceLinesAsync
public Future<BillingInvoiceItemListing> getBillingContractsInvoiceLinesAsync(GetBillingContractsInvoiceLinesRequest request, AsyncApiCallback<BillingInvoiceItemListing> callback) Get invoice lines Fetch a list of all bills for the specified account. getBillingContractsInvoiceLines is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoiceLinesAsync
public Future<ApiResponse<BillingInvoiceItemListing>> getBillingContractsInvoiceLinesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingInvoiceItemListing>> callback) Get invoice lines Fetch a list of all bills for the specified account. getBillingContractsInvoiceLines is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoicesAsync
public Future<BillingInvoiceListing> getBillingContractsInvoicesAsync(GetBillingContractsInvoicesRequest request, AsyncApiCallback<BillingInvoiceListing> callback) Get invoices Retrieve a list of invoices stored in the system. getBillingContractsInvoices is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getBillingContractsInvoicesAsync
public Future<ApiResponse<BillingInvoiceListing>> getBillingContractsInvoicesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<BillingInvoiceListing>> callback) Get invoices Retrieve a list of invoices stored in the system. getBillingContractsInvoices is a preview method and is subject to both breaking and non-breaking changes at any time without notice- 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<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
-