LegacyReservationTransactionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. fluent. models. LegacyReservationTransactionProperties
- com.
Implements
public final class LegacyReservationTransactionProperties
implements JsonSerializable<LegacyReservationTransactionProperties>
The properties of a legacy reservation transaction.
Constructor Summary
| Constructor | Description |
|---|---|
| LegacyReservationTransactionProperties() |
Creates an instance of Legacy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
| String |
accountOwnerEmail()
Get the account |
|
Big |
amount()
Get the amount property: The charge of the transaction. |
| String |
armSkuName()
Get the arm |
| String |
billingFrequency()
Get the billing |
| Integer |
billingMonth()
Get the billing |
| String |
costCenter()
Get the cost |
| String |
currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD. |
| String |
currentEnrollment()
Get the current |
| String |
departmentName()
Get the department |
| String |
description()
Get the description property: The description of the transaction. |
|
Offset |
eventDate()
Get the event |
| String |
eventType()
Get the event |
|
static
Legacy |
fromJson(JsonReader jsonReader)
Reads an instance of Legacy |
|
Big |
monetaryCommitment()
Get the monetary |
|
Big |
overage()
Get the overage property: The overage amount at the enrollment scope. |
| String |
purchasingEnrollment()
Get the purchasing |
| 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 |
| String |
term()
Get the term property: This is the term of the transaction. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
LegacyReservationTransactionProperties
public LegacyReservationTransactionProperties()
Creates an instance of LegacyReservationTransactionProperties class.
Method Details
accountName
public String accountName()
Get the accountName property: The name of the account that makes the transaction.
Returns:
accountOwnerEmail
public String accountOwnerEmail()
Get the accountOwnerEmail property: The email of the account owner that makes the transaction.
Returns:
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:
billingMonth
public Integer billingMonth()
Get the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center of this department if it is a department and a cost center is provided.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.
Returns:
currentEnrollment
public String currentEnrollment()
Get the currentEnrollment property: The current enrollment.
Returns:
departmentName
public String departmentName()
Get the departmentName property: The department name.
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 LegacyReservationTransactionProperties fromJson(JsonReader jsonReader)
Reads an instance of LegacyReservationTransactionProperties from the JsonReader.
Parameters:
Returns:
Throws:
monetaryCommitment
public BigDecimal monetaryCommitment()
Get the monetaryCommitment property: The monetary commitment amount at the enrollment scope.
Returns:
overage
public BigDecimal overage()
Get the overage property: The overage amount at the enrollment scope.
Returns:
purchasingEnrollment
public String purchasingEnrollment()
Get the purchasingEnrollment property: The purchasing enrollment.
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:
term
public String term()
Get the term property: This is the term of the transaction.
Returns:
toJson
validate
public void validate()
Validates the instance.