class DiscountingFixedCouponBondProductPricer {

  public double accruedInterest(ResolvedFixedCouponBond bond, LocalDate settlementDate) {
    double notional = bond.getNotional();
    return accruedYearFraction(bond, settlementDate) * bond.getFixedRate() * notional;
  }

  public  DiscountingFixedCouponBondProductPricer(
      DiscountingFixedCouponBondPaymentPeriodPricer periodPricer,
      DiscountingPaymentPricer nominalPricer);

}