Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@joacar
Last active August 20, 2020 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joacar/dfff06823c7284147f904dd1cd5f761a to your computer and use it in GitHub Desktop.
Save joacar/dfff06823c7284147f904dd1cd5f761a to your computer and use it in GitHub Desktop.
XML generation in various ways. Trying to get just an XmlElement class to assign a property in a class generated from XSD
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace ConsoleAppXml
{
internal class Program
{
private static readonly XmlWriterSettings Settings = new XmlWriterSettings
{
Encoding = new UTF8Encoding(false),
Indent = true
};
private const string Prefix = "supl";
private const string Ns = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01";
private static void Main(string[] _)
{
Console.WriteLine("# Generate XML using XmlDocument");
Console.WriteLine(XmlDocument());
Console.WriteLine(new string('-', 20));
Console.WriteLine("# Generate XML using XmlWriter");
Console.WriteLine(XmlWriter());
Console.WriteLine(new string('-', 20));
Console.WriteLine("# Generate XML using XNavigator (append child elements)");
Console.WriteLine(XmlNavigator());
Console.WriteLine(new string('-', 20));
Console.WriteLine("# Generate XML using XNavigator (append child elements using XmlWriter)");
Console.WriteLine(XmlNavigatorAndWriter());
Console.WriteLine(new string('-', 20));
Console.WriteLine();
Console.WriteLine("Press any key to exit");
Console.ReadLine();
}
private static string XmlDocument()
{
// This includes a DateTime (non-nullable) that isn't included in the response sample file
// Also prefix is missing for all child elements (descendents) to Document
var suplDocument = new Document
{
InfRspnSD1 = new InformationResponseSD1V01
{
InvstgtnId = "123456789"
}
};
var root = new XmlRootAttribute("Document")
{
Namespace = Ns
};
var xmlSerializer = new XmlSerializer(typeof(Document), root);
var namespaces = new XmlSerializerNamespaces();
namespaces.Add(Prefix, Ns);
using var writer = new StringWriter();
xmlSerializer.Serialize(writer, suplDocument /* namespaces */);
return writer.ToString();
}
private static string XmlWriter()
{
using var writer = new StringWriter();
using var xmlWriter = System.Xml.XmlWriter.Create(writer, Settings);
xmlWriter.WriteStartDocument();
xmlWriter.WriteStartElement(Prefix, "Document", Ns);
xmlWriter.WriteStartElement(Prefix, "InfRspnSD1", Ns);
xmlWriter.WriteElementString("InvstgtnId", Ns, "123456789");
xmlWriter.WriteEndDocument();
xmlWriter.Flush();
return writer.ToString();
}
private static string XmlNavigator()
{
var xmlDocument = new XmlDocument();
var xmlElement = xmlDocument.CreateElement(Prefix, "Document", Ns);
xmlElement.InnerXml = string.Empty;
var navigator = xmlElement.CreateNavigator();
navigator.AppendChildElement(Prefix, "InfRspnSD1", Ns, null);
navigator.MoveToFirstChild();
navigator.AppendChildElement(Prefix, "InvstgtnId", Ns, "123456789");
// For pretty print only
using var sw = new StringWriter();
using var writer = System.Xml.XmlWriter.Create(sw, Settings);
xmlElement.WriteTo(writer);
writer.Flush();
return sw.ToString();
}
private static string XmlNavigatorAndWriter()
{
var xmlDocument = new XmlDocument();
using var navigator = xmlDocument.CreateNavigator().AppendChild();
navigator.WriteStartDocument();
navigator.WriteStartElement(Prefix, "Document", Ns);
navigator.WriteStartElement(Prefix, "InfRspnSD1", Ns);
navigator.WriteElementString("InvstgtnId", Ns, "123456789");
navigator.WriteEndDocument();
navigator.Flush();
navigator.Close();
// XmlElement available at XmlDocument.DocumentElement
// For pretty print only
using var sw = new StringWriter();
using var writer = System.Xml.XmlWriter.Create(sw, Settings);
xmlDocument.WriteTo(writer);
writer.Flush();
return sw.ToString();
}
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by xsd, Version=4.8.3928.0.
//
namespace ConsoleAppXml
{
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IsNullable = false)]
public partial class Document
{
private InformationResponseSD1V01 infRspnSD1Field;
/// <remarks/>
public InformationResponseSD1V01 InfRspnSD1
{
get
{
return this.infRspnSD1Field;
}
set
{
this.infRspnSD1Field = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class InformationResponseSD1V01
{
private string invstgtnIdField;
private System.DateTime creDtTmField;
private BranchAndFinancialInstitutionIdentification4 acctSvcrIdField;
private AccountAndParties2[] acctAndPtiesField;
/// <remarks/>
public string InvstgtnId
{
get
{
return this.invstgtnIdField;
}
set
{
this.invstgtnIdField = value;
}
}
/// <remarks/>
public System.DateTime CreDtTm
{
get
{
return this.creDtTmField;
}
set
{
this.creDtTmField = value;
}
}
/// <remarks/>
public BranchAndFinancialInstitutionIdentification4 AcctSvcrId
{
get
{
return this.acctSvcrIdField;
}
set
{
this.acctSvcrIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("AcctAndPties")]
public AccountAndParties2[] AcctAndPties
{
get
{
return this.acctAndPtiesField;
}
set
{
this.acctAndPtiesField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class BranchAndFinancialInstitutionIdentification4
{
private FinancialInstitutionIdentification7 finInstnIdField;
private BranchData2 brnchIdField;
/// <remarks/>
public FinancialInstitutionIdentification7 FinInstnId
{
get
{
return this.finInstnIdField;
}
set
{
this.finInstnIdField = value;
}
}
/// <remarks/>
public BranchData2 BrnchId
{
get
{
return this.brnchIdField;
}
set
{
this.brnchIdField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class FinancialInstitutionIdentification7
{
private string bICField;
private ClearingSystemMemberIdentification2 clrSysMmbIdField;
private string nmField;
private PostalAddress6 pstlAdrField;
private GenericFinancialIdentification1 othrField;
/// <remarks/>
public string BIC
{
get
{
return this.bICField;
}
set
{
this.bICField = value;
}
}
/// <remarks/>
public ClearingSystemMemberIdentification2 ClrSysMmbId
{
get
{
return this.clrSysMmbIdField;
}
set
{
this.clrSysMmbIdField = value;
}
}
/// <remarks/>
public string Nm
{
get
{
return this.nmField;
}
set
{
this.nmField = value;
}
}
/// <remarks/>
public PostalAddress6 PstlAdr
{
get
{
return this.pstlAdrField;
}
set
{
this.pstlAdrField = value;
}
}
/// <remarks/>
public GenericFinancialIdentification1 Othr
{
get
{
return this.othrField;
}
set
{
this.othrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class ClearingSystemMemberIdentification2
{
private ClearingSystemIdentification2Choice clrSysIdField;
private string mmbIdField;
/// <remarks/>
public ClearingSystemIdentification2Choice ClrSysId
{
get
{
return this.clrSysIdField;
}
set
{
this.clrSysIdField = value;
}
}
/// <remarks/>
public string MmbId
{
get
{
return this.mmbIdField;
}
set
{
this.mmbIdField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class ClearingSystemIdentification2Choice
{
private string itemField;
private ItemChoiceType itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType ItemElementName
{
get
{
return this.itemElementNameField;
}
set
{
this.itemElementNameField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IncludeInSchema = false)]
public enum ItemChoiceType
{
/// <remarks/>
Cd,
/// <remarks/>
Prtry,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericIdentification1
{
private string idField;
private string schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public string SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class OwnerType1
{
private AccountOwnerType1Code tpField;
private AccountPermissionType1Code mndtTpField;
private bool mndtTpFieldSpecified;
private GenericIdentification1 prtryField;
/// <remarks/>
public AccountOwnerType1Code Tp
{
get
{
return this.tpField;
}
set
{
this.tpField = value;
}
}
/// <remarks/>
public AccountPermissionType1Code MndtTp
{
get
{
return this.mndtTpField;
}
set
{
this.mndtTpField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool MndtTpSpecified
{
get
{
return this.mndtTpFieldSpecified;
}
set
{
this.mndtTpFieldSpecified = value;
}
}
/// <remarks/>
public GenericIdentification1 Prtry
{
get
{
return this.prtryField;
}
set
{
this.prtryField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum AccountOwnerType1Code
{
/// <remarks/>
POWN,
/// <remarks/>
TRUS,
/// <remarks/>
CUST,
/// <remarks/>
NOMI,
/// <remarks/>
SECO,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum AccountPermissionType1Code
{
/// <remarks/>
NORI,
/// <remarks/>
RIAL,
/// <remarks/>
RIWI,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class ContactDetails2
{
private NamePrefix1Code nmPrfxField;
private bool nmPrfxFieldSpecified;
private string nmField;
private string phneNbField;
private string mobNbField;
private string faxNbField;
private string emailAdrField;
private string othrField;
/// <remarks/>
public NamePrefix1Code NmPrfx
{
get
{
return this.nmPrfxField;
}
set
{
this.nmPrfxField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool NmPrfxSpecified
{
get
{
return this.nmPrfxFieldSpecified;
}
set
{
this.nmPrfxFieldSpecified = value;
}
}
/// <remarks/>
public string Nm
{
get
{
return this.nmField;
}
set
{
this.nmField = value;
}
}
/// <remarks/>
public string PhneNb
{
get
{
return this.phneNbField;
}
set
{
this.phneNbField = value;
}
}
/// <remarks/>
public string MobNb
{
get
{
return this.mobNbField;
}
set
{
this.mobNbField = value;
}
}
/// <remarks/>
public string FaxNb
{
get
{
return this.faxNbField;
}
set
{
this.faxNbField = value;
}
}
/// <remarks/>
public string EmailAdr
{
get
{
return this.emailAdrField;
}
set
{
this.emailAdrField = value;
}
}
/// <remarks/>
public string Othr
{
get
{
return this.othrField;
}
set
{
this.othrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum NamePrefix1Code
{
/// <remarks/>
DOCT,
/// <remarks/>
MIST,
/// <remarks/>
MISS,
/// <remarks/>
MADM,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class PersonIdentificationSchemeName1Choice
{
private string itemField;
private ItemChoiceType4 itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType4 ItemElementName
{
get
{
return this.itemElementNameField;
}
set
{
this.itemElementNameField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IncludeInSchema = false)]
public enum ItemChoiceType4
{
/// <remarks/>
Cd,
/// <remarks/>
Prtry,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericPersonIdentification1
{
private string idField;
private PersonIdentificationSchemeName1Choice schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public PersonIdentificationSchemeName1Choice SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class DateAndPlaceOfBirth
{
private System.DateTime birthDtField;
private string prvcOfBirthField;
private string cityOfBirthField;
private string ctryOfBirthField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
public System.DateTime BirthDt
{
get
{
return this.birthDtField;
}
set
{
this.birthDtField = value;
}
}
/// <remarks/>
public string PrvcOfBirth
{
get
{
return this.prvcOfBirthField;
}
set
{
this.prvcOfBirthField = value;
}
}
/// <remarks/>
public string CityOfBirth
{
get
{
return this.cityOfBirthField;
}
set
{
this.cityOfBirthField = value;
}
}
/// <remarks/>
public string CtryOfBirth
{
get
{
return this.ctryOfBirthField;
}
set
{
this.ctryOfBirthField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class PersonIdentification5
{
private DateAndPlaceOfBirth dtAndPlcOfBirthField;
private GenericPersonIdentification1[] othrField;
/// <remarks/>
public DateAndPlaceOfBirth DtAndPlcOfBirth
{
get
{
return this.dtAndPlcOfBirthField;
}
set
{
this.dtAndPlcOfBirthField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Othr")]
public GenericPersonIdentification1[] Othr
{
get
{
return this.othrField;
}
set
{
this.othrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class OrganisationIdentificationSchemeName1Choice
{
private string itemField;
private ItemChoiceType3 itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType3 ItemElementName
{
get
{
return this.itemElementNameField;
}
set
{
this.itemElementNameField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IncludeInSchema = false)]
public enum ItemChoiceType3
{
/// <remarks/>
Cd,
/// <remarks/>
Prtry,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericOrganisationIdentification1
{
private string idField;
private OrganisationIdentificationSchemeName1Choice schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public OrganisationIdentificationSchemeName1Choice SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class OrganisationIdentification6
{
private string bICField;
private GenericOrganisationIdentification1[] othrField;
/// <remarks/>
public string BIC
{
get
{
return this.bICField;
}
set
{
this.bICField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Othr")]
public GenericOrganisationIdentification1[] Othr
{
get
{
return this.othrField;
}
set
{
this.othrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class Party8Choice
{
private object itemField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("OrgId", typeof(OrganisationIdentification6))]
[System.Xml.Serialization.XmlElementAttribute("PrvtId", typeof(PersonIdentification5))]
public object Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class PartyIdentification41
{
private string nmField;
private PostalAddress6 pstlAdrField;
private Party8Choice idField;
private string ctryOfResField;
private ContactDetails2 ctctDtlsField;
/// <remarks/>
public string Nm
{
get
{
return this.nmField;
}
set
{
this.nmField = value;
}
}
/// <remarks/>
public PostalAddress6 PstlAdr
{
get
{
return this.pstlAdrField;
}
set
{
this.pstlAdrField = value;
}
}
/// <remarks/>
public Party8Choice Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public string CtryOfRes
{
get
{
return this.ctryOfResField;
}
set
{
this.ctryOfResField = value;
}
}
/// <remarks/>
public ContactDetails2 CtctDtls
{
get
{
return this.ctctDtlsField;
}
set
{
this.ctctDtlsField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class PostalAddress6
{
private AddressType2Code adrTpField;
private bool adrTpFieldSpecified;
private string deptField;
private string subDeptField;
private string strtNmField;
private string bldgNbField;
private string pstCdField;
private string twnNmField;
private string ctrySubDvsnField;
private string ctryField;
private string[] adrLineField;
/// <remarks/>
public AddressType2Code AdrTp
{
get
{
return this.adrTpField;
}
set
{
this.adrTpField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool AdrTpSpecified
{
get
{
return this.adrTpFieldSpecified;
}
set
{
this.adrTpFieldSpecified = value;
}
}
/// <remarks/>
public string Dept
{
get
{
return this.deptField;
}
set
{
this.deptField = value;
}
}
/// <remarks/>
public string SubDept
{
get
{
return this.subDeptField;
}
set
{
this.subDeptField = value;
}
}
/// <remarks/>
public string StrtNm
{
get
{
return this.strtNmField;
}
set
{
this.strtNmField = value;
}
}
/// <remarks/>
public string BldgNb
{
get
{
return this.bldgNbField;
}
set
{
this.bldgNbField = value;
}
}
/// <remarks/>
public string PstCd
{
get
{
return this.pstCdField;
}
set
{
this.pstCdField = value;
}
}
/// <remarks/>
public string TwnNm
{
get
{
return this.twnNmField;
}
set
{
this.twnNmField = value;
}
}
/// <remarks/>
public string CtrySubDvsn
{
get
{
return this.ctrySubDvsnField;
}
set
{
this.ctrySubDvsnField = value;
}
}
/// <remarks/>
public string Ctry
{
get
{
return this.ctryField;
}
set
{
this.ctryField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("AdrLine")]
public string[] AdrLine
{
get
{
return this.adrLineField;
}
set
{
this.adrLineField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum AddressType2Code
{
/// <remarks/>
ADDR,
/// <remarks/>
PBOX,
/// <remarks/>
HOME,
/// <remarks/>
BIZZ,
/// <remarks/>
MLTO,
/// <remarks/>
DLVY,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class AccountRole1
{
private PartyIdentification41 ptyField;
private OwnerType1 ownrTpField;
private System.DateTime startDtField;
private bool startDtFieldSpecified;
private System.DateTime endDtField;
private bool endDtFieldSpecified;
/// <remarks/>
public PartyIdentification41 Pty
{
get
{
return this.ptyField;
}
set
{
this.ptyField = value;
}
}
/// <remarks/>
public OwnerType1 OwnrTp
{
get
{
return this.ownrTpField;
}
set
{
this.ownrTpField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
public System.DateTime StartDt
{
get
{
return this.startDtField;
}
set
{
this.startDtField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool StartDtSpecified
{
get
{
return this.startDtFieldSpecified;
}
set
{
this.startDtFieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
public System.DateTime EndDt
{
get
{
return this.endDtField;
}
set
{
this.endDtField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool EndDtSpecified
{
get
{
return this.endDtFieldSpecified;
}
set
{
this.endDtFieldSpecified = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericIdentification13
{
private string idField;
private string schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public string SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class CodeOrProprietary1Choice
{
private object itemField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(GenericIdentification13))]
public object Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class Restriction1
{
private CodeOrProprietary1Choice rstrctnTpField;
private System.DateTime vldFrField;
private System.DateTime vldUntilField;
private bool vldUntilFieldSpecified;
/// <remarks/>
public CodeOrProprietary1Choice RstrctnTp
{
get
{
return this.rstrctnTpField;
}
set
{
this.rstrctnTpField = value;
}
}
/// <remarks/>
public System.DateTime VldFr
{
get
{
return this.vldFrField;
}
set
{
this.vldFrField = value;
}
}
/// <remarks/>
public System.DateTime VldUntil
{
get
{
return this.vldUntilField;
}
set
{
this.vldUntilField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool VldUntilSpecified
{
get
{
return this.vldUntilFieldSpecified;
}
set
{
this.vldUntilFieldSpecified = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class CashAccountType2
{
private object itemField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(CashAccountType4Code))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
public object Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum CashAccountType4Code
{
/// <remarks/>
CASH,
/// <remarks/>
CHAR,
/// <remarks/>
COMM,
/// <remarks/>
TAXE,
/// <remarks/>
CISH,
/// <remarks/>
TRAS,
/// <remarks/>
SACC,
/// <remarks/>
CACC,
/// <remarks/>
SVGS,
/// <remarks/>
ONDP,
/// <remarks/>
MGLD,
/// <remarks/>
NREX,
/// <remarks/>
MOMA,
/// <remarks/>
LOAN,
/// <remarks/>
SLRY,
/// <remarks/>
ODFT,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class AccountSchemeName1Choice
{
private string itemField;
private ItemChoiceType2 itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType2 ItemElementName
{
get
{
return this.itemElementNameField;
}
set
{
this.itemElementNameField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IncludeInSchema = false)]
public enum ItemChoiceType2
{
/// <remarks/>
Cd,
/// <remarks/>
Prtry,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericAccountIdentification1
{
private string idField;
private AccountSchemeName1Choice schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public AccountSchemeName1Choice SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class AccountIdentification4Choice
{
private object itemField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("IBAN", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Othr", typeof(GenericAccountIdentification1))]
public object Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class CustomerAccount1
{
private AccountIdentification4Choice idField;
private string nmField;
private AccountStatus3Code stsField;
private bool stsFieldSpecified;
private CashAccountType2 tpField;
private string ccyField;
private decimal mnthlyPmtValField;
private bool mnthlyPmtValFieldSpecified;
private decimal mnthlyRcvdValField;
private bool mnthlyRcvdValFieldSpecified;
private string mnthlyTxNbField;
private decimal avrgBalField;
private bool avrgBalFieldSpecified;
private string acctPurpField;
private decimal flrNtfctnAmtField;
private bool flrNtfctnAmtFieldSpecified;
private decimal clngNtfctnAmtField;
private bool clngNtfctnAmtFieldSpecified;
private Frequency3Code stmtCyclField;
private bool stmtCyclFieldSpecified;
private System.DateTime clsgDtField;
private bool clsgDtFieldSpecified;
private Restriction1[] rstrctnField;
/// <remarks/>
public AccountIdentification4Choice Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public string Nm
{
get
{
return this.nmField;
}
set
{
this.nmField = value;
}
}
/// <remarks/>
public AccountStatus3Code Sts
{
get
{
return this.stsField;
}
set
{
this.stsField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool StsSpecified
{
get
{
return this.stsFieldSpecified;
}
set
{
this.stsFieldSpecified = value;
}
}
/// <remarks/>
public CashAccountType2 Tp
{
get
{
return this.tpField;
}
set
{
this.tpField = value;
}
}
/// <remarks/>
public string Ccy
{
get
{
return this.ccyField;
}
set
{
this.ccyField = value;
}
}
/// <remarks/>
public decimal MnthlyPmtVal
{
get
{
return this.mnthlyPmtValField;
}
set
{
this.mnthlyPmtValField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool MnthlyPmtValSpecified
{
get
{
return this.mnthlyPmtValFieldSpecified;
}
set
{
this.mnthlyPmtValFieldSpecified = value;
}
}
/// <remarks/>
public decimal MnthlyRcvdVal
{
get
{
return this.mnthlyRcvdValField;
}
set
{
this.mnthlyRcvdValField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool MnthlyRcvdValSpecified
{
get
{
return this.mnthlyRcvdValFieldSpecified;
}
set
{
this.mnthlyRcvdValFieldSpecified = value;
}
}
/// <remarks/>
public string MnthlyTxNb
{
get
{
return this.mnthlyTxNbField;
}
set
{
this.mnthlyTxNbField = value;
}
}
/// <remarks/>
public decimal AvrgBal
{
get
{
return this.avrgBalField;
}
set
{
this.avrgBalField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool AvrgBalSpecified
{
get
{
return this.avrgBalFieldSpecified;
}
set
{
this.avrgBalFieldSpecified = value;
}
}
/// <remarks/>
public string AcctPurp
{
get
{
return this.acctPurpField;
}
set
{
this.acctPurpField = value;
}
}
/// <remarks/>
public decimal FlrNtfctnAmt
{
get
{
return this.flrNtfctnAmtField;
}
set
{
this.flrNtfctnAmtField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool FlrNtfctnAmtSpecified
{
get
{
return this.flrNtfctnAmtFieldSpecified;
}
set
{
this.flrNtfctnAmtFieldSpecified = value;
}
}
/// <remarks/>
public decimal ClngNtfctnAmt
{
get
{
return this.clngNtfctnAmtField;
}
set
{
this.clngNtfctnAmtField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool ClngNtfctnAmtSpecified
{
get
{
return this.clngNtfctnAmtFieldSpecified;
}
set
{
this.clngNtfctnAmtFieldSpecified = value;
}
}
/// <remarks/>
public Frequency3Code StmtCycl
{
get
{
return this.stmtCyclField;
}
set
{
this.stmtCyclField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool StmtCyclSpecified
{
get
{
return this.stmtCyclFieldSpecified;
}
set
{
this.stmtCyclFieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
public System.DateTime ClsgDt
{
get
{
return this.clsgDtField;
}
set
{
this.clsgDtField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool ClsgDtSpecified
{
get
{
return this.clsgDtFieldSpecified;
}
set
{
this.clsgDtFieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Rstrctn")]
public Restriction1[] Rstrctn
{
get
{
return this.rstrctnField;
}
set
{
this.rstrctnField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum AccountStatus3Code
{
/// <remarks/>
ENAB,
/// <remarks/>
DISA,
/// <remarks/>
DELE,
/// <remarks/>
FORM,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public enum Frequency3Code
{
/// <remarks/>
YEAR,
/// <remarks/>
MNTH,
/// <remarks/>
QURT,
/// <remarks/>
MIAN,
/// <remarks/>
WEEK,
/// <remarks/>
DAIL,
/// <remarks/>
TEND,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class AccountAndParties2
{
private CustomerAccount1 acctField;
private AccountRole1[] roleField;
private string[] addtlInfField;
/// <remarks/>
public CustomerAccount1 Acct
{
get
{
return this.acctField;
}
set
{
this.acctField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Role")]
public AccountRole1[] Role
{
get
{
return this.roleField;
}
set
{
this.roleField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("AddtlInf")]
public string[] AddtlInf
{
get
{
return this.addtlInfField;
}
set
{
this.addtlInfField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class BranchData2
{
private string idField;
private string nmField;
private PostalAddress6 pstlAdrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public string Nm
{
get
{
return this.nmField;
}
set
{
this.nmField = value;
}
}
/// <remarks/>
public PostalAddress6 PstlAdr
{
get
{
return this.pstlAdrField;
}
set
{
this.pstlAdrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class FinancialIdentificationSchemeName1Choice
{
private string itemField;
private ItemChoiceType1 itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Cd", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("Prtry", typeof(string))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType1 ItemElementName
{
get
{
return this.itemElementNameField;
}
set
{
this.itemElementNameField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01", IncludeInSchema = false)]
public enum ItemChoiceType1
{
/// <remarks/>
Cd,
/// <remarks/>
Prtry,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:iso:std:iso:20022:tech:xsd:supl.027.001.01")]
public partial class GenericFinancialIdentification1
{
private string idField;
private FinancialIdentificationSchemeName1Choice schmeNmField;
private string issrField;
/// <remarks/>
public string Id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
/// <remarks/>
public FinancialIdentificationSchemeName1Choice SchmeNm
{
get
{
return this.schmeNmField;
}
set
{
this.schmeNmField = value;
}
}
/// <remarks/>
public string Issr
{
get
{
return this.issrField;
}
set
{
this.issrField = value;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment