|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.accpac.sm.CurrencyRate
@Immutable @ThreadSafe public final class CurrencyRate
Represents a currency exchange rate
An object of this class can be obtained from DBLink object's
getCurrencyRate(...)
,
getCurrencyRateComposite(...)
and
getCurrencyRateFloating(...)
methods.
The object is immutable and reflects the state of the data when the method
was called.
Nested Class Summary | |
---|---|
static class |
CurrencyRate.Operator
Defines the operator that should be used when performing currency exchange calculations |
Method Summary | |
---|---|
Currency.DateMatch |
getDateMatch()
Gets the date matching method used to determine the exchange rate |
java.lang.String |
getHomeCurrency()
Gets the code of the home currency |
java.math.BigDecimal |
getRate()
Gets the currency exchange rate |
java.util.Date |
getRateDate()
Gets the effective date of the rate |
CurrencyRate.Operator |
getRateOperator()
Gets the operator that should be used to on the exchange rate and currency amount when performing exchange calculations |
java.lang.String |
getRateType()
Gets the code of the rate type |
java.lang.String |
getSourceCurrency()
Gets the code of the source currency |
java.math.BigDecimal |
getSpread()
Gets the allowed difference between the given rate and any user-entered rate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Currency.DateMatch getDateMatch()
public java.lang.String getHomeCurrency()
public java.math.BigDecimal getRate()
public java.util.Date getRateDate()
public CurrencyRate.Operator getRateOperator()
public java.lang.String getRateType()
public java.lang.String getSourceCurrency()
public java.math.BigDecimal getSpread()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |