Balances interface
Interface representing a Balances.
Methods
get |
Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later. |
get |
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
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.
The options parameters.
Returns
Promise<Balance>