TransactionPropertiesEffectivePrice Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Amount - com.
azure. resourcemanager. billing. models. TransactionPropertiesEffectivePrice
- com.
- com.
public final class TransactionPropertiesEffectivePrice
extends Amount
The price of the product after applying any discounts.
Constructor Summary
| Constructor | Description |
|---|---|
| TransactionPropertiesEffectivePrice() |
Creates an instance of Transaction |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
currency()
Get the currency property: The currency for the amount value. |
|
static
Transaction |
fromJson(JsonReader jsonReader)
Reads an instance of Transaction |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Float |
value()
Get the value property: The amount value. |
Methods inherited from Amount
Methods inherited from java.lang.Object
Constructor Details
TransactionPropertiesEffectivePrice
public TransactionPropertiesEffectivePrice()
Creates an instance of TransactionPropertiesEffectivePrice class.
Method Details
currency
public String currency()
Get the currency property: The currency for the amount value.
Overrides:
TransactionPropertiesEffectivePrice.currency()Returns:
fromJson
public static TransactionPropertiesEffectivePrice fromJson(JsonReader jsonReader)
Reads an instance of TransactionPropertiesEffectivePrice from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TransactionPropertiesEffectivePrice.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
TransactionPropertiesEffectivePrice.validate()value
public Float value()
Get the value property: The amount value. For example, if the currency is USD, then a value of 600 would be $600.00.
Overrides:
TransactionPropertiesEffectivePrice.value()Returns: