共用方式為


ArmBillingModelFactory.BillingTransactionSummary Method

Definition

Initializes a new instance of BillingTransactionSummary.

public static Azure.ResourceManager.Billing.Models.BillingTransactionSummary BillingTransactionSummary (float? azureCreditApplied = default, string billingCurrency = default, float? consumptionCommitmentDecremented = default, float? subTotal = default, float? tax = default, float? total = default);
static member BillingTransactionSummary : Nullable<single> * string * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<single> -> Azure.ResourceManager.Billing.Models.BillingTransactionSummary
Public Shared Function BillingTransactionSummary (Optional azureCreditApplied As Nullable(Of Single) = Nothing, Optional billingCurrency As String = Nothing, Optional consumptionCommitmentDecremented As Nullable(Of Single) = Nothing, Optional subTotal As Nullable(Of Single) = Nothing, Optional tax As Nullable(Of Single) = Nothing, Optional total As Nullable(Of Single) = Nothing) As BillingTransactionSummary

Parameters

azureCreditApplied
Nullable<Single>

The total amount of any Azure credits applied.

billingCurrency
String

The ISO 4217 code for the currency in which the transactions are billed.

consumptionCommitmentDecremented
Nullable<Single>

The total Microsoft Azure Consumption Commitment (MACC) decrement through the invoice.

subTotal
Nullable<Single>

The total pre-tax charged amount.

tax
Nullable<Single>

The total tax amount applied.

total
Nullable<Single>

The total charges.

Returns

A new BillingTransactionSummary instance for mocking.

Applies to