|Constructor and Description|
Create a single deterministic cashflow at a fixed time.
|Modifier and Type||Method and Description|
Return the valuation of the product using the given model.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Cashflow(String currency, double flowAmount, double flowDate, boolean isPayer, String discountCurveName)
currency- The currency.
flowAmount- The amount of the cash flow.
flowDate- The flow date.
isPayer- If true, this cash flow will be multiplied by -1 prior valuation.
discountCurveName- Name of the discount curve for the cashflow.
public RandomVariableInterface getValue(double evaluationTime, AnalyticModelInterface model)
Copyright © 2017. All rights reserved.