use of com.forgerock.openbanking.common.model.openbanking.obie.pain00200109.GroupHeader74 in project openbanking-aspsp by OpenBankingToolkit.
the class OBIEPainXmlReport1Builder method toReportGrpHeader.
private static GroupHeader74 toReportGrpHeader(com.forgerock.openbanking.common.model.openbanking.obie.pain001.Document paymentInitiationDocument) {
GroupHeader48 consentGrpHdr = paymentInitiationDocument.getCstmrCdtTrfInitn().getGrpHdr();
GroupHeader74 reportGrpHdr = new GroupHeader74();
reportGrpHdr.setMsgId(UUID.randomUUID().toString());
reportGrpHdr.setCreDtTm(consentGrpHdr.getCreDtTm());
log.debug("Mapped payment file group header {} into report file group header: {}", consentGrpHdr, reportGrpHdr);
return reportGrpHdr;
}
Aggregations