Class BillingApiAsync

java.lang.Object
com.mypurecloud.sdk.v2.api.BillingApiAsync

public class BillingApiAsync extends Object
  • Constructor Details

    • BillingApiAsync

      public BillingApiAsync()
    • BillingApiAsync

      public BillingApiAsync(ApiClient apiClient)
  • 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 object
      callback - 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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getBillingContractBillingperiodAsync

      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 object
      callback - 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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getBillingContractsAsync

      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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getBillingContractsAsync

      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 object
      callback - 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 object
      callback - 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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getBillingContractsInvoiceLinesAsync

      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 object
      callback - 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 object
      callback - 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 object
      callback - 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 object
      callback - 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 object
      callback - 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 object
      callback - 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 object
      callback - 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 object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed