class SummarizerUtils {

  public static PortfolioItemSummary summary(Position position, ProductType type, String description, Currency... currencies) {
    return PortfolioItemSummary.of(
        position.getId().orElse(null), PortfolioItemType.POSITION, type, ImmutableSet.copyOf(currencies), description);
  }

  private  SummarizerUtils();

}