| Package | Description |
|---|---|
| com.opengamma.strata.market.amount |
Defines representations of amounts typically used as result types.
|
| Modifier and Type | Method and Description |
|---|---|
CashFlow |
CashFlow.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider)
Converts this cash flow to an equivalent amount in the specified currency.
|
CashFlow |
CashFlows.getCashFlow(int index)
Gets the cash flow by index.
|
static CashFlow |
CashFlow.ofForecastValue(LocalDate paymentDate,
CurrencyAmount forecastValue,
double discountFactor)
Creates a
CashFlow representing a single cash flow from
payment date, forecast value and discount factor. |
static CashFlow |
CashFlow.ofForecastValue(LocalDate paymentDate,
Currency currency,
double forecastValue,
double discountFactor)
Creates a
CashFlow representing a single cash flow from payment date, forecast value amount,
discount factor and currency. |
static CashFlow |
CashFlow.ofPresentValue(LocalDate paymentDate,
CurrencyAmount presentValue,
double discountFactor)
Creates a
CashFlow representing a single cash flow from
payment date, present value and discount factor. |
static CashFlow |
CashFlow.ofPresentValue(LocalDate paymentDate,
Currency currency,
double presentValue,
double discountFactor)
Creates a
CashFlow representing a single cash flow from payment date, present value amount,
discount factor and currency. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CashFlow> |
CashFlow.Meta.beanType() |
org.joda.beans.BeanBuilder<? extends CashFlow> |
CashFlow.Meta.builder() |
org.joda.beans.MetaProperty<ImmutableList<CashFlow>> |
CashFlows.Meta.cashFlows()
The meta-property for the
cashFlows property. |
ImmutableList<CashFlow> |
CashFlows.getCashFlows()
Gets the cash flows.
|
| Modifier and Type | Method and Description |
|---|---|
CashFlows |
CashFlows.combinedWith(CashFlow cashFlow)
Combines this cash flows instance with another cash flow.
|
int |
CashFlow.compareTo(CashFlow other)
Compares this cash flow to another, first by date, then value.
|
static CashFlows |
CashFlows.of(CashFlow cashFlow)
Obtains an instance from a single cash flow.
|
| Modifier and Type | Method and Description |
|---|---|
static CashFlows |
CashFlows.of(List<CashFlow> cashFlows)
Obtains an instance from a list of cash flows.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.