ModernReservationTransactionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. models. ReservationTransactionResource - com.
azure. resourcemanager. consumption. fluent. models. ModernReservationTransactionInner
- com.
- com.
- com.
public final class ModernReservationTransactionInner
extends ReservationTransactionResource
Modern Reservation transaction resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ModernReservationTransactionInner() |
Creates an instance of Modern |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Big |
amount()
Get the amount property: The charge of the transaction. |
| String |
armSkuName()
Get the arm |
| String |
billingFrequency()
Get the billing |
| String |
billingProfileId()
Get the billing |
| String |
billingProfileName()
Get the billing |
| 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. |
|
Offset |
eventDate()
Get the event |
| String |
eventType()
Get the event |
|
static
Modern |
fromJson(JsonReader jsonReader)
Reads an instance of Modern |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
invoice()
Get the invoice property: Invoice Number. |
| String |
invoiceId()
Get the invoice |
| String |
invoiceSectionId()
Get the invoice |
| String |
invoiceSectionName()
Get the invoice |
| String |
name()
Get the name property: The name of the resource. |
| UUID |
purchasingSubscriptionGuid()
Get the purchasing |
| String |
purchasingSubscriptionName()
Get the purchasing |
|
Big |
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 reservation |
| String |
reservationOrderName()
Get the reservation |
| List<String> |
tags()
Get the tags property: Resource tags. |
| String |
term()
Get the term property: This is the term of the transaction. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ReservationTransactionResource
Methods inherited from java.lang.Object
Constructor Details
ModernReservationTransactionInner
public ModernReservationTransactionInner()
Creates an instance of ModernReservationTransactionInner class.
Method Details
amount
public BigDecimal amount()
Get the amount property: The charge of the transaction.
Returns:
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:
billingFrequency
public String billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: Billing profile Id.
Returns:
billingProfileName
public String billingProfileName()
Get the billingProfileName property: Billing profile name.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.
Returns:
description
public String description()
Get the description property: The description of the transaction.
Returns:
eventDate
public OffsetDateTime eventDate()
Get the eventDate property: The date of the transaction.
Returns:
eventType
public String eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel or Refund).
Returns:
fromJson
public static ModernReservationTransactionInner fromJson(JsonReader jsonReader)
Reads an instance of ModernReservationTransactionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ModernReservationTransactionInner.id()Returns:
invoice
public String invoice()
Get the invoice property: Invoice Number.
Returns:
invoiceId
public String invoiceId()
Get the invoiceId property: Invoice Id as on the invoice where the specific transaction appears.
Returns:
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: Invoice Section Id.
Returns:
invoiceSectionName
public String invoiceSectionName()
Get the invoiceSectionName property: Invoice Section Name.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ModernReservationTransactionInner.name()Returns:
purchasingSubscriptionGuid
public UUID purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.
Returns:
purchasingSubscriptionName
public String purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.
Returns:
quantity
public BigDecimal quantity()
Get the quantity property: The quantity of the transaction.
Returns:
region
public String region()
Get the region property: The region of the transaction.
Returns:
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:
reservationOrderName
public String reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.
Returns:
tags
public List<String> tags()
Get the tags property: Resource tags.
Overrides:
ModernReservationTransactionInner.tags()Returns:
term
public String term()
Get the term property: This is the term of the transaction.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ModernReservationTransactionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ModernReservationTransactionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ModernReservationTransactionInner.validate()