Class ModernReservationTransactionProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.ModernReservationTransactionProperties
-
public final class ModernReservationTransactionProperties extends Object
The properties of a modern reservation transaction.
-
-
Constructor Summary
Constructors Constructor Description ModernReservationTransactionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
amount()
Get the amount property: The charge of the transaction.String
armSkuName()
Get the armSkuName property: This is the ARM Sku name.String
billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.String
billingProfileId()
Get the billingProfileId property: Billing profile Id.String
billingProfileName()
Get the billingProfileName property: Billing profile name.String
currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.String
description()
Get the description property: The description of the transaction.OffsetDateTime
eventDate()
Get the eventDate property: The date of the transaction.String
eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel, etc.).String
invoice()
Get the invoice property: Invoice Number.String
invoiceId()
Get the invoiceId property: Invoice Id as on the invoice where the specific transaction appears.String
invoiceSectionId()
Get the invoiceSectionId property: Invoice Section Id.String
invoiceSectionName()
Get the invoiceSectionName property: Invoice Section Name.UUID
purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.String
purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.BigDecimal
quantity()
Get the quantity property: The quantity of the transaction.String
region()
Get the region property: The region of the transaction.String
reservationOrderId()
Get the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase.String
reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.String
term()
Get the term property: This is the term of the transaction.void
validate()
Validates the instance.
-
-
-
Method Detail
-
amount
public BigDecimal amount()
Get the amount property: The charge of the transaction.- Returns:
- the amount value.
-
armSkuName
public String armSkuName()
Get the armSkuName property: This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.- Returns:
- the armSkuName value.
-
billingFrequency
public String billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.- Returns:
- the billingFrequency value.
-
billingProfileId
public String billingProfileId()
Get the billingProfileId property: Billing profile Id.- Returns:
- the billingProfileId value.
-
billingProfileName
public String billingProfileName()
Get the billingProfileName property: Billing profile name.- Returns:
- the billingProfileName value.
-
currency
public String currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.- Returns:
- the currency value.
-
description
public String description()
Get the description property: The description of the transaction.- Returns:
- the description value.
-
eventDate
public OffsetDateTime eventDate()
Get the eventDate property: The date of the transaction.- Returns:
- the eventDate value.
-
eventType
public String eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel, etc.).- Returns:
- the eventType value.
-
invoice
public String invoice()
Get the invoice property: Invoice Number.- Returns:
- the invoice value.
-
invoiceId
public String invoiceId()
Get the invoiceId property: Invoice Id as on the invoice where the specific transaction appears.- Returns:
- the invoiceId value.
-
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: Invoice Section Id.- Returns:
- the invoiceSectionId value.
-
invoiceSectionName
public String invoiceSectionName()
Get the invoiceSectionName property: Invoice Section Name.- Returns:
- the invoiceSectionName value.
-
purchasingSubscriptionGuid
public UUID purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.- Returns:
- the purchasingSubscriptionGuid value.
-
purchasingSubscriptionName
public String purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.- Returns:
- the purchasingSubscriptionName value.
-
quantity
public BigDecimal quantity()
Get the quantity property: The quantity of the transaction.- Returns:
- the quantity value.
-
region
public String region()
Get the region property: The region of the transaction.- Returns:
- the region value.
-
reservationOrderId
public String reservationOrderId()
Get the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.- Returns:
- the reservationOrderId value.
-
reservationOrderName
public String reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.- Returns:
- the reservationOrderName value.
-
term
public String term()
Get the term property: This is the term of the transaction.- Returns:
- the term value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-