GitHub
Preparing search index...
The search index is not available
Viam SDK
Viam SDK
BillingClient
Class BillingClient
Index
Constructors
constructor
Properties
service
Methods
get
Current
Month
Usage
get
Invoice
Pdf
get
Invoices
Summary
get
Org
Billing
Information
Constructors
constructor
new
Billing
Client
(
serviceHost
,
grpcOptions
)
:
BillingClient
Parameters
serviceHost
:
string
grpcOptions
:
RpcOptions
Returns
BillingClient
Properties
Private
service
service
:
BillingServiceClient
Methods
get
Current
Month
Usage
get
Current
Month
Usage
(
orgId
)
:
Promise
<
GetCurrentMonthUsageResponse
>
Parameters
orgId
:
string
Returns
Promise
<
GetCurrentMonthUsageResponse
>
get
Invoice
Pdf
get
Invoice
Pdf
(
id
,
orgId
)
:
Promise
<
Uint8Array
>
Parameters
id
:
string
orgId
:
string
Returns
Promise
<
Uint8Array
>
get
Invoices
Summary
get
Invoices
Summary
(
orgId
)
:
Promise
<
billingApi
.
GetInvoicesSummaryResponse
.
AsObject
>
Parameters
orgId
:
string
Returns
Promise
<
billingApi
.
GetInvoicesSummaryResponse
.
AsObject
>
get
Org
Billing
Information
get
Org
Billing
Information
(
orgId
)
:
Promise
<
billingApi
.
GetOrgBillingInformationResponse
.
AsObject
>
Parameters
orgId
:
string
Returns
Promise
<
billingApi
.
GetOrgBillingInformationResponse
.
AsObject
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
service
get
Current
Month
Usage
get
Invoice
Pdf
get
Invoices
Summary
get
Org
Billing
Information
Viam SDK
Loading...
Generated using
TypeDoc