class CurrencyAmount implements ImmutableBean, Serializable {

  public static CurrencyAmount of(final Currency currency, final double amount) {
    return new CurrencyAmount(currency, amount);
  }

  @ImmutableConstructor private  CurrencyAmount(final Currency currency, final double amount);

}