class FixedCouponBondPaymentPeriod implements BondPaymentPeriod, ImmutableBean, Serializable {

  public static FixedCouponBondPaymentPeriod.Builder builder() {
    return new FixedCouponBondPaymentPeriod.Builder();
  }

  @ImmutableConstructor private  FixedCouponBondPaymentPeriod(
      Currency currency,
      double notional,
      LocalDate startDate,
      LocalDate endDate,
      LocalDate unadjustedStartDate,
      LocalDate unadjustedEndDate,
      LocalDate detachmentDate,
      double fixedRate,
      double yearFraction);

}