}
}
} else if (!StringUtils.isEmpty(searchParameters.getPaymentCode())) {
persons = new ArrayList<Person>();
PaymentCode paymentCode = PaymentCode.readByCode(searchParameters.getPaymentCode());
if (paymentCode != null && paymentCode.getPerson() != null) {
persons.add(paymentCode.getPerson());
}
} else {
persons = new ArrayList<Person>(0);
}