use of org.kuali.kfs.sys.batch.FlatFileTransactionInformation in project cu-kfs by CU-CommunityApps.
the class AdvanceDepositServiceImpl method copyAllMessage.
private void copyAllMessage(Object parsedObject, PhysicalFlatFileInformation physicalFlatFileInformation) {
List<AchIncomeFile> achIncomeFiles = (List<AchIncomeFile>) parsedObject;
for (AchIncomeFile achIncomeFile : achIncomeFiles) {
FlatFileInformation fileInformation = new FlatFileInformation();
FlatFileTransactionInformation information = achIncomeFile.getFlatFileTransactionInformation();
fileInformation.getOrAddFlatFileData(achIncomeFile.getInterchangeControlNumber(), information);
fileInformation.addFileInfoMessage(achIncomeFile.getEmailMessageText());
physicalFlatFileInformation.getFlatFileInfomationList().add(fileInformation);
}
}
Aggregations