Transactions interface
表示交易的介面。
方法
方法詳細資料
beginTransactionsDownloadByInvoice(string, string, TransactionsTransactionsDownloadByInvoiceOptionalParams)
取得 URL 以下載發票的交易檔。 合約類型為 Enterprise 合約的計費帳戶支援此作業。
function beginTransactionsDownloadByInvoice(billingAccountName: string, invoiceName: string, options?: TransactionsTransactionsDownloadByInvoiceOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
beginTransactionsDownloadByInvoiceAndWait(string, string, TransactionsTransactionsDownloadByInvoiceOptionalParams)
取得 URL 以下載發票的交易檔。 合約類型為 Enterprise 合約的計費帳戶支援此作業。
function beginTransactionsDownloadByInvoiceAndWait(billingAccountName: string, invoiceName: string, options?: TransactionsTransactionsDownloadByInvoiceOptionalParams): Promise<DocumentDownloadResult>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<DocumentDownloadResult>
getTransactionSummaryByInvoice(string, string, TransactionsGetTransactionSummaryByInvoiceOptionalParams)
取得發票的交易摘要。 交易包括購買、退款和 Azure 使用量費用。
function getTransactionSummaryByInvoice(billingAccountName: string, invoiceName: string, options?: TransactionsGetTransactionSummaryByInvoiceOptionalParams): Promise<TransactionSummary>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<TransactionSummary>
listByBillingProfile(string, string, Date, Date, string, TransactionsListByBillingProfileOptionalParams)
依指定開始和結束日期的帳單配置檔名稱列出計費或未計費的交易。 交易包括購買、退款和 Azure 使用量費用。 未計費的交易列在擱置的發票標識符下,且不包含稅金。 一旦產生發票,稅金就會新增至金額。
function listByBillingProfile(billingAccountName: string, billingProfileName: string, periodStartDate: Date, periodEndDate: Date, typeParam: string, options?: TransactionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Transaction, Transaction[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
- periodStartDate
-
Date
要擷取交易的開始日期。 日期應以MM-DD-YYYY 格式指定。
- periodEndDate
-
Date
要擷取交易的結束日期。 日期應以MM-DD-YYYY 格式指定。
- typeParam
-
string
交易的類型。
選項參數。
傳回
listByCustomer(string, string, string, Date, Date, string, TransactionsListByCustomerOptionalParams)
針對指定的開始日期和結束日期,依客戶標識符列出已計費或未計費的交易。 交易包括購買、退款和 Azure 使用量費用。 未計費的交易列在擱置的發票標識符下,且不包含稅金。 一旦產生發票,稅金就會新增至金額。
function listByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, periodStartDate: Date, periodEndDate: Date, typeParam: string, options?: TransactionsListByCustomerOptionalParams): PagedAsyncIterableIterator<Transaction, Transaction[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
- customerName
-
string
可唯一識別客戶的標識碼。
- periodStartDate
-
Date
要擷取交易的開始日期。 日期應以MM-DD-YYYY 格式指定。
- periodEndDate
-
Date
要擷取交易的結束日期。 日期應以MM-DD-YYYY 格式指定。
- typeParam
-
string
交易的類型。
選項參數。
傳回
listByInvoice(string, string, TransactionsListByInvoiceOptionalParams)
列出發票的交易。 交易包括購買、退款和 Azure 使用量費用。
function listByInvoice(billingAccountName: string, invoiceName: string, options?: TransactionsListByInvoiceOptionalParams): PagedAsyncIterableIterator<Transaction, Transaction[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
listByInvoiceSection(string, string, string, Date, Date, string, TransactionsListByInvoiceSectionOptionalParams)
針對指定的開始日期和結束日期,依發票區段名稱列出已計費或未計費的交易。 交易包括購買、退款和 Azure 使用量費用。 未計費的交易列在擱置的發票標識符下,且不包含稅金。 一旦產生發票,稅金就會新增至金額。
function listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, periodStartDate: Date, periodEndDate: Date, typeParam: string, options?: TransactionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<Transaction, Transaction[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
- invoiceSectionName
-
string
可唯一識別發票區段的標識碼。
- periodStartDate
-
Date
要擷取交易的開始日期。 日期應以MM-DD-YYYY 格式指定。
- periodEndDate
-
Date
要擷取交易的結束日期。 日期應以MM-DD-YYYY 格式指定。
- typeParam
-
string
交易的類型。
選項參數。