String startDate = formatDay.print(accountingEventPaymentCode.getStartDate()) + " 00:00";
String endDate = formatDay.print(accountingEventPaymentCode.getEndDate()) + " 23:59";
String entity = accountingEventPaymentCode.getEntityCode();
String reference = accountingEventPaymentCode.getFormattedCode();
String amount = accountingEventPaymentCode.getMinAmount().getAmountAsString();
notPayed.add(new PendingEvent(description, new FenixPeriod(startDate, endDate), entity, reference, amount));
}
}
return new FenixPayment(payed, notPayed);
}