Uses of Class
com.opengamma.strata.market.amount.CashFlow
-
Packages that use CashFlow Package Description com.opengamma.strata.market.amount Defines representations of amounts typically used as result types. -
-
Uses of CashFlow in com.opengamma.strata.market.amount
Methods in com.opengamma.strata.market.amount that return CashFlow Modifier and Type Method 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 aCashFlow
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 aCashFlow
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 aCashFlow
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 aCashFlow
representing a single cash flow from payment date, present value amount, discount factor and currency.Methods in com.opengamma.strata.market.amount that return types with arguments of type CashFlow Modifier and Type Method 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 thecashFlows
property.ImmutableList<CashFlow>
CashFlows. getCashFlows()
Gets the cash flows.Methods in com.opengamma.strata.market.amount with parameters of type CashFlow Modifier and Type Method 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.Method parameters in com.opengamma.strata.market.amount with type arguments of type CashFlow Modifier and Type Method Description static CashFlows
CashFlows. of(List<CashFlow> cashFlows)
Obtains an instance from a list of cash flows.
-