次の方法で共有


BillingTransactionProperties Class

Definition

A transaction.

public class BillingTransactionProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingTransactionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingTransactionProperties>
type BillingTransactionProperties = class
    interface IJsonModel<BillingTransactionProperties>
    interface IPersistableModel<BillingTransactionProperties>
Public Class BillingTransactionProperties
Implements IJsonModel(Of BillingTransactionProperties), IPersistableModel(Of BillingTransactionProperties)
Inheritance
BillingTransactionProperties
Implements

Constructors

BillingTransactionProperties()

Initializes a new instance of BillingTransactionProperties.

Properties

AzureCreditApplied

The amount of any Azure credits automatically applied to this transaction.

AzurePlan

Details of the Azure plan.

BillingCurrency

The ISO 4217 code for the currency in which this transaction is billed.

BillingProfileDisplayName

The name of the billing profile.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

BillingProfileId

The fully qualified ID that uniquely identifies a billing profile.

ConsumptionCommitmentDecremented

The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction.

CreditType

The credit type of the transaction. Applies only to credited transactions.

CustomerDisplayName

The name of the customer.

CustomerId

The fully qualified ID that uniquely identifies a customer.

Discount

The percentage discount, if any, applied to this transaction.

EffectivePrice

The price of the product after applying any discounts.

ExchangeRate

The exchange rate used to convert charged amount to billing currency, if applicable.

Invoice

Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed.

InvoiceId

The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.

InvoiceSectionDisplayName

The name of the invoice section.

InvoiceSectionId

The fully qualified ID that uniquely identifies an invoice section.

IsThirdParty

Whether or not the transaction is third party.

Kind

Type of the transaction, billed or unbilled.

MarketPrice

The retail price of the product.

On

The date of transaction.

PartNumber

The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices.

PricingCurrency

The ISO 4217 code for the currency in which the product is priced.

ProductDescription

The description of the product for which the transaction took place.

ProductFamily

The family of the product for which the transaction took place.

ProductType

The type of the product for which the transaction took place.

ProductTypeId

The ID of the product type for which the transaction took place.

Quantity

The quantity purchased in the transaction.

ReasonCode

There reason code for the transaction.

RefundTransactionDetails

The refund details of a transaction.

ServicePeriodEndOn

The end date of the product term, or the end date of the month in which usage ended.

ServicePeriodStartOn

The date of the purchase of the product, or the start date of the month in which usage started.

SpecialTaxationType

Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.

SubTotal

The pre-tax charged amount for the transaction.

Tax

The tax amount applied to the transaction.

TransactionAmount

The charge associated with the transaction.

TransactionType

The type of transaction.

UnitOfMeasure

The unit of measure used to bill for the product. For example, compute services are billed per hour.

Units

The number of units used for a given product.

UnitType

The description for the unit of measure for a given product.

Explicit Interface Implementations

IJsonModel<BillingTransactionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingTransactionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingTransactionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingTransactionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingTransactionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to