Search in sources :

Example 1 with OriginalGroupHeader13

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;
}
Also used : OriginalGroupHeader13(com.forgerock.openbanking.common.model.openbanking.obie.pain00200109.OriginalGroupHeader13)

Aggregations

OriginalGroupHeader13 (com.forgerock.openbanking.common.model.openbanking.obie.pain00200109.OriginalGroupHeader13)1