共用方式為


PaymentMethods interface

表示 PaymentMethods 的介面。

方法

deleteByUser(string, PaymentMethodsDeleteByUserOptionalParams)

刪除呼叫者所擁有的付款方式。

getByBillingAccount(string, string, PaymentMethodsGetByBillingAccountOptionalParams)

取得計費帳戶可用的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

getByBillingProfile(string, string, string, PaymentMethodsGetByBillingProfileOptionalParams)

取得與帳單配置文件連結的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

getByUser(string, PaymentMethodsGetByUserOptionalParams)

取得呼叫端所擁有的付款方式。

listByBillingAccount(string, PaymentMethodsListByBillingAccountOptionalParams)

列出計費帳戶可用的付款方式。 除了呼叫者所擁有的付款方式之外,這些付款方式可以附加至帳單配置檔以付款。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

listByBillingProfile(string, string, PaymentMethodsListByBillingProfileOptionalParams)

列出附加至帳單配置檔的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

listByUser(PaymentMethodsListByUserOptionalParams)

列出呼叫者所擁有的付款方式。

方法詳細資料

deleteByUser(string, PaymentMethodsDeleteByUserOptionalParams)

刪除呼叫者所擁有的付款方式。

function deleteByUser(paymentMethodName: string, options?: PaymentMethodsDeleteByUserOptionalParams): Promise<void>

參數

paymentMethodName

string

可唯一識別付款方式的標識碼。

傳回

Promise<void>

getByBillingAccount(string, string, PaymentMethodsGetByBillingAccountOptionalParams)

取得計費帳戶可用的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function getByBillingAccount(billingAccountName: string, paymentMethodName: string, options?: PaymentMethodsGetByBillingAccountOptionalParams): Promise<PaymentMethod>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

paymentMethodName

string

可唯一識別付款方式的標識碼。

傳回

Promise<PaymentMethod>

getByBillingProfile(string, string, string, PaymentMethodsGetByBillingProfileOptionalParams)

取得與帳單配置文件連結的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function getByBillingProfile(billingAccountName: string, billingProfileName: string, paymentMethodName: string, options?: PaymentMethodsGetByBillingProfileOptionalParams): Promise<PaymentMethodLink>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

paymentMethodName

string

可唯一識別付款方式的標識碼。

傳回

getByUser(string, PaymentMethodsGetByUserOptionalParams)

取得呼叫端所擁有的付款方式。

function getByUser(paymentMethodName: string, options?: PaymentMethodsGetByUserOptionalParams): Promise<PaymentMethod>

參數

paymentMethodName

string

可唯一識別付款方式的標識碼。

options
PaymentMethodsGetByUserOptionalParams

選項參數。

傳回

Promise<PaymentMethod>

listByBillingAccount(string, PaymentMethodsListByBillingAccountOptionalParams)

列出計費帳戶可用的付款方式。 除了呼叫者所擁有的付款方式之外,這些付款方式可以附加至帳單配置檔以付款。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function listByBillingAccount(billingAccountName: string, options?: PaymentMethodsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<PaymentMethod, PaymentMethod[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

傳回

listByBillingProfile(string, string, PaymentMethodsListByBillingProfileOptionalParams)

列出附加至帳單配置檔的付款方式。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PaymentMethodsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<PaymentMethodLink, PaymentMethodLink[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

傳回

listByUser(PaymentMethodsListByUserOptionalParams)

列出呼叫者所擁有的付款方式。

function listByUser(options?: PaymentMethodsListByUserOptionalParams): PagedAsyncIterableIterator<PaymentMethod, PaymentMethod[], PageSettings>

參數

options
PaymentMethodsListByUserOptionalParams

選項參數。

傳回