@Override
    public Properties getOutputProperties(){
        Properties properties = new Properties();
        if(leftAccount!=null){
            properties.put(Balance.NAME1,leftAccount.getName());
            properties.put(Balance.AMOUNT1,leftAccount.getSaldo().toString());
        }
        if(rightAccount!=null){
            properties.put(Balance.NAME2,rightAccount.getName());
            properties.put(Balance.AMOUNT2, rightAccount.getSaldo().negate().toString());
        }
        return properties;
    }