Balances interface

Interface representing a Balances.

Methods

getByBillingAccount(string, BalancesGetByBillingAccountOptionalParams)

Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.

getForBillingPeriodByBillingAccount(string, string, BalancesGetForBillingPeriodByBillingAccountOptionalParams)

Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.

Method Details

getByBillingAccount(string, BalancesGetByBillingAccountOptionalParams)

Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.

function getByBillingAccount(billingAccountId: string, options?: BalancesGetByBillingAccountOptionalParams): Promise<Balance>

Parameters

billingAccountId

string

BillingAccount ID

options
BalancesGetByBillingAccountOptionalParams

The options parameters.

Returns

Promise<Balance>

getForBillingPeriodByBillingAccount(string, string, BalancesGetForBillingPeriodByBillingAccountOptionalParams)

Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.

function getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: BalancesGetForBillingPeriodByBillingAccountOptionalParams): Promise<Balance>

Parameters

billingAccountId

string

BillingAccount ID

billingPeriodName

string

Billing Period Name.

Returns

Promise<Balance>