class CmsPeriod implements ImmutableBean, Serializable {

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

  @ImmutableConstructor private  CmsPeriod(
      Currency currency,
      double notional,
      LocalDate startDate,
      LocalDate endDate,
      LocalDate unadjustedStartDate,
      LocalDate unadjustedEndDate,
      double yearFraction,
      LocalDate paymentDate,
      LocalDate fixingDate,
      Double caplet,
      Double floorlet,
      DayCount dayCount,
      SwapIndex index,
      ResolvedSwap underlyingSwap);

}