Class AmountWithExchangeRate
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.Amount
-
- com.azure.resourcemanager.consumption.models.AmountWithExchangeRate
-
public final class AmountWithExchangeRate extends Amount
The amount with exchange rate.
-
-
Constructor Summary
Constructors Constructor Description AmountWithExchangeRate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
exchangeRate()
Get the exchangeRate property: The exchange rate.Integer
exchangeRateMonth()
Get the exchangeRateMonth property: The exchange rate month.void
validate()
Validates the instance.
-
-
-
Method Detail
-
exchangeRate
public BigDecimal exchangeRate()
Get the exchangeRate property: The exchange rate.- Returns:
- the exchangeRate value.
-
exchangeRateMonth
public Integer exchangeRateMonth()
Get the exchangeRateMonth property: The exchange rate month.- Returns:
- the exchangeRateMonth value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAmount
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-