class DiscountingCapitalIndexedBondPaymentPeriodPricer {

  public double presentValue(
      CapitalIndexedBondPaymentPeriod period,
      RatesProvider ratesProvider,
      IssuerCurveDiscountFactors issuerDiscountFactors) {

    double df = issuerDiscountFactors.discountFactor(period.getPaymentDate());
    return df * forecastValue(period, ratesProvider);
  }

  public  DiscountingCapitalIndexedBondPaymentPeriodPricer(RateComputationFn<RateComputation> rateComputationFn);

}