class LegAmounts implements FxConvertible<LegAmounts>, ImmutableBean, Serializable {

  public static LegAmounts of(List<LegAmount> amounts) {
    return new LegAmounts(amounts);
  }

  private  LegAmounts(
      List<LegAmount> amounts);

}