// Null checks for mandatory fields
if (recipient.getRecipientName() == null) {
missingFields.addMissingField("recipientName", "The name of the recipient must be provided");
}
if (recipient.getRecipientODSCode() == null) {
missingFields.addMissingField("recipientODSCode", "The ODS Code for the organisation of the recipient must be provided");
}
if (recipient.getRecipientOrganisationName() == null) {
missingFields.addMissingField("recipientOrganisationName", "The organisation name for the recipient must be provided");
}
if (missingFields.hasEntries()) {