make the class object here
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>20101101-0001</MsgId>
<CreDtTm>2025-06-04T18:30:07.2658269+00:00</CreDtTm>
<Authstn>
<Prtry>TEST</Prtry>
</Authstn>
<NbOfTxs>1</NbOfTxs>
<InitgPty>
<Nm>Bob A/S</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>PmtInfId-001</PmtInfId>
<PmtMtd>DD</PmtMtd>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<LclInstrm>
<Cd>CORE</Cd>
</LclInstrm>
<SeqTp>FRST</SeqTp>
</PmtTpInf>
<ReqdColltnDt>2025-06-04</ReqdColltnDt>
<Cdtr>
<Nm>Bob A/S</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>DK1030001234567890</IBAN>
</Id>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<BIC>DABADKKK</BIC>
</FinInstnId>
</CdtrAgt>
<CdtrSchmeId>
<Id>
<PrvtId>
<Othr>
<Id>DK67ZZZ300077777777</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</CdtrSchmeId>
<DrctDbtTxInf>
<PmtId>
<EndToEndId>20101101-5555-0001</EndToEndId>
</PmtId>
<InstdAmt Ccy="EUR">100</InstdAmt>
<DrctDbtTx>
<MndtRltdInf>
<MndtId>5555</MndtId>
<DtOfSgntr>2025-06-04</DtOfSgntr>
</MndtRltdInf>
</DrctDbtTx>
<DbtrAgt>
<FinInstnId>
<BIC>DABADKKK</BIC>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<Nm>Alice</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>DK3030000987654321</IBAN>
</Id>
</DbtrAcct>
<InstrForCdtrAgt>ALL</InstrForCdtrAgt>
<RmtInf>
<Ustrd>Magazine subscription</Ustrd>
</RmtInf>
</DrctDbtTxInf>
</PmtInf>
</CstmrDrctDbtInitn>
</Document>