class Account {

    public BigDecimal balance() {
        return activities.stream()
                .map(AccountActivity::getAmount)
                .reduce(initialBalance, BigDecimal::add);
    }

    public  Account(String number, BigDecimal initialBalance);

}