AmountWithExchangeRate Class

public final class AmountWithExchangeRate
extends Amount

The amount with exchange rate.

Constructor Summary

Constructor Description
AmountWithExchangeRate()

Method Summary

Modifier and Type Method and 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.

Methods inherited from Amount

Methods inherited from java.lang.Object

Constructor Details

AmountWithExchangeRate

public AmountWithExchangeRate()

Method Details

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:

AmountWithExchangeRate.validate()

Applies to