Transaction Class

Definition

A transaction.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Transaction : Microsoft.Azure.Management.Billing.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Transaction = class
    inherit Resource
Public Class Transaction
Inherits Resource
Inheritance
Transaction
Attributes

Constructors

Transaction()

Initializes a new instance of the Transaction class.

Transaction(String, String, String, String, Nullable<DateTime>, String, String, String, String, String, String, String, String, String, Amount, Nullable<Int32>, String, String, String, String, String, String, String, String, String, Amount, String, Nullable<Double>, Amount, Nullable<Double>, Amount, String, Nullable<DateTime>, Nullable<DateTime>, Amount, Amount, String, Nullable<Double>, String)

Initializes a new instance of the Transaction class.

Properties

AzureCreditApplied

Gets the amount of any Azure credits automatically applied to this transaction.

AzurePlan

Gets the type of azure plan of the subscription that was used for the transaction.

BillingCurrency

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

BillingProfileDisplayName

Gets the name of the billing profile which will be billed for the transaction.

BillingProfileId

Gets the ID of the billing profile which will be billed for the transaction.

CustomerDisplayName

Gets the name of the customer for which the transaction took place. The field is applicable only for Microsoft Partner Agreement billing account.

CustomerId

Gets the ID of the customer for which the transaction took place. The field is applicable only for Microsoft Partner Agreement billing account.

Date

Gets the date of transaction.

Discount

Gets the percentage discount, if any, applied to this transaction.

EffectivePrice

Gets the price of the product after applying any discounts.

ExchangeRate

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

Id

Gets resource Id.

(Inherited from Resource)
Invoice

Gets invoice on which the transaction was billed or 'pending' if the transaction is not billed.

InvoiceId

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

InvoiceSectionDisplayName

Gets the name of the invoice section which will be billed for the transaction.

InvoiceSectionId

Gets the ID of the invoice section which will be billed for the transaction.

Kind

Gets or sets the kind of transaction. Options are all or reservation. Possible values include: 'all', 'reservation'

MarketPrice

Gets the retail price of the product.

Name

Gets resource name.

(Inherited from Resource)
OrderId

Gets the order ID of the reservation. The field is only applicable for transaction of kind reservation.

OrderName

Gets the name of the reservation order. The field is only applicable for transactions of kind reservation.

PricingCurrency

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

ProductDescription

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

ProductFamily

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

ProductType

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

ProductTypeId

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

Quantity

Gets the quantity purchased in the transaction.

ServicePeriodEndDate

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

ServicePeriodStartDate

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

SubscriptionId

Gets the ID of the subscription that was used for the transaction. The field is only applicable for transaction of kind reservation.

SubscriptionName

Gets the name of the subscription that was used for the transaction. The field is only applicable for transaction of kind reservation.

SubTotal

Gets the pre-tax charged amount for the transaction.

Tax

Gets the tax amount applied to the transaction.

TransactionAmount

Gets the charge associated with the transaction.

TransactionType

Gets or sets the type of transaction. Possible values include: 'Purchase', 'Usage Charge'

Type

Gets resource type.

(Inherited from Resource)
UnitOfMeasure

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

Units

Gets the number of units used for a given product.

UnitType

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

Applies to