use of com.github.robozonky.api.strategies.PortfolioOverview in project robozonky by RoboZonky.
the class AbstractEmailingListener method getData.
protected Map<String, Object> getData(final T event) {
final Map<String, Object> result = new UnifiedMap<>(getBaseData(event));
if (event instanceof Financial) {
final PortfolioOverview portfolioOverview = ((Financial) event).getPortfolioOverview();
result.put("portfolio", Util.summarizePortfolioStructure(portfolioOverview));
}
return result;
}
Aggregations