Balances interface
表示余额的接口。
方法
| get |
按 billingAccountId 获取范围的余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。 |
| get |
按计费周期和 billingAccountId 获取范围余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。 |
方法详细信息
getByBillingAccount(string, BalancesGetByBillingAccountOptionalParams)
按 billingAccountId 获取范围的余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。
function getByBillingAccount(billingAccountId: string, options?: BalancesGetByBillingAccountOptionalParams): Promise<Balance>
参数
- billingAccountId
-
string
计费帐户 ID
选项参数。
返回
Promise<Balance>
getForBillingPeriodByBillingAccount(string, string, BalancesGetForBillingPeriodByBillingAccountOptionalParams)
按计费周期和 billingAccountId 获取范围余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。
function getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: BalancesGetForBillingPeriodByBillingAccountOptionalParams): Promise<Balance>
参数
- billingAccountId
-
string
计费帐户 ID
- billingPeriodName
-
string
计费周期名称。
返回
Promise<Balance>