Skip to content

Commit

Permalink
DOCS-2903: Update billing_client.py (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Sep 13, 2024
1 parent 599f67e commit 13b3542
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/viam/app/billing_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ async def get_current_month_usage(self, org_id: str, timeout: Optional[float] =
::
usage = await viam_client.billing_client.get_current_month_usage("<ORG-ID>")
usage = await billing_client.get_current_month_usage("<ORG-ID>")
Args:
org_id (str): the ID of the organization to request usage data for
Returns:
viam.proto.app.billing.GetCurrentMonthUsageResponse: Current month usage information
viam.proto.app.billing.GetCurrentMonthUsageResponse: the current month usage information
For more information, see `Billing Client API <https://docs.viam.com/appendix/apis/billing-client/>`_.
"""
Expand All @@ -90,12 +90,12 @@ async def get_invoice_pdf(self, invoice_id: str, org_id: str, dest: str, timeout
::
await viam_client.billing_client.get_invoice_pdf("<INVOICE-ID>", "<ORG-ID>", "<FILENAME>")
await billing_client.get_invoice_pdf("<INVOICE-ID>", "<ORG-ID>", "invoice.pdf")
Args:
invoice_id (str): the ID of the invoice being requested
org_id (str): the ID of the org to request data from
dest (str): filepath to save the invoice to
dest (str): the filepath to save the invoice to
For more information, see `Billing Client API <https://docs.viam.com/appendix/apis/billing-client/>`_.
"""
Expand All @@ -111,13 +111,13 @@ async def get_invoices_summary(self, org_id: str, timeout: Optional[float] = Non
::
summary = await viam_client.billing_client.get_invoices_summary("<ORG-ID>")
summary = await billing_client.get_invoices_summary("<ORG-ID>")
Args:
org_id (str): the ID of the org to request data for
Returns:
viam.proto.app.billing.GetInvoicesSummaryResponse: Summary of org invoices
viam.proto.app.billing.GetInvoicesSummaryResponse: the summaries of all org invoices
For more information, see `Billing Client API <https://docs.viam.com/appendix/apis/billing-client/>`_.
"""
Expand All @@ -129,13 +129,13 @@ async def get_org_billing_information(self, org_id: str, timeout: Optional[float
::
information = await viam_client.billing_client.get_org_billing_information("<ORG-ID>")
information = await billing_client.get_org_billing_information("<ORG-ID>")
Args:
org_id (str): the ID of the org to request data for
Returns:
viam.proto.app.billing.GetOrgBillingInformationResponse: The org billing information
viam.proto.app.billing.GetOrgBillingInformationResponse: the org billing information
For more information, see `Billing Client API <https://docs.viam.com/appendix/apis/billing-client/>`_.
"""
Expand Down

0 comments on commit 13b3542

Please sign in to comment.