ArmBillingModelFactory.BillingTransactionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingTransactionProperties.
public static Azure.ResourceManager.Billing.Models.BillingTransactionProperties BillingTransactionProperties (Azure.ResourceManager.Billing.Models.BillingAmount azureCreditApplied = default, string azurePlan = default, string billingCurrency = default, BinaryData billingProfileDisplayName = default, Azure.Core.ResourceIdentifier billingProfileId = default, Azure.ResourceManager.Billing.Models.BillingAmount consumptionCommitmentDecremented = default, string customerDisplayName = default, Azure.Core.ResourceIdentifier customerId = default, Azure.ResourceManager.Billing.Models.BillingTransactionCreditType? creditType = default, DateTimeOffset? on = default, float? discount = default, Azure.ResourceManager.Billing.Models.BillingAmount effectivePrice = default, float? exchangeRate = default, string invoice = default, Azure.Core.ResourceIdentifier invoiceId = default, string invoiceSectionDisplayName = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, bool? isThirdParty = default, Azure.ResourceManager.Billing.Models.BillingTransactionKind? kind = default, Azure.ResourceManager.Billing.Models.BillingAmount marketPrice = default, string partNumber = default, string pricingCurrency = default, string productDescription = default, string productFamily = default, string productTypeId = default, string productType = default, int? quantity = default, string reasonCode = default, DateTimeOffset? servicePeriodStartOn = default, DateTimeOffset? servicePeriodEndOn = default, Azure.ResourceManager.Billing.Models.BillingAmount subTotal = default, Azure.ResourceManager.Billing.Models.BillingAmount tax = default, Azure.ResourceManager.Billing.Models.BillingAmount transactionAmount = default, string transactionType = default, float? units = default, string unitOfMeasure = default, string unitType = default, Azure.ResourceManager.Billing.Models.SpecialTaxationType? specialTaxationType = default, Azure.ResourceManager.Billing.Models.RefundTransactionDetails refundTransactionDetails = default);
static member BillingTransactionProperties : Azure.ResourceManager.Billing.Models.BillingAmount * string * string * BinaryData * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Billing.Models.BillingAmount * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Billing.Models.BillingTransactionCreditType> * Nullable<DateTimeOffset> * Nullable<single> * Azure.ResourceManager.Billing.Models.BillingAmount * Nullable<single> * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<Azure.ResourceManager.Billing.Models.BillingTransactionKind> * Azure.ResourceManager.Billing.Models.BillingAmount * string * string * string * string * string * string * Nullable<int> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * string * Nullable<single> * string * string * Nullable<Azure.ResourceManager.Billing.Models.SpecialTaxationType> * Azure.ResourceManager.Billing.Models.RefundTransactionDetails -> Azure.ResourceManager.Billing.Models.BillingTransactionProperties
Public Shared Function BillingTransactionProperties (Optional azureCreditApplied As BillingAmount = Nothing, Optional azurePlan As String = Nothing, Optional billingCurrency As String = Nothing, Optional billingProfileDisplayName As BinaryData = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional consumptionCommitmentDecremented As BillingAmount = Nothing, Optional customerDisplayName As String = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional creditType As Nullable(Of BillingTransactionCreditType) = Nothing, Optional on As Nullable(Of DateTimeOffset) = Nothing, Optional discount As Nullable(Of Single) = Nothing, Optional effectivePrice As BillingAmount = Nothing, Optional exchangeRate As Nullable(Of Single) = Nothing, Optional invoice As String = Nothing, Optional invoiceId As ResourceIdentifier = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional isThirdParty As Nullable(Of Boolean) = Nothing, Optional kind As Nullable(Of BillingTransactionKind) = Nothing, Optional marketPrice As BillingAmount = Nothing, Optional partNumber As String = Nothing, Optional pricingCurrency As String = Nothing, Optional productDescription As String = Nothing, Optional productFamily As String = Nothing, Optional productTypeId As String = Nothing, Optional productType As String = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional reasonCode As String = Nothing, Optional servicePeriodStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional servicePeriodEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional subTotal As BillingAmount = Nothing, Optional tax As BillingAmount = Nothing, Optional transactionAmount As BillingAmount = Nothing, Optional transactionType As String = Nothing, Optional units As Nullable(Of Single) = Nothing, Optional unitOfMeasure As String = Nothing, Optional unitType As String = Nothing, Optional specialTaxationType As Nullable(Of SpecialTaxationType) = Nothing, Optional refundTransactionDetails As RefundTransactionDetails = Nothing) As BillingTransactionProperties
Parameters
- azureCreditApplied
- BillingAmount
The amount of any Azure credits automatically applied to this transaction.
- azurePlan
- String
Details of the Azure plan.
- billingCurrency
- String
The ISO 4217 code for the currency in which this transaction is billed.
- billingProfileDisplayName
- BinaryData
The name of the billing profile.
- billingProfileId
- ResourceIdentifier
The fully qualified ID that uniquely identifies a billing profile.
- consumptionCommitmentDecremented
- BillingAmount
The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction.
- customerDisplayName
- String
The name of the customer.
- customerId
- ResourceIdentifier
The fully qualified ID that uniquely identifies a customer.
- creditType
- Nullable<BillingTransactionCreditType>
The credit type of the transaction. Applies only to credited transactions.
The date of transaction.
- effectivePrice
- BillingAmount
The price of the product after applying any discounts.
The exchange rate used to convert charged amount to billing currency, if applicable.
- invoice
- String
Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed.
- invoiceId
- ResourceIdentifier
The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.
- invoiceSectionDisplayName
- String
The name of the invoice section.
- invoiceSectionId
- ResourceIdentifier
The fully qualified ID that uniquely identifies an invoice section.
Type of the transaction, billed or unbilled.
- marketPrice
- BillingAmount
The retail price of the product.
- partNumber
- String
The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices.
- pricingCurrency
- String
The ISO 4217 code for the currency in which the product is priced.
- productDescription
- String
The description of the product for which the transaction took place.
- productFamily
- String
The family of the product for which the transaction took place.
- productTypeId
- String
The ID of the product type for which the transaction took place.
- productType
- String
The type of the product for which the transaction took place.
- reasonCode
- String
There reason code for the transaction.
- servicePeriodStartOn
- Nullable<DateTimeOffset>
The date of the purchase of the product, or the start date of the month in which usage started.
- servicePeriodEndOn
- Nullable<DateTimeOffset>
The end date of the product term, or the end date of the month in which usage ended.
- subTotal
- BillingAmount
The pre-tax charged amount for the transaction.
- tax
- BillingAmount
The tax amount applied to the transaction.
- transactionAmount
- BillingAmount
The charge associated with the transaction.
- transactionType
- String
The type of transaction.
- unitOfMeasure
- String
The unit of measure used to bill for the product. For example, compute services are billed per hour.
- unitType
- String
The description for the unit of measure for a given product.
- specialTaxationType
- Nullable<SpecialTaxationType>
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.
- refundTransactionDetails
- RefundTransactionDetails
The refund details of a transaction.
Returns
A new BillingTransactionProperties instance for mocking.
Applies to
Azure SDK for .NET