class CmsLeg implements Resolvable<ResolvedCmsLeg>, ImmutableBean, Serializable {

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

  @ImmutableConstructor private  CmsLeg(
      PayReceive payReceive,
      PeriodicSchedule paymentSchedule,
      DaysAdjustment paymentDateOffset,
      Currency currency,
      ValueSchedule notional,
      SwapIndex index,
      FixingRelativeTo fixingRelativeTo,
      DaysAdjustment fixingDateOffset,
      DayCount dayCount,
      ValueSchedule capSchedule,
      ValueSchedule floorSchedule);

}