class MultiCurrencyAmount implements FxConvertible<CurrencyAmount>, ImmutableBean, Serializable {

  public static MultiCurrencyAmount total(Iterable<CurrencyAmount> amounts) {
    ArgChecker.notNull(amounts, "amounts");
    return Guavate.stream(amounts).collect(toMultiCurrencyAmount());
  }

  private  MultiCurrencyAmount(ImmutableSortedSet<CurrencyAmount> amounts);
  private  MultiCurrencyAmount(
      SortedSet<CurrencyAmount> amounts);

}