getEntryTypeForPayment(entryDTO.getAmountToPay()), entryDTO.getAmountToPay(),
getEntryType(), entryDTO.getAmountToPay(),
    protected Set<AccountingTransaction> internalProcess(User user, List<EntryDTO> entryDTOs,	    PaymentMode paymentMode, DateTime whenRegistered, Event event, Account fromAccount,	    Account toAccount) {	if (entryDTOs.size() != 1) {	    throw new DomainException(		    "error.accounting.postingRules.gratuity.DFAGratuityPR.invalid.number.of.entryDTOs");	}	final EntryDTO entryDTO = entryDTOs.get(0);	checkIfCanAddAmount(entryDTO.getAmountToPay(), event, whenRegistered);	return Collections.singleton(makeAccountingTransaction(user, event, fromAccount, toAccount,		getEntryTypeForPayment(entryDTO.getAmountToPay()), entryDTO.getAmountToPay(),		paymentMode, whenRegistered));    }