Last active
November 10, 2025 13:06
-
-
Save stephanhuewe/10a99cbf762b32c7e43ee69e3ceb96c4 to your computer and use it in GitHub Desktop.
Camt.052.001.08 C# Serialized Class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Xml.Serialization; | |
| using System.Collections.Generic; | |
| [XmlRoot(ElementName = "Document", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Document | |
| { | |
| [XmlElement(ElementName = "BkToCstmrAcctRpt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public BkToCstmrAcctRpt BkToCstmrAcctRpt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "BkToCstmrAcctRpt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class BkToCstmrAcctRpt | |
| { | |
| [XmlElement(ElementName = "GrpHdr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public GrpHdr GrpHdr { get; set; } | |
| [XmlElement(ElementName = "Rpt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Rpt Rpt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "GrpHdr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class GrpHdr | |
| { | |
| [XmlElement(ElementName = "MsgId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string MsgId { get; set; } | |
| [XmlElement(ElementName = "CreDtTm", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public DateTime CreDtTm { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Rpt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Rpt | |
| { | |
| [XmlElement(ElementName = "Id", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Id { get; set; } | |
| [XmlElement(ElementName = "RptPgntn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public RptPgntn RptPgntn { get; set; } | |
| [XmlElement(ElementName = "CreDtTm", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public DateTime CreDtTm { get; set; } | |
| [XmlElement(ElementName = "Acct", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Acct Acct { get; set; } | |
| [XmlElement(ElementName = "Bal", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public List<Bal> Bal { get; set; } | |
| [XmlElement(ElementName = "Ntry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public List<Ntry> Ntry { get; set; } | |
| } | |
| [XmlRoot(ElementName = "RptPgntn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class RptPgntn | |
| { | |
| [XmlElement(ElementName = "PgNb", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public int PgNb { get; set; } | |
| [XmlElement(ElementName = "LastPgInd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public bool LastPgInd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Acct", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Acct | |
| { | |
| [XmlElement(ElementName = "Id", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Id Id { get; set; } | |
| [XmlElement(ElementName = "Ccy", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Ccy { get; set; } | |
| [XmlElement(ElementName = "Svcr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Svcr Svcr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Id", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Id | |
| { | |
| [XmlElement(ElementName = "IBAN", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string IBAN { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Svcr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Svcr | |
| { | |
| [XmlElement(ElementName = "FinInstnId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public FinInstnId FinInstnId { get; set; } | |
| } | |
| [XmlRoot(ElementName = "FinInstnId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class FinInstnId | |
| { | |
| [XmlElement(ElementName = "BICFI", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string BICFI { get; set; } | |
| [XmlElement(ElementName = "Nm", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Nm { get; set; } | |
| [XmlElement(ElementName = "Othr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Othr Othr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Othr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Othr | |
| { | |
| [XmlElement(ElementName = "Id", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Id { get; set; } | |
| [XmlElement(ElementName = "Issr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Issr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Bal", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Bal | |
| { | |
| [XmlElement(ElementName = "Tp", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Tp Tp { get; set; } | |
| [XmlElement(ElementName = "Amt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Amt Amt { get; set; } | |
| [XmlElement(ElementName = "CdtDbtInd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string CdtDbtInd { get; set; } | |
| [XmlElement(ElementName = "Dt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Dt Dt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Tp", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Tp | |
| { | |
| [XmlElement(ElementName = "CdOrPrtry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public CdOrPrtry CdOrPrtry { get; set; } | |
| } | |
| [XmlRoot(ElementName = "CdOrPrtry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class CdOrPrtry | |
| { | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Amt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Amt | |
| { | |
| [XmlAttribute(AttributeName = "Ccy")] | |
| public string Ccy { get; set; } | |
| [XmlText] | |
| public decimal Value { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Dt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Dt | |
| { | |
| [XmlElement(ElementName = "Dt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public DateTime Date { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Ntry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Ntry | |
| { | |
| [XmlElement(ElementName = "Amt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Amt Amt { get; set; } | |
| [XmlElement(ElementName = "CdtDbtInd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string CdtDbtInd { get; set; } | |
| [XmlElement(ElementName = "Sts", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Sts Sts { get; set; } | |
| [XmlElement(ElementName = "BookgDt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Dt BookgDt { get; set; } | |
| [XmlElement(ElementName = "ValDt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Dt ValDt { get; set; } | |
| [XmlElement(ElementName = "AcctSvcrRef", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string AcctSvcrRef { get; set; } | |
| [XmlElement(ElementName = "BkTxCd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public BkTxCd BkTxCd { get; set; } | |
| [XmlElement(ElementName = "NtryDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public NtryDtls NtryDtls { get; set; } | |
| [XmlElement(ElementName = "AddtlNtryInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string AddtlNtryInf { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Sts", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Sts | |
| { | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "BkTxCd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class BkTxCd | |
| { | |
| [XmlElement(ElementName = "Domn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Domn Domn { get; set; } | |
| [XmlElement(ElementName = "Prtry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Prtry Prtry { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Domn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Domn | |
| { | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| [XmlElement(ElementName = "Fmly", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Fmly Fmly { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Fmly", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Fmly | |
| { | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| [XmlElement(ElementName = "SubFmlyCd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string SubFmlyCd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Prtry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Prtry | |
| { | |
| [XmlElement(ElementName = "Tp", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Tp { get; set; } | |
| [XmlElement(ElementName = "Ref", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Ref { get; set; } | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| [XmlElement(ElementName = "Issr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Issr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "NtryDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class NtryDtls | |
| { | |
| [XmlElement(ElementName = "TxDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public TxDtls TxDtls { get; set; } | |
| } | |
| [XmlRoot(ElementName = "TxDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class TxDtls | |
| { | |
| [XmlElement(ElementName = "Refs", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Refs Refs { get; set; } | |
| [XmlElement(ElementName = "Amt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Amt Amt { get; set; } | |
| [XmlElement(ElementName = "AmtDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public AmtDtls AmtDtls { get; set; } | |
| [XmlElement(ElementName = "BkTxCd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public BkTxCd BkTxCd { get; set; } | |
| [XmlElement(ElementName = "Chrgs", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Chrgs Chrgs { get; set; } | |
| [XmlElement(ElementName = "RltdPties", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public RltdPties RltdPties { get; set; } | |
| [XmlElement(ElementName = "RltdAgts", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public RltdAgts RltdAgts { get; set; } | |
| [XmlElement(ElementName = "RmtInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public RmtInf RmtInf { get; set; } | |
| [XmlElement(ElementName = "RtrInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public RtrInf RtrInf { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Refs", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Refs | |
| { | |
| [XmlElement(ElementName = "MndtId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string MndtId { get; set; } | |
| [XmlElement(ElementName = "Prtry", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Prtry Prtry { get; set; } | |
| } | |
| [XmlRoot(ElementName = "AmtDtls", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class AmtDtls | |
| { | |
| [XmlElement(ElementName = "InstdAmt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Amt InstdAmt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Chrgs", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Chrgs | |
| { | |
| [XmlElement(ElementName = "Rcrd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public List<Rcrd> Rcrd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Rcrd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Rcrd | |
| { | |
| [XmlElement(ElementName = "Amt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Amt Amt { get; set; } | |
| [XmlElement(ElementName = "Agt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Agt Agt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Agt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Agt | |
| { | |
| [XmlElement(ElementName = "FinInstnId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public FinInstnId FinInstnId { get; set; } | |
| } | |
| [XmlRoot(ElementName = "RltdPties", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class RltdPties | |
| { | |
| [XmlElement(ElementName = "Dbtr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public PartyHolder Dbtr { get; set; } | |
| [XmlElement(ElementName = "DbtrAcct", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Acct DbtrAcct { get; set; } | |
| [XmlElement(ElementName = "Cdtr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public PartyHolder Cdtr { get; set; } | |
| [XmlElement(ElementName = "CdtrAcct", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Acct CdtrAcct { get; set; } | |
| [XmlElement(ElementName = "UltmtCdtr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public PartyHolder UltmtCdtr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "PartyHolder", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class PartyHolder | |
| { | |
| [XmlElement(ElementName = "Pty", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Party Pty { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Party", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Party | |
| { | |
| [XmlElement(ElementName = "Nm", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Nm { get; set; } | |
| [XmlElement(ElementName = "Id", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public PartyId Id { get; set; } | |
| } | |
| [XmlRoot(ElementName = "PartyId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class PartyId | |
| { | |
| [XmlElement(ElementName = "PrvtId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public PrvtId PrvtId { get; set; } | |
| } | |
| [XmlRoot(ElementName = "PrvtId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class PrvtId | |
| { | |
| [XmlElement(ElementName = "Othr", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Othr Othr { get; set; } | |
| } | |
| [XmlRoot(ElementName = "RltdAgts", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class RltdAgts | |
| { | |
| [XmlElement(ElementName = "DbtrAgt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Agent DbtrAgt { get; set; } | |
| [XmlElement(ElementName = "CdtrAgt", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Agent CdtrAgt { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Agent", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Agent | |
| { | |
| [XmlElement(ElementName = "FinInstnId", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public FinInstnId FinInstnId { get; set; } | |
| } | |
| [XmlRoot(ElementName = "RmtInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class RmtInf | |
| { | |
| [XmlElement(ElementName = "Ustrd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public List<string> Ustrd { get; set; } | |
| } | |
| [XmlRoot(ElementName = "RtrInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class RtrInf | |
| { | |
| [XmlElement(ElementName = "Rsn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public Rsn Rsn { get; set; } | |
| [XmlElement(ElementName = "AddtlInf", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string AddtlInf { get; set; } | |
| } | |
| [XmlRoot(ElementName = "Rsn", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public class Rsn | |
| { | |
| [XmlElement(ElementName = "Cd", Namespace = "urn:iso:std:iso:20022:tech:xsd:camt.052.001.08")] | |
| public string Cd { get; set; } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment