TransactionPropertiesTax Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Amount - com.
azure. resourcemanager. billing. models. TransactionPropertiesTax
- com.
- com.
public final class TransactionPropertiesTax
extends Amount
The tax amount applied to the transaction.
Constructor Summary
| Constructor | Description |
|---|---|
| TransactionPropertiesTax() |
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
TransactionPropertiesTax
public TransactionPropertiesTax()
Creates an instance of TransactionPropertiesTax class.
Method Details
currency
public String currency()
Get the currency property: The currency for the amount value.
Overrides:
TransactionPropertiesTax.currency()Returns:
fromJson
public static TransactionPropertiesTax fromJson(JsonReader jsonReader)
Reads an instance of TransactionPropertiesTax from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TransactionPropertiesTax.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
TransactionPropertiesTax.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:
TransactionPropertiesTax.value()Returns: