| Package | Description |
|---|---|
| com.opengamma.strata.basics.currency |
Representations of currency and money.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FxMatrix
A matrix of foreign exchange rates.
|
class |
FxRate
A single foreign exchange rate between two currencies, such as 'EUR/USD 1.25'.
|
| Modifier and Type | Method and Description |
|---|---|
static FxRateProvider |
FxRateProvider.lazy(Supplier<FxRateProvider> target)
Returns an
FxRateProvider that delays fetching its underlying provider
until actually necessary. |
static FxRateProvider |
FxRateProvider.minimal()
Returns a provider that provides minimal behavior.
|
static FxRateProvider |
FxRateProvider.noConversion()
Returns a provider that always throws an exception.
|
| Modifier and Type | Method and Description |
|---|---|
Payment |
Payment.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this payment to an equivalent payment in the specified currency.
|
CurrencyAmountArray |
MultiCurrencyAmountArray.convertedTo(Currency resultCurrency,
FxRateProvider fxRateProvider) |
CurrencyAmount |
MultiCurrencyAmount.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this amount to an equivalent amount the specified currency.
|
Money |
Money.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this amount to an equivalent amount in the specified currency.
|
R |
FxConvertible.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this instance to an equivalent amount in the specified currency.
|
CurrencyAmountArray |
CurrencyAmountArray.convertedTo(Currency resultCurrency,
FxRateProvider fxRateProvider) |
CurrencyAmount |
CurrencyAmount.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this amount to an equivalent amount in the specified currency.
|
BigMoney |
BigMoney.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this amount to an equivalent amount in the specified currency.
|
| Modifier and Type | Method and Description |
|---|---|
static FxRateProvider |
FxRateProvider.lazy(Supplier<FxRateProvider> target)
Returns an
FxRateProvider that delays fetching its underlying provider
until actually necessary. |
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.