use of com.forgerock.openbanking.common.model.openbanking.obie.pain00200109.OriginalGroupHeader13 in project openbanking-aspsp by OpenBankingToolkit.
the class OBIEPainXmlReport1Builder method toOrgnlGrpInfAndSts.
private static OriginalGroupHeader13 toOrgnlGrpInfAndSts(com.forgerock.openbanking.common.model.openbanking.obie.pain001.Document paymentInitiationDocument) {
OriginalGroupHeader13 orgnlGrpInfAndSts = new OriginalGroupHeader13();
orgnlGrpInfAndSts.setOrgnlMsgId(paymentInitiationDocument.getCstmrCdtTrfInitn().getGrpHdr().getMsgId());
orgnlGrpInfAndSts.setOrgnlMsgNmId(REPORT_MESSAGE_TYPE);
log.debug("Mapped payment file group header {} into report file OrgnlGrpInfAndSts: {}", paymentInitiationDocument.getCstmrCdtTrfInitn().getGrpHdr(), orgnlGrpInfAndSts);
return orgnlGrpInfAndSts;
}
Aggregations