From 13b35425b62fc9445b8ea887a7cddb556b10de38 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Fri, 13 Sep 2024 23:24:46 +0200 Subject: [PATCH] DOCS-2903: Update billing_client.py (#728) --- src/viam/app/billing_client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/viam/app/billing_client.py b/src/viam/app/billing_client.py index 9e917334b..86feb3005 100644 --- a/src/viam/app/billing_client.py +++ b/src/viam/app/billing_client.py @@ -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("") + usage = await billing_client.get_current_month_usage("") 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 `_. """ @@ -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("", "", "") + await billing_client.get_invoice_pdf("", "", "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 `_. """ @@ -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("") + summary = await billing_client.get_invoices_summary("") 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 `_. """ @@ -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("") + information = await billing_client.get_org_billing_information("") 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 `_. """