diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.designer.vb b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.designer.vb
new file mode 100644
index 0000000..75c3a85
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.designer.vb
@@ -0,0 +1,6864 @@
+'' ------------------------------------------------------------------------------
+''
+'' Generated by Xsd2Code. Version 3.4.1.33667 Microsoft Reciprocal License (Ms-RL)
+'' Abgabenbescheid_010ListVisualBasicFalseFalseFalseFalseFalseFalseFalseTrueFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileFalseFalseFalseFalseFalseFalseDefaultUTF8FalseTrue
+''
+'' ------------------------------------------------------------------------------
+Imports System
+Imports System.Diagnostics
+Imports System.Xml.Serialization
+Imports System.Collections
+Imports System.Xml.Schema
+Imports System.ComponentModel
+Imports System.IO
+Imports System.Text
+Imports System.Collections.Generic
+
+Namespace Abgabenbescheid_010
+
+ Partial Public Class AbgabenbescheidEinfuhrTAXTyp
+ Inherits DatenaustauschFreierVerkehrTyp
+
+ Private einzelAbgabenbescheidField As EinzelAbgabenbescheidTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelAbgabenbescheidField = New EinzelAbgabenbescheidTyp()
+ End Sub
+
+ Public Property EinzelAbgabenbescheid() As EinzelAbgabenbescheidTyp
+ Get
+ Return Me.einzelAbgabenbescheidField
+ End Get
+ Set
+ Me.einzelAbgabenbescheidField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbgabenbescheidEinfuhrTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbgabenbescheidEinfuhrTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbgabenbescheidEinfuhrTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbgabenbescheidEinfuhrTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenbescheidEinfuhrTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenbescheidEinfuhrTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenbescheidEinfuhrTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbgabenbescheidEinfuhrTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbgabenbescheidEinfuhrTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbgabenbescheidEinfuhrTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbgabenbescheidEinfuhrTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbgabenbescheidEinfuhrTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenbescheidEinfuhrTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenbescheidEinfuhrTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenbescheidEinfuhrTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbgabenbescheidEinfuhrTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EinzelAbgabenbescheidTyp
+
+ Private objektIdentifizierungField As ObjektIdentifizierungTAXTyp
+
+ Private kopfDatenField As KopfDatenEinfuhrbescheidTyp
+
+ Private positionField As List(Of PositionAbgabenbescheidEinfuhrTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.positionField = New List(Of PositionAbgabenbescheidEinfuhrTyp)()
+ Me.kopfDatenField = New KopfDatenEinfuhrbescheidTyp()
+ Me.objektIdentifizierungField = New ObjektIdentifizierungTAXTyp()
+ End Sub
+
+ Public Property ObjektIdentifizierung() As ObjektIdentifizierungTAXTyp
+ Get
+ Return Me.objektIdentifizierungField
+ End Get
+ Set
+ Me.objektIdentifizierungField = Value
+ End Set
+ End Property
+
+ Public Property KopfDaten() As KopfDatenEinfuhrbescheidTyp
+ Get
+ Return Me.kopfDatenField
+ End Get
+ Set
+ Me.kopfDatenField = Value
+ End Set
+ End Property
+
+ Public Property Position() As List(Of PositionAbgabenbescheidEinfuhrTyp)
+ Get
+ Return Me.positionField
+ End Get
+ Set
+ Me.positionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelAbgabenbescheidTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelAbgabenbescheidTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelAbgabenbescheidTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelAbgabenbescheidTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbgabenbescheidTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbgabenbescheidTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbgabenbescheidTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelAbgabenbescheidTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelAbgabenbescheidTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelAbgabenbescheidTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelAbgabenbescheidTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelAbgabenbescheidTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbgabenbescheidTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbgabenbescheidTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbgabenbescheidTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelAbgabenbescheidTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class ObjektIdentifizierungTAXTyp
+
+ Private objektNameField As String
+
+ Private objektAliasField As String
+
+ Private eDIFACTNachrichtenNrField As String
+
+ Private zeitpunktEingangField As Date
+
+ Private shipmentReferenzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ObjektName() As String
+ Get
+ Return Me.objektNameField
+ End Get
+ Set
+ Me.objektNameField = Value
+ End Set
+ End Property
+
+ Public Property ObjektAlias() As String
+ Get
+ Return Me.objektAliasField
+ End Get
+ Set
+ Me.objektAliasField = Value
+ End Set
+ End Property
+
+ Public Property EDIFACTNachrichtenNr() As String
+ Get
+ Return Me.eDIFACTNachrichtenNrField
+ End Get
+ Set
+ Me.eDIFACTNachrichtenNrField = Value
+ End Set
+ End Property
+
+ Public Property ZeitpunktEingang() As Date
+ Get
+ Return Me.zeitpunktEingangField
+ End Get
+ Set
+ Me.zeitpunktEingangField = Value
+ End Set
+ End Property
+
+ Public Property ShipmentReferenz() As String
+ Get
+ Return Me.shipmentReferenzField
+ End Get
+ Set
+ Me.shipmentReferenzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(ObjektIdentifizierungTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current ObjektIdentifizierungTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an ObjektIdentifizierungTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output ObjektIdentifizierungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As ObjektIdentifizierungTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), ObjektIdentifizierungTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current ObjektIdentifizierungTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an ObjektIdentifizierungTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output ObjektIdentifizierungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As ObjektIdentifizierungTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EinzelAbgabenSatzTAXTyp
+
+ Private lfdNrAbgabensatzField As List(Of String)
+
+ Private abgabensatzField As List(Of Decimal)
+
+ Private bemessungsmassstabField As List(Of String)
+
+ Private gehaltsangabenArtField As List(Of String)
+
+ Private gehaltsangabenGradProzentField As List(Of Decimal)
+
+ Private bemessungsgrundlageKzField As List(Of String)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.bemessungsgrundlageKzField = New List(Of String)()
+ Me.gehaltsangabenGradProzentField = New List(Of Decimal)()
+ Me.gehaltsangabenArtField = New List(Of String)()
+ Me.bemessungsmassstabField = New List(Of String)()
+ Me.abgabensatzField = New List(Of Decimal)()
+ Me.lfdNrAbgabensatzField = New List(Of String)()
+ End Sub
+
+ Public Property LfdNrAbgabensatz() As List(Of String)
+ Get
+ Return Me.lfdNrAbgabensatzField
+ End Get
+ Set
+ Me.lfdNrAbgabensatzField = Value
+ End Set
+ End Property
+
+ Public Property Abgabensatz() As List(Of Decimal)
+ Get
+ Return Me.abgabensatzField
+ End Get
+ Set
+ Me.abgabensatzField = Value
+ End Set
+ End Property
+
+ Public Property Bemessungsmassstab() As List(Of String)
+ Get
+ Return Me.bemessungsmassstabField
+ End Get
+ Set
+ Me.bemessungsmassstabField = Value
+ End Set
+ End Property
+
+ Public Property GehaltsangabenArt() As List(Of String)
+ Get
+ Return Me.gehaltsangabenArtField
+ End Get
+ Set
+ Me.gehaltsangabenArtField = Value
+ End Set
+ End Property
+
+ Public Property GehaltsangabenGradProzent() As List(Of Decimal)
+ Get
+ Return Me.gehaltsangabenGradProzentField
+ End Get
+ Set
+ Me.gehaltsangabenGradProzentField = Value
+ End Set
+ End Property
+
+ Public Property BemessungsgrundlageKz() As List(Of String)
+ Get
+ Return Me.bemessungsgrundlageKzField
+ End Get
+ Set
+ Me.bemessungsgrundlageKzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelAbgabenSatzTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelAbgabenSatzTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelAbgabenSatzTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelAbgabenSatzTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbgabenSatzTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbgabenSatzTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbgabenSatzTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelAbgabenSatzTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelAbgabenSatzTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelAbgabenSatzTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelAbgabenSatzTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelAbgabenSatzTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbgabenSatzTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbgabenSatzTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbgabenSatzTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelAbgabenSatzTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AbgabengruppeTAXTyp
+
+ Private abgabengruppeField As String
+
+ Private abgabeArtField As String
+
+ Private berechnungshinweisField As String
+
+ Private errechneterAbgabenbetragField As Decimal
+
+ Private errechneterAbgabenbetragFieldSpecified As Boolean
+
+ Private abgabenbetragField As Decimal
+
+ Private abgabenbetragFieldSpecified As Boolean
+
+ Private abgabensatzKontNrField As String
+
+ Private verbrauchssteuerCodeField As String
+
+ Private verbrauchssteuerMengeField As Decimal
+
+ Private verbrauchssteuerMengeFieldSpecified As Boolean
+
+ Private verbrauchssteuerMasseinheitField As String
+
+ Private verbrauchssteuerQualifikatorField As String
+
+ Private verbrauchssteuerGradProzentField As Decimal
+
+ Private verbrauchssteuerGradProzentFieldSpecified As Boolean
+
+ Private verbrauchssteuerWertField As Decimal
+
+ Private verbrauchssteuerWertFieldSpecified As Boolean
+
+ Private einzelAbgabenSatzField As List(Of EinzelAbgabenSatzTAXTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelAbgabenSatzField = New List(Of EinzelAbgabenSatzTAXTyp)()
+ End Sub
+
+ Public Property Abgabengruppe() As String
+ Get
+ Return Me.abgabengruppeField
+ End Get
+ Set
+ Me.abgabengruppeField = Value
+ End Set
+ End Property
+
+ Public Property AbgabeArt() As String
+ Get
+ Return Me.abgabeArtField
+ End Get
+ Set
+ Me.abgabeArtField = Value
+ End Set
+ End Property
+
+ Public Property Berechnungshinweis() As String
+ Get
+ Return Me.berechnungshinweisField
+ End Get
+ Set
+ Me.berechnungshinweisField = Value
+ End Set
+ End Property
+
+ Public Property ErrechneterAbgabenbetrag() As Decimal
+ Get
+ Return Me.errechneterAbgabenbetragField
+ End Get
+ Set
+ Me.errechneterAbgabenbetragField = Value
+ End Set
+ End Property
+
+
+ Public Property ErrechneterAbgabenbetragSpecified() As Boolean
+ Get
+ Return Me.errechneterAbgabenbetragFieldSpecified
+ End Get
+ Set
+ Me.errechneterAbgabenbetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Abgabenbetrag() As Decimal
+ Get
+ Return Me.abgabenbetragField
+ End Get
+ Set
+ Me.abgabenbetragField = Value
+ End Set
+ End Property
+
+
+ Public Property AbgabenbetragSpecified() As Boolean
+ Get
+ Return Me.abgabenbetragFieldSpecified
+ End Get
+ Set
+ Me.abgabenbetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbgabensatzKontNr() As String
+ Get
+ Return Me.abgabensatzKontNrField
+ End Get
+ Set
+ Me.abgabensatzKontNrField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerCode() As String
+ Get
+ Return Me.verbrauchssteuerCodeField
+ End Get
+ Set
+ Me.verbrauchssteuerCodeField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerMenge() As Decimal
+ Get
+ Return Me.verbrauchssteuerMengeField
+ End Get
+ Set
+ Me.verbrauchssteuerMengeField = Value
+ End Set
+ End Property
+
+
+ Public Property VerbrauchssteuerMengeSpecified() As Boolean
+ Get
+ Return Me.verbrauchssteuerMengeFieldSpecified
+ End Get
+ Set
+ Me.verbrauchssteuerMengeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerMasseinheit() As String
+ Get
+ Return Me.verbrauchssteuerMasseinheitField
+ End Get
+ Set
+ Me.verbrauchssteuerMasseinheitField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerQualifikator() As String
+ Get
+ Return Me.verbrauchssteuerQualifikatorField
+ End Get
+ Set
+ Me.verbrauchssteuerQualifikatorField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerGradProzent() As Decimal
+ Get
+ Return Me.verbrauchssteuerGradProzentField
+ End Get
+ Set
+ Me.verbrauchssteuerGradProzentField = Value
+ End Set
+ End Property
+
+
+ Public Property VerbrauchssteuerGradProzentSpecified() As Boolean
+ Get
+ Return Me.verbrauchssteuerGradProzentFieldSpecified
+ End Get
+ Set
+ Me.verbrauchssteuerGradProzentFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerWert() As Decimal
+ Get
+ Return Me.verbrauchssteuerWertField
+ End Get
+ Set
+ Me.verbrauchssteuerWertField = Value
+ End Set
+ End Property
+
+
+ Public Property VerbrauchssteuerWertSpecified() As Boolean
+ Get
+ Return Me.verbrauchssteuerWertFieldSpecified
+ End Get
+ Set
+ Me.verbrauchssteuerWertFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property EinzelAbgabenSatz() As List(Of EinzelAbgabenSatzTAXTyp)
+ Get
+ Return Me.einzelAbgabenSatzField
+ End Get
+ Set
+ Me.einzelAbgabenSatzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbgabengruppeTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbgabengruppeTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbgabengruppeTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbgabengruppeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabengruppeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabengruppeTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabengruppeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbgabengruppeTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbgabengruppeTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbgabengruppeTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbgabengruppeTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbgabengruppeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabengruppeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabengruppeTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabengruppeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbgabengruppeTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PauschalierungTAXTyp
+
+ Private warenkategorieField As String
+
+ Private kzPauschalierterAbgabensatzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Warenkategorie() As String
+ Get
+ Return Me.warenkategorieField
+ End Get
+ Set
+ Me.warenkategorieField = Value
+ End Set
+ End Property
+
+ Public Property KzPauschalierterAbgabensatz() As String
+ Get
+ Return Me.kzPauschalierterAbgabensatzField
+ End Get
+ Set
+ Me.kzPauschalierterAbgabensatzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PauschalierungTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PauschalierungTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PauschalierungTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PauschalierungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PauschalierungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PauschalierungTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PauschalierungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PauschalierungTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PauschalierungTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PauschalierungTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PauschalierungTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PauschalierungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PauschalierungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PauschalierungTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PauschalierungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PauschalierungTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AbweichendeFestsetzungTAXTyp
+
+ Private feldnameField As String
+
+ Private qualifikatorField As String
+
+ Private qualifikatorInhaltField As String
+
+ Private artAbweichendeFestsetzungField As String
+
+ Private festgesetztVonField As String
+
+ Private festgesetztAufField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Feldname() As String
+ Get
+ Return Me.feldnameField
+ End Get
+ Set
+ Me.feldnameField = Value
+ End Set
+ End Property
+
+ Public Property Qualifikator() As String
+ Get
+ Return Me.qualifikatorField
+ End Get
+ Set
+ Me.qualifikatorField = Value
+ End Set
+ End Property
+
+ Public Property QualifikatorInhalt() As String
+ Get
+ Return Me.qualifikatorInhaltField
+ End Get
+ Set
+ Me.qualifikatorInhaltField = Value
+ End Set
+ End Property
+
+ Public Property ArtAbweichendeFestsetzung() As String
+ Get
+ Return Me.artAbweichendeFestsetzungField
+ End Get
+ Set
+ Me.artAbweichendeFestsetzungField = Value
+ End Set
+ End Property
+
+ Public Property FestgesetztVon() As String
+ Get
+ Return Me.festgesetztVonField
+ End Get
+ Set
+ Me.festgesetztVonField = Value
+ End Set
+ End Property
+
+ Public Property FestgesetztAuf() As String
+ Get
+ Return Me.festgesetztAufField
+ End Get
+ Set
+ Me.festgesetztAufField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbweichendeFestsetzungTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbweichendeFestsetzungTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbweichendeFestsetzungTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbweichendeFestsetzungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbweichendeFestsetzungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbweichendeFestsetzungTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbweichendeFestsetzungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbweichendeFestsetzungTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbweichendeFestsetzungTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbweichendeFestsetzungTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbweichendeFestsetzungTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbweichendeFestsetzungTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbweichendeFestsetzungTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbweichendeFestsetzungTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbweichendeFestsetzungTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbweichendeFestsetzungTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KontingentAngerechnetWarenMengeTAXTyp
+
+ Private mengeField As String
+
+ Private masseinheitField As String
+
+ Private qualifierField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Menge() As String
+ Get
+ Return Me.mengeField
+ End Get
+ Set
+ Me.mengeField = Value
+ End Set
+ End Property
+
+ Public Property Masseinheit() As String
+ Get
+ Return Me.masseinheitField
+ End Get
+ Set
+ Me.masseinheitField = Value
+ End Set
+ End Property
+
+ Public Property Qualifier() As String
+ Get
+ Return Me.qualifierField
+ End Get
+ Set
+ Me.qualifierField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KontingentAngerechnetWarenMengeTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KontingentAngerechnetWarenMengeTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KontingentAngerechnetWarenMengeTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KontingentAngerechnetWarenMengeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KontingentAngerechnetWarenMengeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KontingentAngerechnetWarenMengeTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KontingentAngerechnetWarenMengeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KontingentAngerechnetWarenMengeTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KontingentAngerechnetWarenMengeTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KontingentAngerechnetWarenMengeTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KontingentAngerechnetWarenMengeTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KontingentAngerechnetWarenMengeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KontingentAngerechnetWarenMengeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KontingentAngerechnetWarenMengeTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KontingentAngerechnetWarenMengeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KontingentAngerechnetWarenMengeTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KontingentAngerechnetTAXTyp
+
+ Private kontNrAngerechnetField As String
+
+ Private zollwertAngerechnetField As Decimal
+
+ Private zollwertAngerechnetFieldSpecified As Boolean
+
+ Private eUStKostenAngerechnetField As Decimal
+
+ Private eUStKostenAngerechnetFieldSpecified As Boolean
+
+ Private beguenstMengeAngerechnetField As Decimal
+
+ Private beguenstMengeAngerechnetFieldSpecified As Boolean
+
+ Private masseinhBegMengeAngField As String
+
+ Private qualifBegMengeAngField As String
+
+ Private warenMengeField As List(Of KontingentAngerechnetWarenMengeTAXTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.warenMengeField = New List(Of KontingentAngerechnetWarenMengeTAXTyp)()
+ End Sub
+
+ Public Property KontNrAngerechnet() As String
+ Get
+ Return Me.kontNrAngerechnetField
+ End Get
+ Set
+ Me.kontNrAngerechnetField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertAngerechnet() As Decimal
+ Get
+ Return Me.zollwertAngerechnetField
+ End Get
+ Set
+ Me.zollwertAngerechnetField = Value
+ End Set
+ End Property
+
+
+ Public Property ZollwertAngerechnetSpecified() As Boolean
+ Get
+ Return Me.zollwertAngerechnetFieldSpecified
+ End Get
+ Set
+ Me.zollwertAngerechnetFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property EUStKostenAngerechnet() As Decimal
+ Get
+ Return Me.eUStKostenAngerechnetField
+ End Get
+ Set
+ Me.eUStKostenAngerechnetField = Value
+ End Set
+ End Property
+
+
+ Public Property EUStKostenAngerechnetSpecified() As Boolean
+ Get
+ Return Me.eUStKostenAngerechnetFieldSpecified
+ End Get
+ Set
+ Me.eUStKostenAngerechnetFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property BeguenstMengeAngerechnet() As Decimal
+ Get
+ Return Me.beguenstMengeAngerechnetField
+ End Get
+ Set
+ Me.beguenstMengeAngerechnetField = Value
+ End Set
+ End Property
+
+
+ Public Property BeguenstMengeAngerechnetSpecified() As Boolean
+ Get
+ Return Me.beguenstMengeAngerechnetFieldSpecified
+ End Get
+ Set
+ Me.beguenstMengeAngerechnetFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property MasseinhBegMengeAng() As String
+ Get
+ Return Me.masseinhBegMengeAngField
+ End Get
+ Set
+ Me.masseinhBegMengeAngField = Value
+ End Set
+ End Property
+
+ Public Property QualifBegMengeAng() As String
+ Get
+ Return Me.qualifBegMengeAngField
+ End Get
+ Set
+ Me.qualifBegMengeAngField = Value
+ End Set
+ End Property
+
+ Public Property WarenMenge() As List(Of KontingentAngerechnetWarenMengeTAXTyp)
+ Get
+ Return Me.warenMengeField
+ End Get
+ Set
+ Me.warenMengeField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KontingentAngerechnetTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KontingentAngerechnetTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KontingentAngerechnetTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KontingentAngerechnetTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KontingentAngerechnetTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KontingentAngerechnetTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KontingentAngerechnetTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KontingentAngerechnetTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KontingentAngerechnetTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KontingentAngerechnetTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KontingentAngerechnetTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KontingentAngerechnetTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KontingentAngerechnetTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KontingentAngerechnetTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KontingentAngerechnetTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KontingentAngerechnetTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class SonderfalleingabeTAXTyp
+
+ Private sonderabgabenGruppeField As String
+
+ Private anwendungsartField As String
+
+ Private satzBetragFaktorField As Decimal
+
+ Private satzBetragFaktorFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property SonderabgabenGruppe() As String
+ Get
+ Return Me.sonderabgabenGruppeField
+ End Get
+ Set
+ Me.sonderabgabenGruppeField = Value
+ End Set
+ End Property
+
+ Public Property Anwendungsart() As String
+ Get
+ Return Me.anwendungsartField
+ End Get
+ Set
+ Me.anwendungsartField = Value
+ End Set
+ End Property
+
+ Public Property SatzBetragFaktor() As Decimal
+ Get
+ Return Me.satzBetragFaktorField
+ End Get
+ Set
+ Me.satzBetragFaktorField = Value
+ End Set
+ End Property
+
+
+ Public Property SatzBetragFaktorSpecified() As Boolean
+ Get
+ Return Me.satzBetragFaktorFieldSpecified
+ End Get
+ Set
+ Me.satzBetragFaktorFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(SonderfalleingabeTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current SonderfalleingabeTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an SonderfalleingabeTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output SonderfalleingabeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderfalleingabeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderfalleingabeTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderfalleingabeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As SonderfalleingabeTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), SonderfalleingabeTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current SonderfalleingabeTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an SonderfalleingabeTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output SonderfalleingabeTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderfalleingabeTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderfalleingabeTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderfalleingabeTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As SonderfalleingabeTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EZAAVVeredelungserzeugnisTyp
+
+ Private warenbezeichnungField As String
+
+ Private ausbeuteartField As String
+
+ Private ausbeutesatzField As String
+
+ Private kNCodeField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Warenbezeichnung() As String
+ Get
+ Return Me.warenbezeichnungField
+ End Get
+ Set
+ Me.warenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property Ausbeuteart() As String
+ Get
+ Return Me.ausbeuteartField
+ End Get
+ Set
+ Me.ausbeuteartField = Value
+ End Set
+ End Property
+
+ Public Property Ausbeutesatz() As String
+ Get
+ Return Me.ausbeutesatzField
+ End Get
+ Set
+ Me.ausbeutesatzField = Value
+ End Set
+ End Property
+
+ Public Property KNCode() As String
+ Get
+ Return Me.kNCodeField
+ End Get
+ Set
+ Me.kNCodeField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EZAAVVeredelungserzeugnisTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EZAAVVeredelungserzeugnisTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EZAAVVeredelungserzeugnisTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EZAAVVeredelungserzeugnisTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVVeredelungserzeugnisTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVVeredelungserzeugnisTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVVeredelungserzeugnisTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EZAAVVeredelungserzeugnisTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EZAAVVeredelungserzeugnisTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EZAAVVeredelungserzeugnisTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EZAAVVeredelungserzeugnisTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EZAAVVeredelungserzeugnisTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVVeredelungserzeugnisTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVVeredelungserzeugnisTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVVeredelungserzeugnisTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EZAAVVeredelungserzeugnisTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EZAAVAngabenPosTyp
+
+ Private aVWirtschaftlicheVoraussetzungenField As String
+
+ Private aVVeredelungserzeugnisField As List(Of EZAAVVeredelungserzeugnisTyp)
+
+ Private aVNaemlichkeitsmittelField As String
+
+ Private aVErlaeuterungNaemlichkeitField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.aVVeredelungserzeugnisField = New List(Of EZAAVVeredelungserzeugnisTyp)()
+ End Sub
+
+ Public Property AVWirtschaftlicheVoraussetzungen() As String
+ Get
+ Return Me.aVWirtschaftlicheVoraussetzungenField
+ End Get
+ Set
+ Me.aVWirtschaftlicheVoraussetzungenField = Value
+ End Set
+ End Property
+
+ Public Property AVVeredelungserzeugnis() As List(Of EZAAVVeredelungserzeugnisTyp)
+ Get
+ Return Me.aVVeredelungserzeugnisField
+ End Get
+ Set
+ Me.aVVeredelungserzeugnisField = Value
+ End Set
+ End Property
+
+ Public Property AVNaemlichkeitsmittel() As String
+ Get
+ Return Me.aVNaemlichkeitsmittelField
+ End Get
+ Set
+ Me.aVNaemlichkeitsmittelField = Value
+ End Set
+ End Property
+
+ Public Property AVErlaeuterungNaemlichkeit() As String
+ Get
+ Return Me.aVErlaeuterungNaemlichkeitField
+ End Get
+ Set
+ Me.aVErlaeuterungNaemlichkeitField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EZAAVAngabenPosTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EZAAVAngabenPosTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EZAAVAngabenPosTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EZAAVAngabenPosTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenPosTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenPosTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenPosTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EZAAVAngabenPosTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EZAAVAngabenPosTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EZAAVAngabenPosTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EZAAVAngabenPosTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EZAAVAngabenPosTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenPosTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenPosTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenPosTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EZAAVAngabenPosTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AngemeldeteUnterlageTAXTyp
+
+ Private unterlageArtField As String
+
+ Private unterlageBereichField As String
+
+ Private unterlageNrField As String
+
+ Private anerkennungKzField As String
+
+ Private abschreibungKzField As String
+
+ Private einbehaltenKzField As String
+
+ Private periodischeVorlageKzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property UnterlageArt() As String
+ Get
+ Return Me.unterlageArtField
+ End Get
+ Set
+ Me.unterlageArtField = Value
+ End Set
+ End Property
+
+ Public Property UnterlageBereich() As String
+ Get
+ Return Me.unterlageBereichField
+ End Get
+ Set
+ Me.unterlageBereichField = Value
+ End Set
+ End Property
+
+ Public Property UnterlageNr() As String
+ Get
+ Return Me.unterlageNrField
+ End Get
+ Set
+ Me.unterlageNrField = Value
+ End Set
+ End Property
+
+ Public Property AnerkennungKz() As String
+ Get
+ Return Me.anerkennungKzField
+ End Get
+ Set
+ Me.anerkennungKzField = Value
+ End Set
+ End Property
+
+ Public Property AbschreibungKz() As String
+ Get
+ Return Me.abschreibungKzField
+ End Get
+ Set
+ Me.abschreibungKzField = Value
+ End Set
+ End Property
+
+ Public Property EinbehaltenKz() As String
+ Get
+ Return Me.einbehaltenKzField
+ End Get
+ Set
+ Me.einbehaltenKzField = Value
+ End Set
+ End Property
+
+ Public Property PeriodischeVorlageKz() As String
+ Get
+ Return Me.periodischeVorlageKzField
+ End Get
+ Set
+ Me.periodischeVorlageKzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AngemeldeteUnterlageTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AngemeldeteUnterlageTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AngemeldeteUnterlageTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AngemeldeteUnterlageTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AngemeldeteUnterlageTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AngemeldeteUnterlageTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AngemeldeteUnterlageTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AngemeldeteUnterlageTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AngemeldeteUnterlageTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AngemeldeteUnterlageTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AngemeldeteUnterlageTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AngemeldeteUnterlageTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AngemeldeteUnterlageTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AngemeldeteUnterlageTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AngemeldeteUnterlageTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AngemeldeteUnterlageTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KursAbzugHinzuTAXTyp
+
+ Private artAbHinzuField As String
+
+ Private angewandterKursField As Decimal
+
+ Private angewandterKursFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ArtAbHinzu() As String
+ Get
+ Return Me.artAbHinzuField
+ End Get
+ Set
+ Me.artAbHinzuField = Value
+ End Set
+ End Property
+
+ Public Property AngewandterKurs() As Decimal
+ Get
+ Return Me.angewandterKursField
+ End Get
+ Set
+ Me.angewandterKursField = Value
+ End Set
+ End Property
+
+
+ Public Property AngewandterKursSpecified() As Boolean
+ Get
+ Return Me.angewandterKursFieldSpecified
+ End Get
+ Set
+ Me.angewandterKursFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KursAbzugHinzuTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KursAbzugHinzuTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KursAbzugHinzuTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KursAbzugHinzuTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KursAbzugHinzuTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KursAbzugHinzuTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KursAbzugHinzuTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KursAbzugHinzuTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KursAbzugHinzuTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KursAbzugHinzuTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KursAbzugHinzuTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KursAbzugHinzuTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KursAbzugHinzuTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KursAbzugHinzuTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KursAbzugHinzuTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KursAbzugHinzuTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PositionAbgabenbescheidEinfuhrTyp
+
+ Private positionsNrField As String
+
+ Private erledigungKzField As String
+
+ Private warenNummerEZTField As String
+
+ Private warenNummerZusatzCodeField As List(Of String)
+
+ Private warenBezeichnungField As String
+
+ Private beschauMitteilungField As String
+
+ Private erledigungMitteilungField As String
+
+ Private ablehnungAenderungField As String
+
+ Private weitererNachweisField As String
+
+ Private gewaehrteBeguenstigungField As String
+
+ Private anordnungKzField As String
+
+ Private eUStWertField As Decimal
+
+ Private eUStWertFieldSpecified As Boolean
+
+ Private kostenFuerEUStField As Decimal
+
+ Private kostenFuerEUStFieldSpecified As Boolean
+
+ Private zollWertField As Decimal
+
+ Private zollWertFieldSpecified As Boolean
+
+ Private annahmeAenderungField As String
+
+ Private sicherheitsLeistungBetragField As Decimal
+
+ Private sicherheitsLeistungBetragFieldSpecified As Boolean
+
+ Private registrierNrvZAAZField As String
+
+ Private positionsNrInvZAAZField As String
+
+ Private annahmeKzField As String
+
+ Private annahmeDatumField As Date
+
+ Private annahmeDatumFieldSpecified As Boolean
+
+ Private ueberlassungDatumField As Date
+
+ Private ueberlassungDatumFieldSpecified As Boolean
+
+ Private lagerfristField As Date
+
+ Private lagerfristFieldSpecified As Boolean
+
+ Private wiederAusfuhrFristField As Date
+
+ Private wiederAusfuhrFristFieldSpecified As Boolean
+
+ Private fristWeitererNachweisField As Date
+
+ Private fristWeitererNachweisFieldSpecified As Boolean
+
+ Private befundField As String
+
+ Private dV1AbweichendFestgesetztKzField As String
+
+ Private sonderfalleingabeKzField As String
+
+ Private angewandterKursNettopreisField As Decimal
+
+ Private angewandterKursNettopreisFieldSpecified As Boolean
+
+ Private angewandterKursMittelbZahlungenField As Decimal
+
+ Private angewandterKursMittelbZahlungenFieldSpecified As Boolean
+
+ Private abzugHinzurechnungenField As List(Of KursAbzugHinzuTAXTyp)
+
+ Private luftFrachtGesamtProzentsatzField As String
+
+ Private luftFrachtGesamtAngewandterKursField As Decimal
+
+ Private luftFrachtGesamtAngewandterKursFieldSpecified As Boolean
+
+ Private angemeldeteUnterlageField As List(Of AngemeldeteUnterlageTAXTyp)
+
+ Private eZAAVAngabenPosField As EZAAVAngabenPosTyp
+
+ Private sonderabgabenGruppeField As List(Of SonderfalleingabeTAXTyp)
+
+ Private kontNrAngewandtField As List(Of String)
+
+ Private kontingentAngerechnetField As List(Of KontingentAngerechnetTAXTyp)
+
+ Private abweichendeFestsetzungField As List(Of AbweichendeFestsetzungTAXTyp)
+
+ Private pauschalierungField As PauschalierungTAXTyp
+
+ Private abgabenField As List(Of AbgabengruppeTAXTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.abgabenField = New List(Of AbgabengruppeTAXTyp)()
+ Me.pauschalierungField = New PauschalierungTAXTyp()
+ Me.abweichendeFestsetzungField = New List(Of AbweichendeFestsetzungTAXTyp)()
+ Me.kontingentAngerechnetField = New List(Of KontingentAngerechnetTAXTyp)()
+ Me.kontNrAngewandtField = New List(Of String)()
+ Me.sonderabgabenGruppeField = New List(Of SonderfalleingabeTAXTyp)()
+ Me.eZAAVAngabenPosField = New EZAAVAngabenPosTyp()
+ Me.angemeldeteUnterlageField = New List(Of AngemeldeteUnterlageTAXTyp)()
+ Me.abzugHinzurechnungenField = New List(Of KursAbzugHinzuTAXTyp)()
+ Me.warenNummerZusatzCodeField = New List(Of String)()
+ End Sub
+
+ Public Property PositionsNr() As String
+ Get
+ Return Me.positionsNrField
+ End Get
+ Set
+ Me.positionsNrField = Value
+ End Set
+ End Property
+
+ Public Property ErledigungKz() As String
+ Get
+ Return Me.erledigungKzField
+ End Get
+ Set
+ Me.erledigungKzField = Value
+ End Set
+ End Property
+
+ Public Property WarenNummerEZT() As String
+ Get
+ Return Me.warenNummerEZTField
+ End Get
+ Set
+ Me.warenNummerEZTField = Value
+ End Set
+ End Property
+
+ Public Property WarenNummerZusatzCode() As List(Of String)
+ Get
+ Return Me.warenNummerZusatzCodeField
+ End Get
+ Set
+ Me.warenNummerZusatzCodeField = Value
+ End Set
+ End Property
+
+ Public Property WarenBezeichnung() As String
+ Get
+ Return Me.warenBezeichnungField
+ End Get
+ Set
+ Me.warenBezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property BeschauMitteilung() As String
+ Get
+ Return Me.beschauMitteilungField
+ End Get
+ Set
+ Me.beschauMitteilungField = Value
+ End Set
+ End Property
+
+ Public Property ErledigungMitteilung() As String
+ Get
+ Return Me.erledigungMitteilungField
+ End Get
+ Set
+ Me.erledigungMitteilungField = Value
+ End Set
+ End Property
+
+ Public Property AblehnungAenderung() As String
+ Get
+ Return Me.ablehnungAenderungField
+ End Get
+ Set
+ Me.ablehnungAenderungField = Value
+ End Set
+ End Property
+
+ Public Property WeitererNachweis() As String
+ Get
+ Return Me.weitererNachweisField
+ End Get
+ Set
+ Me.weitererNachweisField = Value
+ End Set
+ End Property
+
+ Public Property GewaehrteBeguenstigung() As String
+ Get
+ Return Me.gewaehrteBeguenstigungField
+ End Get
+ Set
+ Me.gewaehrteBeguenstigungField = Value
+ End Set
+ End Property
+
+ Public Property AnordnungKz() As String
+ Get
+ Return Me.anordnungKzField
+ End Get
+ Set
+ Me.anordnungKzField = Value
+ End Set
+ End Property
+
+ Public Property EUStWert() As Decimal
+ Get
+ Return Me.eUStWertField
+ End Get
+ Set
+ Me.eUStWertField = Value
+ End Set
+ End Property
+
+
+ Public Property EUStWertSpecified() As Boolean
+ Get
+ Return Me.eUStWertFieldSpecified
+ End Get
+ Set
+ Me.eUStWertFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property KostenFuerEUSt() As Decimal
+ Get
+ Return Me.kostenFuerEUStField
+ End Get
+ Set
+ Me.kostenFuerEUStField = Value
+ End Set
+ End Property
+
+
+ Public Property KostenFuerEUStSpecified() As Boolean
+ Get
+ Return Me.kostenFuerEUStFieldSpecified
+ End Get
+ Set
+ Me.kostenFuerEUStFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property ZollWert() As Decimal
+ Get
+ Return Me.zollWertField
+ End Get
+ Set
+ Me.zollWertField = Value
+ End Set
+ End Property
+
+
+ Public Property ZollWertSpecified() As Boolean
+ Get
+ Return Me.zollWertFieldSpecified
+ End Get
+ Set
+ Me.zollWertFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AnnahmeAenderung() As String
+ Get
+ Return Me.annahmeAenderungField
+ End Get
+ Set
+ Me.annahmeAenderungField = Value
+ End Set
+ End Property
+
+ Public Property SicherheitsLeistungBetrag() As Decimal
+ Get
+ Return Me.sicherheitsLeistungBetragField
+ End Get
+ Set
+ Me.sicherheitsLeistungBetragField = Value
+ End Set
+ End Property
+
+
+ Public Property SicherheitsLeistungBetragSpecified() As Boolean
+ Get
+ Return Me.sicherheitsLeistungBetragFieldSpecified
+ End Get
+ Set
+ Me.sicherheitsLeistungBetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property RegistrierNrvZAAZ() As String
+ Get
+ Return Me.registrierNrvZAAZField
+ End Get
+ Set
+ Me.registrierNrvZAAZField = Value
+ End Set
+ End Property
+
+ Public Property PositionsNrInvZAAZ() As String
+ Get
+ Return Me.positionsNrInvZAAZField
+ End Get
+ Set
+ Me.positionsNrInvZAAZField = Value
+ End Set
+ End Property
+
+ Public Property AnnahmeKz() As String
+ Get
+ Return Me.annahmeKzField
+ End Get
+ Set
+ Me.annahmeKzField = Value
+ End Set
+ End Property
+
+ Public Property AnnahmeDatum() As Date
+ Get
+ Return Me.annahmeDatumField
+ End Get
+ Set
+ Me.annahmeDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property AnnahmeDatumSpecified() As Boolean
+ Get
+ Return Me.annahmeDatumFieldSpecified
+ End Get
+ Set
+ Me.annahmeDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property UeberlassungDatum() As Date
+ Get
+ Return Me.ueberlassungDatumField
+ End Get
+ Set
+ Me.ueberlassungDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property UeberlassungDatumSpecified() As Boolean
+ Get
+ Return Me.ueberlassungDatumFieldSpecified
+ End Get
+ Set
+ Me.ueberlassungDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Lagerfrist() As Date
+ Get
+ Return Me.lagerfristField
+ End Get
+ Set
+ Me.lagerfristField = Value
+ End Set
+ End Property
+
+
+ Public Property LagerfristSpecified() As Boolean
+ Get
+ Return Me.lagerfristFieldSpecified
+ End Get
+ Set
+ Me.lagerfristFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property WiederAusfuhrFrist() As Date
+ Get
+ Return Me.wiederAusfuhrFristField
+ End Get
+ Set
+ Me.wiederAusfuhrFristField = Value
+ End Set
+ End Property
+
+
+ Public Property WiederAusfuhrFristSpecified() As Boolean
+ Get
+ Return Me.wiederAusfuhrFristFieldSpecified
+ End Get
+ Set
+ Me.wiederAusfuhrFristFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property FristWeitererNachweis() As Date
+ Get
+ Return Me.fristWeitererNachweisField
+ End Get
+ Set
+ Me.fristWeitererNachweisField = Value
+ End Set
+ End Property
+
+
+ Public Property FristWeitererNachweisSpecified() As Boolean
+ Get
+ Return Me.fristWeitererNachweisFieldSpecified
+ End Get
+ Set
+ Me.fristWeitererNachweisFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Befund() As String
+ Get
+ Return Me.befundField
+ End Get
+ Set
+ Me.befundField = Value
+ End Set
+ End Property
+
+ Public Property DV1AbweichendFestgesetztKz() As String
+ Get
+ Return Me.dV1AbweichendFestgesetztKzField
+ End Get
+ Set
+ Me.dV1AbweichendFestgesetztKzField = Value
+ End Set
+ End Property
+
+ Public Property SonderfalleingabeKz() As String
+ Get
+ Return Me.sonderfalleingabeKzField
+ End Get
+ Set
+ Me.sonderfalleingabeKzField = Value
+ End Set
+ End Property
+
+ Public Property AngewandterKursNettopreis() As Decimal
+ Get
+ Return Me.angewandterKursNettopreisField
+ End Get
+ Set
+ Me.angewandterKursNettopreisField = Value
+ End Set
+ End Property
+
+
+ Public Property AngewandterKursNettopreisSpecified() As Boolean
+ Get
+ Return Me.angewandterKursNettopreisFieldSpecified
+ End Get
+ Set
+ Me.angewandterKursNettopreisFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AngewandterKursMittelbZahlungen() As Decimal
+ Get
+ Return Me.angewandterKursMittelbZahlungenField
+ End Get
+ Set
+ Me.angewandterKursMittelbZahlungenField = Value
+ End Set
+ End Property
+
+
+ Public Property AngewandterKursMittelbZahlungenSpecified() As Boolean
+ Get
+ Return Me.angewandterKursMittelbZahlungenFieldSpecified
+ End Get
+ Set
+ Me.angewandterKursMittelbZahlungenFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbzugHinzurechnungen() As List(Of KursAbzugHinzuTAXTyp)
+ Get
+ Return Me.abzugHinzurechnungenField
+ End Get
+ Set
+ Me.abzugHinzurechnungenField = Value
+ End Set
+ End Property
+
+ Public Property LuftFrachtGesamtProzentsatz() As String
+ Get
+ Return Me.luftFrachtGesamtProzentsatzField
+ End Get
+ Set
+ Me.luftFrachtGesamtProzentsatzField = Value
+ End Set
+ End Property
+
+ Public Property LuftFrachtGesamtAngewandterKurs() As Decimal
+ Get
+ Return Me.luftFrachtGesamtAngewandterKursField
+ End Get
+ Set
+ Me.luftFrachtGesamtAngewandterKursField = Value
+ End Set
+ End Property
+
+
+ Public Property LuftFrachtGesamtAngewandterKursSpecified() As Boolean
+ Get
+ Return Me.luftFrachtGesamtAngewandterKursFieldSpecified
+ End Get
+ Set
+ Me.luftFrachtGesamtAngewandterKursFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AngemeldeteUnterlage() As List(Of AngemeldeteUnterlageTAXTyp)
+ Get
+ Return Me.angemeldeteUnterlageField
+ End Get
+ Set
+ Me.angemeldeteUnterlageField = Value
+ End Set
+ End Property
+
+ Public Property EZAAVAngabenPos() As EZAAVAngabenPosTyp
+ Get
+ Return Me.eZAAVAngabenPosField
+ End Get
+ Set
+ Me.eZAAVAngabenPosField = Value
+ End Set
+ End Property
+
+ Public Property SonderabgabenGruppe() As List(Of SonderfalleingabeTAXTyp)
+ Get
+ Return Me.sonderabgabenGruppeField
+ End Get
+ Set
+ Me.sonderabgabenGruppeField = Value
+ End Set
+ End Property
+
+ Public Property KontNrAngewandt() As List(Of String)
+ Get
+ Return Me.kontNrAngewandtField
+ End Get
+ Set
+ Me.kontNrAngewandtField = Value
+ End Set
+ End Property
+
+ Public Property KontingentAngerechnet() As List(Of KontingentAngerechnetTAXTyp)
+ Get
+ Return Me.kontingentAngerechnetField
+ End Get
+ Set
+ Me.kontingentAngerechnetField = Value
+ End Set
+ End Property
+
+ Public Property AbweichendeFestsetzung() As List(Of AbweichendeFestsetzungTAXTyp)
+ Get
+ Return Me.abweichendeFestsetzungField
+ End Get
+ Set
+ Me.abweichendeFestsetzungField = Value
+ End Set
+ End Property
+
+ Public Property Pauschalierung() As PauschalierungTAXTyp
+ Get
+ Return Me.pauschalierungField
+ End Get
+ Set
+ Me.pauschalierungField = Value
+ End Set
+ End Property
+
+ Public Property Abgaben() As List(Of AbgabengruppeTAXTyp)
+ Get
+ Return Me.abgabenField
+ End Get
+ Set
+ Me.abgabenField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PositionAbgabenbescheidEinfuhrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PositionAbgabenbescheidEinfuhrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PositionAbgabenbescheidEinfuhrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PositionAbgabenbescheidEinfuhrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionAbgabenbescheidEinfuhrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionAbgabenbescheidEinfuhrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionAbgabenbescheidEinfuhrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PositionAbgabenbescheidEinfuhrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PositionAbgabenbescheidEinfuhrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PositionAbgabenbescheidEinfuhrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PositionAbgabenbescheidEinfuhrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PositionAbgabenbescheidEinfuhrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionAbgabenbescheidEinfuhrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionAbgabenbescheidEinfuhrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionAbgabenbescheidEinfuhrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PositionAbgabenbescheidEinfuhrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EZAAVAngabenKopfWeitererVeredelungsortTyp
+
+ Private strasseField As String
+
+ Private landField As String
+
+ Private pLZField As String
+
+ Private ortField As String
+
+ Private ortsteilField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Strasse() As String
+ Get
+ Return Me.strasseField
+ End Get
+ Set
+ Me.strasseField = Value
+ End Set
+ End Property
+
+ Public Property Land() As String
+ Get
+ Return Me.landField
+ End Get
+ Set
+ Me.landField = Value
+ End Set
+ End Property
+
+ Public Property PLZ() As String
+ Get
+ Return Me.pLZField
+ End Get
+ Set
+ Me.pLZField = Value
+ End Set
+ End Property
+
+ Public Property Ort() As String
+ Get
+ Return Me.ortField
+ End Get
+ Set
+ Me.ortField = Value
+ End Set
+ End Property
+
+ Public Property Ortsteil() As String
+ Get
+ Return Me.ortsteilField
+ End Get
+ Set
+ Me.ortsteilField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EZAAVAngabenKopfWeitererVeredelungsortTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EZAAVAngabenKopfWeitererVeredelungsortTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EZAAVAngabenKopfWeitererVeredelungsortTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EZAAVAngabenKopfWeitererVeredelungsortTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenKopfWeitererVeredelungsortTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenKopfWeitererVeredelungsortTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenKopfWeitererVeredelungsortTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EZAAVAngabenKopfWeitererVeredelungsortTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EZAAVAngabenKopfWeitererVeredelungsortTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EZAAVAngabenKopfWeitererVeredelungsortTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EZAAVAngabenKopfWeitererVeredelungsortTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EZAAVAngabenKopfWeitererVeredelungsortTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenKopfWeitererVeredelungsortTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenKopfWeitererVeredelungsortTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenKopfWeitererVeredelungsortTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EZAAVAngabenKopfWeitererVeredelungsortTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EZAAVAngabenKopfTyp
+
+ Private kzBemessungEinfuhrabgabenbetragField As String
+
+ Private kzAbrechnungField As String
+
+ Private kzVereinfBefoerderungField As String
+
+ Private zusaetzlicheAngabenField As String
+
+ Private kzVerzichtSicherheitField As String
+
+ Private erlaeuterungenZurSicherheitField As String
+
+ Private betragDerSicherheitField As Decimal
+
+ Private betragDerSicherheitFieldSpecified As Boolean
+
+ Private deutschesUeHZAField As String
+
+ Private einzelheitenGeplantVeredelungsvorgangField As String
+
+ Private hauptbuchhaltungStrasseField As String
+
+ Private hauptbuchhaltungLandField As String
+
+ Private hauptbuchhaltungPLZField As String
+
+ Private hauptbuchhaltungOrtField As String
+
+ Private hauptbuchhaltungOrtsteilField As String
+
+ Private veredelungStrasseField As String
+
+ Private veredelungLandField As String
+
+ Private veredelungPLZField As String
+
+ Private veredelungOrtField As String
+
+ Private veredelungOrtsteilField As String
+
+ Private weitererVeredelungsortField As List(Of EZAAVAngabenKopfWeitererVeredelungsortTyp)
+
+ Private zollstelleErledigungField As List(Of String)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.zollstelleErledigungField = New List(Of String)()
+ Me.weitererVeredelungsortField = New List(Of EZAAVAngabenKopfWeitererVeredelungsortTyp)()
+ End Sub
+
+ Public Property KzBemessungEinfuhrabgabenbetrag() As String
+ Get
+ Return Me.kzBemessungEinfuhrabgabenbetragField
+ End Get
+ Set
+ Me.kzBemessungEinfuhrabgabenbetragField = Value
+ End Set
+ End Property
+
+ Public Property KzAbrechnung() As String
+ Get
+ Return Me.kzAbrechnungField
+ End Get
+ Set
+ Me.kzAbrechnungField = Value
+ End Set
+ End Property
+
+ Public Property KzVereinfBefoerderung() As String
+ Get
+ Return Me.kzVereinfBefoerderungField
+ End Get
+ Set
+ Me.kzVereinfBefoerderungField = Value
+ End Set
+ End Property
+
+ Public Property ZusaetzlicheAngaben() As String
+ Get
+ Return Me.zusaetzlicheAngabenField
+ End Get
+ Set
+ Me.zusaetzlicheAngabenField = Value
+ End Set
+ End Property
+
+ Public Property KzVerzichtSicherheit() As String
+ Get
+ Return Me.kzVerzichtSicherheitField
+ End Get
+ Set
+ Me.kzVerzichtSicherheitField = Value
+ End Set
+ End Property
+
+ Public Property ErlaeuterungenZurSicherheit() As String
+ Get
+ Return Me.erlaeuterungenZurSicherheitField
+ End Get
+ Set
+ Me.erlaeuterungenZurSicherheitField = Value
+ End Set
+ End Property
+
+ Public Property BetragDerSicherheit() As Decimal
+ Get
+ Return Me.betragDerSicherheitField
+ End Get
+ Set
+ Me.betragDerSicherheitField = Value
+ End Set
+ End Property
+
+
+ Public Property BetragDerSicherheitSpecified() As Boolean
+ Get
+ Return Me.betragDerSicherheitFieldSpecified
+ End Get
+ Set
+ Me.betragDerSicherheitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property DeutschesUeHZA() As String
+ Get
+ Return Me.deutschesUeHZAField
+ End Get
+ Set
+ Me.deutschesUeHZAField = Value
+ End Set
+ End Property
+
+ Public Property EinzelheitenGeplantVeredelungsvorgang() As String
+ Get
+ Return Me.einzelheitenGeplantVeredelungsvorgangField
+ End Get
+ Set
+ Me.einzelheitenGeplantVeredelungsvorgangField = Value
+ End Set
+ End Property
+
+ Public Property HauptbuchhaltungStrasse() As String
+ Get
+ Return Me.hauptbuchhaltungStrasseField
+ End Get
+ Set
+ Me.hauptbuchhaltungStrasseField = Value
+ End Set
+ End Property
+
+ Public Property HauptbuchhaltungLand() As String
+ Get
+ Return Me.hauptbuchhaltungLandField
+ End Get
+ Set
+ Me.hauptbuchhaltungLandField = Value
+ End Set
+ End Property
+
+ Public Property HauptbuchhaltungPLZ() As String
+ Get
+ Return Me.hauptbuchhaltungPLZField
+ End Get
+ Set
+ Me.hauptbuchhaltungPLZField = Value
+ End Set
+ End Property
+
+ Public Property HauptbuchhaltungOrt() As String
+ Get
+ Return Me.hauptbuchhaltungOrtField
+ End Get
+ Set
+ Me.hauptbuchhaltungOrtField = Value
+ End Set
+ End Property
+
+ Public Property HauptbuchhaltungOrtsteil() As String
+ Get
+ Return Me.hauptbuchhaltungOrtsteilField
+ End Get
+ Set
+ Me.hauptbuchhaltungOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungStrasse() As String
+ Get
+ Return Me.veredelungStrasseField
+ End Get
+ Set
+ Me.veredelungStrasseField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungLand() As String
+ Get
+ Return Me.veredelungLandField
+ End Get
+ Set
+ Me.veredelungLandField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungPLZ() As String
+ Get
+ Return Me.veredelungPLZField
+ End Get
+ Set
+ Me.veredelungPLZField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungOrt() As String
+ Get
+ Return Me.veredelungOrtField
+ End Get
+ Set
+ Me.veredelungOrtField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungOrtsteil() As String
+ Get
+ Return Me.veredelungOrtsteilField
+ End Get
+ Set
+ Me.veredelungOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property WeitererVeredelungsort() As List(Of EZAAVAngabenKopfWeitererVeredelungsortTyp)
+ Get
+ Return Me.weitererVeredelungsortField
+ End Get
+ Set
+ Me.weitererVeredelungsortField = Value
+ End Set
+ End Property
+
+ Public Property ZollstelleErledigung() As List(Of String)
+ Get
+ Return Me.zollstelleErledigungField
+ End Get
+ Set
+ Me.zollstelleErledigungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EZAAVAngabenKopfTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EZAAVAngabenKopfTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EZAAVAngabenKopfTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EZAAVAngabenKopfTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenKopfTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenKopfTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EZAAVAngabenKopfTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EZAAVAngabenKopfTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EZAAVAngabenKopfTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EZAAVAngabenKopfTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EZAAVAngabenKopfTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EZAAVAngabenKopfTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenKopfTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EZAAVAngabenKopfTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EZAAVAngabenKopfTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EZAAVAngabenKopfTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class SicherheitTAXTyp
+
+ Private einzelbetragUnbareSicherheitField As Decimal
+
+ Private einzelbetragUnbareSicherheitFieldSpecified As Boolean
+
+ Private artUnbareSicherheitsleistungField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property EinzelbetragUnbareSicherheit() As Decimal
+ Get
+ Return Me.einzelbetragUnbareSicherheitField
+ End Get
+ Set
+ Me.einzelbetragUnbareSicherheitField = Value
+ End Set
+ End Property
+
+
+ Public Property EinzelbetragUnbareSicherheitSpecified() As Boolean
+ Get
+ Return Me.einzelbetragUnbareSicherheitFieldSpecified
+ End Get
+ Set
+ Me.einzelbetragUnbareSicherheitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property ArtUnbareSicherheitsleistung() As String
+ Get
+ Return Me.artUnbareSicherheitsleistungField
+ End Get
+ Set
+ Me.artUnbareSicherheitsleistungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(SicherheitTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current SicherheitTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an SicherheitTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output SicherheitTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SicherheitTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SicherheitTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SicherheitTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As SicherheitTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), SicherheitTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current SicherheitTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an SicherheitTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output SicherheitTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SicherheitTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SicherheitTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SicherheitTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As SicherheitTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AbgabenNachArtKopfTAXTyp
+
+ Private abgabeArtField As String
+
+ Private abgabenbetragField As Decimal
+
+ Private abgabenbetragFieldSpecified As Boolean
+
+ Private zahlungsartField As String
+
+ Private aufschubnehmerNameField As String
+
+ Private aufschubnehmerTINField As String
+
+ Private artAufschubAntragField As String
+
+ Private kennBuchstabenAufschubField As String
+
+ Private aufschubkontoNrField As String
+
+ Private faelligkeitField As Date
+
+ Private faelligkeitFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property AbgabeArt() As String
+ Get
+ Return Me.abgabeArtField
+ End Get
+ Set
+ Me.abgabeArtField = Value
+ End Set
+ End Property
+
+ Public Property Abgabenbetrag() As Decimal
+ Get
+ Return Me.abgabenbetragField
+ End Get
+ Set
+ Me.abgabenbetragField = Value
+ End Set
+ End Property
+
+
+ Public Property AbgabenbetragSpecified() As Boolean
+ Get
+ Return Me.abgabenbetragFieldSpecified
+ End Get
+ Set
+ Me.abgabenbetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Zahlungsart() As String
+ Get
+ Return Me.zahlungsartField
+ End Get
+ Set
+ Me.zahlungsartField = Value
+ End Set
+ End Property
+
+ Public Property AufschubnehmerName() As String
+ Get
+ Return Me.aufschubnehmerNameField
+ End Get
+ Set
+ Me.aufschubnehmerNameField = Value
+ End Set
+ End Property
+
+ Public Property AufschubnehmerTIN() As String
+ Get
+ Return Me.aufschubnehmerTINField
+ End Get
+ Set
+ Me.aufschubnehmerTINField = Value
+ End Set
+ End Property
+
+ Public Property ArtAufschubAntrag() As String
+ Get
+ Return Me.artAufschubAntragField
+ End Get
+ Set
+ Me.artAufschubAntragField = Value
+ End Set
+ End Property
+
+ Public Property KennBuchstabenAufschub() As String
+ Get
+ Return Me.kennBuchstabenAufschubField
+ End Get
+ Set
+ Me.kennBuchstabenAufschubField = Value
+ End Set
+ End Property
+
+ Public Property AufschubkontoNr() As String
+ Get
+ Return Me.aufschubkontoNrField
+ End Get
+ Set
+ Me.aufschubkontoNrField = Value
+ End Set
+ End Property
+
+ Public Property Faelligkeit() As Date
+ Get
+ Return Me.faelligkeitField
+ End Get
+ Set
+ Me.faelligkeitField = Value
+ End Set
+ End Property
+
+
+ Public Property FaelligkeitSpecified() As Boolean
+ Get
+ Return Me.faelligkeitFieldSpecified
+ End Get
+ Set
+ Me.faelligkeitFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbgabenNachArtKopfTAXTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbgabenNachArtKopfTAXTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbgabenNachArtKopfTAXTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbgabenNachArtKopfTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenNachArtKopfTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenNachArtKopfTAXTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenNachArtKopfTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbgabenNachArtKopfTAXTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbgabenNachArtKopfTAXTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbgabenNachArtKopfTAXTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbgabenNachArtKopfTAXTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbgabenNachArtKopfTAXTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenNachArtKopfTAXTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenNachArtKopfTAXTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenNachArtKopfTAXTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbgabenNachArtKopfTAXTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KopfDatenEinfuhrbescheidTyp
+
+ Private artAnmeldungField As String
+
+ Private erledigungKopfKzField As String
+
+ Private waehrungField As String
+
+ Private gesamtabgabenBetragField As Decimal
+
+ Private gesamtabgabenBetragFieldSpecified As Boolean
+
+ Private abgabenbetragZuZahlenField As Decimal
+
+ Private abgabenbetragZuZahlenFieldSpecified As Boolean
+
+ Private abgabenbetragZuErstattenField As Decimal
+
+ Private abgabenbetragZuErstattenFieldSpecified As Boolean
+
+ Private vertretungsverhaeltnisField As String
+
+ Private zahlungsaufforderungArtAufschubField As String
+
+ Private zahlungsaufforderungArtAbgabenField As String
+
+ Private zahlungsaufforderungArtSicherheitField As String
+
+ Private kleinbetragKzField As String
+
+ Private kleinbetragRechtsbehelfField As String
+
+ Private gesamtschuldnerschaftKzField As String
+
+ Private eingangszollstelleGeaendertKzField As String
+
+ Private aVbewilligtKzField As String
+
+ Private benutzererstelltKzField As String
+
+ Private eUStKzField As String
+
+ Private registriernummerField As String
+
+ Private registrierdatumField As Date
+
+ Private registrierdatumFieldSpecified As Boolean
+
+ Private nizzaRegistrierKzField As String
+
+ Private nizzaRegistrierKzSicherheitField As String
+
+ Private abgabenNachArtField As List(Of AbgabenNachArtKopfTAXTyp)
+
+ Private gesamtsicherheitssummeField As Decimal
+
+ Private gesamtsicherheitssummeFieldSpecified As Boolean
+
+ Private errechneteSicherheitsSummeField As Decimal
+
+ Private errechneteSicherheitsSummeFieldSpecified As Boolean
+
+ Private unbarSicherheitsbetraegeField As Decimal
+
+ Private unbarSicherheitsbetraegeFieldSpecified As Boolean
+
+ Private barSicherheitsbetraegeField As Decimal
+
+ Private barSicherheitsbetraegeFieldSpecified As Boolean
+
+ Private freizugebenSicherheitField As Decimal
+
+ Private freizugebenSicherheitFieldSpecified As Boolean
+
+ Private auszuzahlenSicherheitField As Decimal
+
+ Private auszuzahlenSicherheitFieldSpecified As Boolean
+
+ Private einbehaltenSicherheitField As Decimal
+
+ Private einbehaltenSicherheitFieldSpecified As Boolean
+
+ Private sicherheitsleistungFormField As String
+
+ Private sicherheitsleistungsVerzichtField As String
+
+ Private auszahlungsArtField As String
+
+ Private unbareSicherheitenField As List(Of SicherheitTAXTyp)
+
+ Private bescheidendeDienststelleNrField As String
+
+ Private bescheidendeDienststelleNameField As String
+
+ Private bescheidendeDienststelleStrasseHausNrField As String
+
+ Private bescheidendeDienststelleOrtSField As String
+
+ Private bescheidendeDienststellePLZSField As String
+
+ Private bearbeiterField As String
+
+ Private bescheidendeDienststelleTelefonNrField As String
+
+ Private rechtsbehelfHauptzollamtField As String
+
+ Private rechtsbehelfHZAEmailAdresseField As String
+
+ Private rechtsbehelfHZADEmailAdresseField As String
+
+ Private rechtsbehelfHauptzollamtStrHausNrField As String
+
+ Private rechtsbehelfHauptzollamtPLZSField As String
+
+ Private rechtsbehelfHauptzollamtOrtSField As String
+
+ Private rechtsbehelfHauptzollamtOrtsteilField As String
+
+ Private rechtsbehelfHauptzollamtPostfachField As String
+
+ Private rechtsbehelfHauptzollamtPLZPField As String
+
+ Private rechtsbehelfHauptzollamtOrtPField As String
+
+ Private zollzahlstelleField As String
+
+ Private zollzahlstelleKreditinstitutField As String
+
+ Private zollzahlstelleStrasseHausNrField As String
+
+ Private zollzahlstellePLZSField As String
+
+ Private zollzahlstelleOrtSField As String
+
+ Private zollzahlstellePostfachField As String
+
+ Private zollzahlstellePLZPField As String
+
+ Private zollzahlstelleOrtPField As String
+
+ Private zollzahlstelleIBANField As String
+
+ Private zollzahlstelleBICField As String
+
+ Private anmelderEORIField As String
+
+ Private anmelderNLNRField As String
+
+ Private vorsteuerabzugKzField As String
+
+ Private anmelderNameField As String
+
+ Private anmelderNationalitaetField As String
+
+ Private anmelderStrasseHausNrField As String
+
+ Private anmelderPLZSField As String
+
+ Private anmelderOrtSField As String
+
+ Private anmelderOrtsteilField As String
+
+ Private vertreterEORIField As String
+
+ Private vertreterNLNRField As String
+
+ Private vertreterNameField As String
+
+ Private vertreterNationalitaetField As String
+
+ Private vertreterStrasseHausNrField As String
+
+ Private vertreterPLZSField As String
+
+ Private vertreterOrtSField As String
+
+ Private vertreterOrtsteilField As String
+
+ Private fRechnungEORIField As String
+
+ Private fRechnungNLNRField As String
+
+ Private fRechnungNationalitaetField As String
+
+ Private fRechnungNameField As String
+
+ Private fRechnungStrasseHausNrField As String
+
+ Private fRechnungPLZSField As String
+
+ Private fRechnungOrtSField As String
+
+ Private fRechnungOrtsteilField As String
+
+ Private empfaengerEORIField As String
+
+ Private empfaengerNLNRField As String
+
+ Private empfaengerNationalitaetField As String
+
+ Private empfaengerNameField As String
+
+ Private empfaengerStrasseHausNrField As String
+
+ Private empfaengerPLZSField As String
+
+ Private empfaengerOrtSField As String
+
+ Private empfaengerOrtsteilField As String
+
+ Private zahlungsEmpfaengerEORIField As String
+
+ Private zahlungsEmpfaengerNLNRField As String
+
+ Private zahlungsEmpfaengerKreditinstitutField As String
+
+ Private zahlungsEmpfaengerNameField As String
+
+ Private zahlungsEmpfaengerNationalitaetField As String
+
+ Private zahlungsEmpfaengerStrasseHausNrField As String
+
+ Private zahlungsEmpfaengerPLZSField As String
+
+ Private zahlungsEmpfaengerOrtSField As String
+
+ Private zahlungsEmpfaengerOrtsteilField As String
+
+ Private zahlungsEmpfaengerIBANField As String
+
+ Private zahlungsEmpfaengerBICField As String
+
+ Private erstellungsDatumBefundField As Date
+
+ Private erstellungsDatumBefundFieldSpecified As Boolean
+
+ Private erfassungsdatumField As Date
+
+ Private erfassungsdatumFieldSpecified As Boolean
+
+ Private barzahlungFaelligkeitField As Date
+
+ Private barzahlungFaelligkeitFieldSpecified As Boolean
+
+ Private sicherheitsleistungFaelligkeitField As Date
+
+ Private sicherheitsleistungFaelligkeitFieldSpecified As Boolean
+
+ Private abrechnungszeitraumBeginnField As Date
+
+ Private abrechnungszeitraumBeginnFieldSpecified As Boolean
+
+ Private abrechnungszeitraumEndeField As Date
+
+ Private abrechnungszeitraumEndeFieldSpecified As Boolean
+
+ Private zollbefundField As String
+
+ Private eZAAVAngabenKopfField As EZAAVAngabenKopfTyp
+
+ Private lieferbedingungCodeField As String
+
+ Private lieferbedingungTextField As String
+
+ Private lieferbedingungOrtField As String
+
+ Private lieferbedingungSchluesselField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.eZAAVAngabenKopfField = New EZAAVAngabenKopfTyp()
+ Me.unbareSicherheitenField = New List(Of SicherheitTAXTyp)()
+ Me.abgabenNachArtField = New List(Of AbgabenNachArtKopfTAXTyp)()
+ End Sub
+
+ Public Property ArtAnmeldung() As String
+ Get
+ Return Me.artAnmeldungField
+ End Get
+ Set
+ Me.artAnmeldungField = Value
+ End Set
+ End Property
+
+ Public Property ErledigungKopfKz() As String
+ Get
+ Return Me.erledigungKopfKzField
+ End Get
+ Set
+ Me.erledigungKopfKzField = Value
+ End Set
+ End Property
+
+ Public Property Waehrung() As String
+ Get
+ Return Me.waehrungField
+ End Get
+ Set
+ Me.waehrungField = Value
+ End Set
+ End Property
+
+ Public Property GesamtabgabenBetrag() As Decimal
+ Get
+ Return Me.gesamtabgabenBetragField
+ End Get
+ Set
+ Me.gesamtabgabenBetragField = Value
+ End Set
+ End Property
+
+
+ Public Property GesamtabgabenBetragSpecified() As Boolean
+ Get
+ Return Me.gesamtabgabenBetragFieldSpecified
+ End Get
+ Set
+ Me.gesamtabgabenBetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbgabenbetragZuZahlen() As Decimal
+ Get
+ Return Me.abgabenbetragZuZahlenField
+ End Get
+ Set
+ Me.abgabenbetragZuZahlenField = Value
+ End Set
+ End Property
+
+
+ Public Property AbgabenbetragZuZahlenSpecified() As Boolean
+ Get
+ Return Me.abgabenbetragZuZahlenFieldSpecified
+ End Get
+ Set
+ Me.abgabenbetragZuZahlenFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbgabenbetragZuErstatten() As Decimal
+ Get
+ Return Me.abgabenbetragZuErstattenField
+ End Get
+ Set
+ Me.abgabenbetragZuErstattenField = Value
+ End Set
+ End Property
+
+
+ Public Property AbgabenbetragZuErstattenSpecified() As Boolean
+ Get
+ Return Me.abgabenbetragZuErstattenFieldSpecified
+ End Get
+ Set
+ Me.abgabenbetragZuErstattenFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Vertretungsverhaeltnis() As String
+ Get
+ Return Me.vertretungsverhaeltnisField
+ End Get
+ Set
+ Me.vertretungsverhaeltnisField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsaufforderungArtAufschub() As String
+ Get
+ Return Me.zahlungsaufforderungArtAufschubField
+ End Get
+ Set
+ Me.zahlungsaufforderungArtAufschubField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsaufforderungArtAbgaben() As String
+ Get
+ Return Me.zahlungsaufforderungArtAbgabenField
+ End Get
+ Set
+ Me.zahlungsaufforderungArtAbgabenField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsaufforderungArtSicherheit() As String
+ Get
+ Return Me.zahlungsaufforderungArtSicherheitField
+ End Get
+ Set
+ Me.zahlungsaufforderungArtSicherheitField = Value
+ End Set
+ End Property
+
+ Public Property KleinbetragKz() As String
+ Get
+ Return Me.kleinbetragKzField
+ End Get
+ Set
+ Me.kleinbetragKzField = Value
+ End Set
+ End Property
+
+ Public Property KleinbetragRechtsbehelf() As String
+ Get
+ Return Me.kleinbetragRechtsbehelfField
+ End Get
+ Set
+ Me.kleinbetragRechtsbehelfField = Value
+ End Set
+ End Property
+
+ Public Property GesamtschuldnerschaftKz() As String
+ Get
+ Return Me.gesamtschuldnerschaftKzField
+ End Get
+ Set
+ Me.gesamtschuldnerschaftKzField = Value
+ End Set
+ End Property
+
+ Public Property EingangszollstelleGeaendertKz() As String
+ Get
+ Return Me.eingangszollstelleGeaendertKzField
+ End Get
+ Set
+ Me.eingangszollstelleGeaendertKzField = Value
+ End Set
+ End Property
+
+ Public Property AVbewilligtKz() As String
+ Get
+ Return Me.aVbewilligtKzField
+ End Get
+ Set
+ Me.aVbewilligtKzField = Value
+ End Set
+ End Property
+
+ Public Property BenutzererstelltKz() As String
+ Get
+ Return Me.benutzererstelltKzField
+ End Get
+ Set
+ Me.benutzererstelltKzField = Value
+ End Set
+ End Property
+
+ Public Property EUStKz() As String
+ Get
+ Return Me.eUStKzField
+ End Get
+ Set
+ Me.eUStKzField = Value
+ End Set
+ End Property
+
+ Public Property Registriernummer() As String
+ Get
+ Return Me.registriernummerField
+ End Get
+ Set
+ Me.registriernummerField = Value
+ End Set
+ End Property
+
+ Public Property Registrierdatum() As Date
+ Get
+ Return Me.registrierdatumField
+ End Get
+ Set
+ Me.registrierdatumField = Value
+ End Set
+ End Property
+
+
+ Public Property RegistrierdatumSpecified() As Boolean
+ Get
+ Return Me.registrierdatumFieldSpecified
+ End Get
+ Set
+ Me.registrierdatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property NizzaRegistrierKz() As String
+ Get
+ Return Me.nizzaRegistrierKzField
+ End Get
+ Set
+ Me.nizzaRegistrierKzField = Value
+ End Set
+ End Property
+
+ Public Property NizzaRegistrierKzSicherheit() As String
+ Get
+ Return Me.nizzaRegistrierKzSicherheitField
+ End Get
+ Set
+ Me.nizzaRegistrierKzSicherheitField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenNachArt() As List(Of AbgabenNachArtKopfTAXTyp)
+ Get
+ Return Me.abgabenNachArtField
+ End Get
+ Set
+ Me.abgabenNachArtField = Value
+ End Set
+ End Property
+
+ Public Property Gesamtsicherheitssumme() As Decimal
+ Get
+ Return Me.gesamtsicherheitssummeField
+ End Get
+ Set
+ Me.gesamtsicherheitssummeField = Value
+ End Set
+ End Property
+
+
+ Public Property GesamtsicherheitssummeSpecified() As Boolean
+ Get
+ Return Me.gesamtsicherheitssummeFieldSpecified
+ End Get
+ Set
+ Me.gesamtsicherheitssummeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property ErrechneteSicherheitsSumme() As Decimal
+ Get
+ Return Me.errechneteSicherheitsSummeField
+ End Get
+ Set
+ Me.errechneteSicherheitsSummeField = Value
+ End Set
+ End Property
+
+
+ Public Property ErrechneteSicherheitsSummeSpecified() As Boolean
+ Get
+ Return Me.errechneteSicherheitsSummeFieldSpecified
+ End Get
+ Set
+ Me.errechneteSicherheitsSummeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property UnbarSicherheitsbetraege() As Decimal
+ Get
+ Return Me.unbarSicherheitsbetraegeField
+ End Get
+ Set
+ Me.unbarSicherheitsbetraegeField = Value
+ End Set
+ End Property
+
+
+ Public Property UnbarSicherheitsbetraegeSpecified() As Boolean
+ Get
+ Return Me.unbarSicherheitsbetraegeFieldSpecified
+ End Get
+ Set
+ Me.unbarSicherheitsbetraegeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property BarSicherheitsbetraege() As Decimal
+ Get
+ Return Me.barSicherheitsbetraegeField
+ End Get
+ Set
+ Me.barSicherheitsbetraegeField = Value
+ End Set
+ End Property
+
+
+ Public Property BarSicherheitsbetraegeSpecified() As Boolean
+ Get
+ Return Me.barSicherheitsbetraegeFieldSpecified
+ End Get
+ Set
+ Me.barSicherheitsbetraegeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property FreizugebenSicherheit() As Decimal
+ Get
+ Return Me.freizugebenSicherheitField
+ End Get
+ Set
+ Me.freizugebenSicherheitField = Value
+ End Set
+ End Property
+
+
+ Public Property FreizugebenSicherheitSpecified() As Boolean
+ Get
+ Return Me.freizugebenSicherheitFieldSpecified
+ End Get
+ Set
+ Me.freizugebenSicherheitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AuszuzahlenSicherheit() As Decimal
+ Get
+ Return Me.auszuzahlenSicherheitField
+ End Get
+ Set
+ Me.auszuzahlenSicherheitField = Value
+ End Set
+ End Property
+
+
+ Public Property AuszuzahlenSicherheitSpecified() As Boolean
+ Get
+ Return Me.auszuzahlenSicherheitFieldSpecified
+ End Get
+ Set
+ Me.auszuzahlenSicherheitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property EinbehaltenSicherheit() As Decimal
+ Get
+ Return Me.einbehaltenSicherheitField
+ End Get
+ Set
+ Me.einbehaltenSicherheitField = Value
+ End Set
+ End Property
+
+
+ Public Property EinbehaltenSicherheitSpecified() As Boolean
+ Get
+ Return Me.einbehaltenSicherheitFieldSpecified
+ End Get
+ Set
+ Me.einbehaltenSicherheitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property SicherheitsleistungForm() As String
+ Get
+ Return Me.sicherheitsleistungFormField
+ End Get
+ Set
+ Me.sicherheitsleistungFormField = Value
+ End Set
+ End Property
+
+ Public Property SicherheitsleistungsVerzicht() As String
+ Get
+ Return Me.sicherheitsleistungsVerzichtField
+ End Get
+ Set
+ Me.sicherheitsleistungsVerzichtField = Value
+ End Set
+ End Property
+
+ Public Property AuszahlungsArt() As String
+ Get
+ Return Me.auszahlungsArtField
+ End Get
+ Set
+ Me.auszahlungsArtField = Value
+ End Set
+ End Property
+
+ Public Property UnbareSicherheiten() As List(Of SicherheitTAXTyp)
+ Get
+ Return Me.unbareSicherheitenField
+ End Get
+ Set
+ Me.unbareSicherheitenField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststelleNr() As String
+ Get
+ Return Me.bescheidendeDienststelleNrField
+ End Get
+ Set
+ Me.bescheidendeDienststelleNrField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststelleName() As String
+ Get
+ Return Me.bescheidendeDienststelleNameField
+ End Get
+ Set
+ Me.bescheidendeDienststelleNameField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststelleStrasseHausNr() As String
+ Get
+ Return Me.bescheidendeDienststelleStrasseHausNrField
+ End Get
+ Set
+ Me.bescheidendeDienststelleStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststelleOrtS() As String
+ Get
+ Return Me.bescheidendeDienststelleOrtSField
+ End Get
+ Set
+ Me.bescheidendeDienststelleOrtSField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststellePLZS() As String
+ Get
+ Return Me.bescheidendeDienststellePLZSField
+ End Get
+ Set
+ Me.bescheidendeDienststellePLZSField = Value
+ End Set
+ End Property
+
+ Public Property Bearbeiter() As String
+ Get
+ Return Me.bearbeiterField
+ End Get
+ Set
+ Me.bearbeiterField = Value
+ End Set
+ End Property
+
+ Public Property BescheidendeDienststelleTelefonNr() As String
+ Get
+ Return Me.bescheidendeDienststelleTelefonNrField
+ End Get
+ Set
+ Me.bescheidendeDienststelleTelefonNrField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamt() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAEmailAdresse() As String
+ Get
+ Return Me.rechtsbehelfHZAEmailAdresseField
+ End Get
+ Set
+ Me.rechtsbehelfHZAEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZADEmailAdresse() As String
+ Get
+ Return Me.rechtsbehelfHZADEmailAdresseField
+ End Get
+ Set
+ Me.rechtsbehelfHZADEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtStrHausNr() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtStrHausNrField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtStrHausNrField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtPLZS() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtPLZSField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtPLZSField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtOrtS() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtOrtSField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtOrtSField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtOrtsteil() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtOrtsteilField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtPostfach() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtPostfachField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtPostfachField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtPLZP() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtPLZPField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtPLZPField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHauptzollamtOrtP() As String
+ Get
+ Return Me.rechtsbehelfHauptzollamtOrtPField
+ End Get
+ Set
+ Me.rechtsbehelfHauptzollamtOrtPField = Value
+ End Set
+ End Property
+
+ Public Property Zollzahlstelle() As String
+ Get
+ Return Me.zollzahlstelleField
+ End Get
+ Set
+ Me.zollzahlstelleField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleKreditinstitut() As String
+ Get
+ Return Me.zollzahlstelleKreditinstitutField
+ End Get
+ Set
+ Me.zollzahlstelleKreditinstitutField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleStrasseHausNr() As String
+ Get
+ Return Me.zollzahlstelleStrasseHausNrField
+ End Get
+ Set
+ Me.zollzahlstelleStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstellePLZS() As String
+ Get
+ Return Me.zollzahlstellePLZSField
+ End Get
+ Set
+ Me.zollzahlstellePLZSField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleOrtS() As String
+ Get
+ Return Me.zollzahlstelleOrtSField
+ End Get
+ Set
+ Me.zollzahlstelleOrtSField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstellePostfach() As String
+ Get
+ Return Me.zollzahlstellePostfachField
+ End Get
+ Set
+ Me.zollzahlstellePostfachField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstellePLZP() As String
+ Get
+ Return Me.zollzahlstellePLZPField
+ End Get
+ Set
+ Me.zollzahlstellePLZPField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleOrtP() As String
+ Get
+ Return Me.zollzahlstelleOrtPField
+ End Get
+ Set
+ Me.zollzahlstelleOrtPField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleIBAN() As String
+ Get
+ Return Me.zollzahlstelleIBANField
+ End Get
+ Set
+ Me.zollzahlstelleIBANField = Value
+ End Set
+ End Property
+
+ Public Property ZollzahlstelleBIC() As String
+ Get
+ Return Me.zollzahlstelleBICField
+ End Get
+ Set
+ Me.zollzahlstelleBICField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderEORI() As String
+ Get
+ Return Me.anmelderEORIField
+ End Get
+ Set
+ Me.anmelderEORIField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderNLNR() As String
+ Get
+ Return Me.anmelderNLNRField
+ End Get
+ Set
+ Me.anmelderNLNRField = Value
+ End Set
+ End Property
+
+ Public Property VorsteuerabzugKz() As String
+ Get
+ Return Me.vorsteuerabzugKzField
+ End Get
+ Set
+ Me.vorsteuerabzugKzField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderName() As String
+ Get
+ Return Me.anmelderNameField
+ End Get
+ Set
+ Me.anmelderNameField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderNationalitaet() As String
+ Get
+ Return Me.anmelderNationalitaetField
+ End Get
+ Set
+ Me.anmelderNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderStrasseHausNr() As String
+ Get
+ Return Me.anmelderStrasseHausNrField
+ End Get
+ Set
+ Me.anmelderStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderPLZS() As String
+ Get
+ Return Me.anmelderPLZSField
+ End Get
+ Set
+ Me.anmelderPLZSField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderOrtS() As String
+ Get
+ Return Me.anmelderOrtSField
+ End Get
+ Set
+ Me.anmelderOrtSField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderOrtsteil() As String
+ Get
+ Return Me.anmelderOrtsteilField
+ End Get
+ Set
+ Me.anmelderOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property VertreterEORI() As String
+ Get
+ Return Me.vertreterEORIField
+ End Get
+ Set
+ Me.vertreterEORIField = Value
+ End Set
+ End Property
+
+ Public Property VertreterNLNR() As String
+ Get
+ Return Me.vertreterNLNRField
+ End Get
+ Set
+ Me.vertreterNLNRField = Value
+ End Set
+ End Property
+
+ Public Property VertreterName() As String
+ Get
+ Return Me.vertreterNameField
+ End Get
+ Set
+ Me.vertreterNameField = Value
+ End Set
+ End Property
+
+ Public Property VertreterNationalitaet() As String
+ Get
+ Return Me.vertreterNationalitaetField
+ End Get
+ Set
+ Me.vertreterNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property VertreterStrasseHausNr() As String
+ Get
+ Return Me.vertreterStrasseHausNrField
+ End Get
+ Set
+ Me.vertreterStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property VertreterPLZS() As String
+ Get
+ Return Me.vertreterPLZSField
+ End Get
+ Set
+ Me.vertreterPLZSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterOrtS() As String
+ Get
+ Return Me.vertreterOrtSField
+ End Get
+ Set
+ Me.vertreterOrtSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterOrtsteil() As String
+ Get
+ Return Me.vertreterOrtsteilField
+ End Get
+ Set
+ Me.vertreterOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungEORI() As String
+ Get
+ Return Me.fRechnungEORIField
+ End Get
+ Set
+ Me.fRechnungEORIField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungNLNR() As String
+ Get
+ Return Me.fRechnungNLNRField
+ End Get
+ Set
+ Me.fRechnungNLNRField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungNationalitaet() As String
+ Get
+ Return Me.fRechnungNationalitaetField
+ End Get
+ Set
+ Me.fRechnungNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungName() As String
+ Get
+ Return Me.fRechnungNameField
+ End Get
+ Set
+ Me.fRechnungNameField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungStrasseHausNr() As String
+ Get
+ Return Me.fRechnungStrasseHausNrField
+ End Get
+ Set
+ Me.fRechnungStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungPLZS() As String
+ Get
+ Return Me.fRechnungPLZSField
+ End Get
+ Set
+ Me.fRechnungPLZSField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungOrtS() As String
+ Get
+ Return Me.fRechnungOrtSField
+ End Get
+ Set
+ Me.fRechnungOrtSField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungOrtsteil() As String
+ Get
+ Return Me.fRechnungOrtsteilField
+ End Get
+ Set
+ Me.fRechnungOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerEORI() As String
+ Get
+ Return Me.empfaengerEORIField
+ End Get
+ Set
+ Me.empfaengerEORIField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerNLNR() As String
+ Get
+ Return Me.empfaengerNLNRField
+ End Get
+ Set
+ Me.empfaengerNLNRField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerNationalitaet() As String
+ Get
+ Return Me.empfaengerNationalitaetField
+ End Get
+ Set
+ Me.empfaengerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerName() As String
+ Get
+ Return Me.empfaengerNameField
+ End Get
+ Set
+ Me.empfaengerNameField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerStrasseHausNr() As String
+ Get
+ Return Me.empfaengerStrasseHausNrField
+ End Get
+ Set
+ Me.empfaengerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerPLZS() As String
+ Get
+ Return Me.empfaengerPLZSField
+ End Get
+ Set
+ Me.empfaengerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerOrtS() As String
+ Get
+ Return Me.empfaengerOrtSField
+ End Get
+ Set
+ Me.empfaengerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerOrtsteil() As String
+ Get
+ Return Me.empfaengerOrtsteilField
+ End Get
+ Set
+ Me.empfaengerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerEORI() As String
+ Get
+ Return Me.zahlungsEmpfaengerEORIField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerEORIField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerNLNR() As String
+ Get
+ Return Me.zahlungsEmpfaengerNLNRField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerNLNRField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerKreditinstitut() As String
+ Get
+ Return Me.zahlungsEmpfaengerKreditinstitutField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerKreditinstitutField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerName() As String
+ Get
+ Return Me.zahlungsEmpfaengerNameField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerNameField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerNationalitaet() As String
+ Get
+ Return Me.zahlungsEmpfaengerNationalitaetField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerStrasseHausNr() As String
+ Get
+ Return Me.zahlungsEmpfaengerStrasseHausNrField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerPLZS() As String
+ Get
+ Return Me.zahlungsEmpfaengerPLZSField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerOrtS() As String
+ Get
+ Return Me.zahlungsEmpfaengerOrtSField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerOrtsteil() As String
+ Get
+ Return Me.zahlungsEmpfaengerOrtsteilField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerIBAN() As String
+ Get
+ Return Me.zahlungsEmpfaengerIBANField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerIBANField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsEmpfaengerBIC() As String
+ Get
+ Return Me.zahlungsEmpfaengerBICField
+ End Get
+ Set
+ Me.zahlungsEmpfaengerBICField = Value
+ End Set
+ End Property
+
+ Public Property ErstellungsDatumBefund() As Date
+ Get
+ Return Me.erstellungsDatumBefundField
+ End Get
+ Set
+ Me.erstellungsDatumBefundField = Value
+ End Set
+ End Property
+
+
+ Public Property ErstellungsDatumBefundSpecified() As Boolean
+ Get
+ Return Me.erstellungsDatumBefundFieldSpecified
+ End Get
+ Set
+ Me.erstellungsDatumBefundFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Erfassungsdatum() As Date
+ Get
+ Return Me.erfassungsdatumField
+ End Get
+ Set
+ Me.erfassungsdatumField = Value
+ End Set
+ End Property
+
+
+ Public Property ErfassungsdatumSpecified() As Boolean
+ Get
+ Return Me.erfassungsdatumFieldSpecified
+ End Get
+ Set
+ Me.erfassungsdatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property BarzahlungFaelligkeit() As Date
+ Get
+ Return Me.barzahlungFaelligkeitField
+ End Get
+ Set
+ Me.barzahlungFaelligkeitField = Value
+ End Set
+ End Property
+
+
+ Public Property BarzahlungFaelligkeitSpecified() As Boolean
+ Get
+ Return Me.barzahlungFaelligkeitFieldSpecified
+ End Get
+ Set
+ Me.barzahlungFaelligkeitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property SicherheitsleistungFaelligkeit() As Date
+ Get
+ Return Me.sicherheitsleistungFaelligkeitField
+ End Get
+ Set
+ Me.sicherheitsleistungFaelligkeitField = Value
+ End Set
+ End Property
+
+
+ Public Property SicherheitsleistungFaelligkeitSpecified() As Boolean
+ Get
+ Return Me.sicherheitsleistungFaelligkeitFieldSpecified
+ End Get
+ Set
+ Me.sicherheitsleistungFaelligkeitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbrechnungszeitraumBeginn() As Date
+ Get
+ Return Me.abrechnungszeitraumBeginnField
+ End Get
+ Set
+ Me.abrechnungszeitraumBeginnField = Value
+ End Set
+ End Property
+
+
+ Public Property AbrechnungszeitraumBeginnSpecified() As Boolean
+ Get
+ Return Me.abrechnungszeitraumBeginnFieldSpecified
+ End Get
+ Set
+ Me.abrechnungszeitraumBeginnFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbrechnungszeitraumEnde() As Date
+ Get
+ Return Me.abrechnungszeitraumEndeField
+ End Get
+ Set
+ Me.abrechnungszeitraumEndeField = Value
+ End Set
+ End Property
+
+
+ Public Property AbrechnungszeitraumEndeSpecified() As Boolean
+ Get
+ Return Me.abrechnungszeitraumEndeFieldSpecified
+ End Get
+ Set
+ Me.abrechnungszeitraumEndeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Zollbefund() As String
+ Get
+ Return Me.zollbefundField
+ End Get
+ Set
+ Me.zollbefundField = Value
+ End Set
+ End Property
+
+ Public Property EZAAVAngabenKopf() As EZAAVAngabenKopfTyp
+ Get
+ Return Me.eZAAVAngabenKopfField
+ End Get
+ Set
+ Me.eZAAVAngabenKopfField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungCode() As String
+ Get
+ Return Me.lieferbedingungCodeField
+ End Get
+ Set
+ Me.lieferbedingungCodeField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungText() As String
+ Get
+ Return Me.lieferbedingungTextField
+ End Get
+ Set
+ Me.lieferbedingungTextField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungOrt() As String
+ Get
+ Return Me.lieferbedingungOrtField
+ End Get
+ Set
+ Me.lieferbedingungOrtField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungSchluessel() As String
+ Get
+ Return Me.lieferbedingungSchluesselField
+ End Get
+ Set
+ Me.lieferbedingungSchluesselField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KopfDatenEinfuhrbescheidTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KopfDatenEinfuhrbescheidTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KopfDatenEinfuhrbescheidTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KopfDatenEinfuhrbescheidTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenEinfuhrbescheidTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenEinfuhrbescheidTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenEinfuhrbescheidTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KopfDatenEinfuhrbescheidTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KopfDatenEinfuhrbescheidTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KopfDatenEinfuhrbescheidTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KopfDatenEinfuhrbescheidTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KopfDatenEinfuhrbescheidTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenEinfuhrbescheidTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenEinfuhrbescheidTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenEinfuhrbescheidTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KopfDatenEinfuhrbescheidTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class TransaktionFreierVerkehrTyp
+
+ Private iOPartnerField As String
+
+ Private iODivision1Field As String
+
+ Private iODivision2Field As String
+
+ Private iODivision3Field As String
+
+ Private iOReferenzField As String
+
+ Private iODatumZeitField As Date
+
+ Private versionField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property IOPartner() As String
+ Get
+ Return Me.iOPartnerField
+ End Get
+ Set
+ Me.iOPartnerField = Value
+ End Set
+ End Property
+
+ Public Property IODivision1() As String
+ Get
+ Return Me.iODivision1Field
+ End Get
+ Set
+ Me.iODivision1Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision2() As String
+ Get
+ Return Me.iODivision2Field
+ End Get
+ Set
+ Me.iODivision2Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision3() As String
+ Get
+ Return Me.iODivision3Field
+ End Get
+ Set
+ Me.iODivision3Field = Value
+ End Set
+ End Property
+
+ Public Property IOReferenz() As String
+ Get
+ Return Me.iOReferenzField
+ End Get
+ Set
+ Me.iOReferenzField = Value
+ End Set
+ End Property
+
+ Public Property IODatumZeit() As Date
+ Get
+ Return Me.iODatumZeitField
+ End Get
+ Set
+ Me.iODatumZeitField = Value
+ End Set
+ End Property
+
+ Public Property Version() As String
+ Get
+ Return Me.versionField
+ End Get
+ Set
+ Me.versionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(TransaktionFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As TransaktionFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), TransaktionFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As TransaktionFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class DatenaustauschFreierVerkehrTyp
+
+ Private transaktionField As TransaktionFreierVerkehrTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.transaktionField = New TransaktionFreierVerkehrTyp()
+ End Sub
+
+ Public Property Transaktion() As TransaktionFreierVerkehrTyp
+ Get
+ Return Me.transaktionField
+ End Get
+ Set
+ Me.transaktionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(DatenaustauschFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As DatenaustauschFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), DatenaustauschFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As DatenaustauschFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+End Namespace
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.xsd b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.xsd
new file mode 100644
index 0000000..37ffae1
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/Abgabenbescheid/Abgabenbescheid_010.xsd
@@ -0,0 +1,579 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.designer.vb b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.designer.vb
new file mode 100644
index 0000000..91130ca
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.designer.vb
@@ -0,0 +1,1998 @@
+'' ------------------------------------------------------------------------------
+''
+'' Generated by Xsd2Code. Version 3.4.1.33667 Microsoft Reciprocal License (Ms-RL)
+'' AbschliessendeFestsetzung_005ListVisualBasicFalseFalseFalseFalseFalseFalseFalseTrueFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileFalseFalseFalseFalseFalseFalseDefaultUTF8FalseTrue
+''
+'' ------------------------------------------------------------------------------
+Imports System
+Imports System.Diagnostics
+Imports System.Xml.Serialization
+Imports System.Collections
+Imports System.Xml.Schema
+Imports System.ComponentModel
+Imports System.IO
+Imports System.Text
+Imports System.Collections.Generic
+
+Namespace AbschliessendeFestsetzung_005
+
+ Partial Public Class AbschliessendeFestsetzungTAXATyp
+ Inherits DatenaustauschFreierVerkehrTyp
+
+ Private einzelAbschliessendeFestsetzungField As EinzelAbschliessendeFestsetzungTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelAbschliessendeFestsetzungField = New EinzelAbschliessendeFestsetzungTyp()
+ End Sub
+
+ Public Property EinzelAbschliessendeFestsetzung() As EinzelAbschliessendeFestsetzungTyp
+ Get
+ Return Me.einzelAbschliessendeFestsetzungField
+ End Get
+ Set
+ Me.einzelAbschliessendeFestsetzungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbschliessendeFestsetzungTAXATyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbschliessendeFestsetzungTAXATyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbschliessendeFestsetzungTAXATyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbschliessendeFestsetzungTAXATyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbschliessendeFestsetzungTAXATyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbschliessendeFestsetzungTAXATyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbschliessendeFestsetzungTAXATyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbschliessendeFestsetzungTAXATyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbschliessendeFestsetzungTAXATyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbschliessendeFestsetzungTAXATyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbschliessendeFestsetzungTAXATyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbschliessendeFestsetzungTAXATyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbschliessendeFestsetzungTAXATyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbschliessendeFestsetzungTAXATyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbschliessendeFestsetzungTAXATyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbschliessendeFestsetzungTAXATyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EinzelAbschliessendeFestsetzungTyp
+
+ Private objektIdentifizierungField As ObjektIdentifizierungTAXATyp
+
+ Private kopfDatenField As KopfDatenAbschliessendeFestsetzungTyp
+
+ Private positionField As List(Of PositionAbschliessendeFestsetzungTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.positionField = New List(Of PositionAbschliessendeFestsetzungTyp)()
+ Me.kopfDatenField = New KopfDatenAbschliessendeFestsetzungTyp()
+ Me.objektIdentifizierungField = New ObjektIdentifizierungTAXATyp()
+ End Sub
+
+ Public Property ObjektIdentifizierung() As ObjektIdentifizierungTAXATyp
+ Get
+ Return Me.objektIdentifizierungField
+ End Get
+ Set
+ Me.objektIdentifizierungField = Value
+ End Set
+ End Property
+
+ Public Property KopfDaten() As KopfDatenAbschliessendeFestsetzungTyp
+ Get
+ Return Me.kopfDatenField
+ End Get
+ Set
+ Me.kopfDatenField = Value
+ End Set
+ End Property
+
+ Public Property Position() As List(Of PositionAbschliessendeFestsetzungTyp)
+ Get
+ Return Me.positionField
+ End Get
+ Set
+ Me.positionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelAbschliessendeFestsetzungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelAbschliessendeFestsetzungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelAbschliessendeFestsetzungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbschliessendeFestsetzungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelAbschliessendeFestsetzungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelAbschliessendeFestsetzungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelAbschliessendeFestsetzungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelAbschliessendeFestsetzungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelAbschliessendeFestsetzungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelAbschliessendeFestsetzungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class ObjektIdentifizierungTAXATyp
+
+ Private objektNameField As String
+
+ Private objektAliasField As String
+
+ Private eDIFACTNachrichtenNrField As String
+
+ Private zeitpunktEingangField As Date
+
+ Private shipmentReferenzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ObjektName() As String
+ Get
+ Return Me.objektNameField
+ End Get
+ Set
+ Me.objektNameField = Value
+ End Set
+ End Property
+
+ Public Property ObjektAlias() As String
+ Get
+ Return Me.objektAliasField
+ End Get
+ Set
+ Me.objektAliasField = Value
+ End Set
+ End Property
+
+ Public Property EDIFACTNachrichtenNr() As String
+ Get
+ Return Me.eDIFACTNachrichtenNrField
+ End Get
+ Set
+ Me.eDIFACTNachrichtenNrField = Value
+ End Set
+ End Property
+
+ Public Property ZeitpunktEingang() As Date
+ Get
+ Return Me.zeitpunktEingangField
+ End Get
+ Set
+ Me.zeitpunktEingangField = Value
+ End Set
+ End Property
+
+ Public Property ShipmentReferenz() As String
+ Get
+ Return Me.shipmentReferenzField
+ End Get
+ Set
+ Me.shipmentReferenzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(ObjektIdentifizierungTAXATyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current ObjektIdentifizierungTAXATyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an ObjektIdentifizierungTAXATyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output ObjektIdentifizierungTAXATyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungTAXATyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungTAXATyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungTAXATyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As ObjektIdentifizierungTAXATyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), ObjektIdentifizierungTAXATyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current ObjektIdentifizierungTAXATyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an ObjektIdentifizierungTAXATyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output ObjektIdentifizierungTAXATyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungTAXATyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungTAXATyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungTAXATyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As ObjektIdentifizierungTAXATyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PositionAbschliessendeFestsetzungTyp
+
+ Private positionsnummerField As String
+
+ Private freigabeSicherheitenKzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Positionsnummer() As String
+ Get
+ Return Me.positionsnummerField
+ End Get
+ Set
+ Me.positionsnummerField = Value
+ End Set
+ End Property
+
+ Public Property FreigabeSicherheitenKz() As String
+ Get
+ Return Me.freigabeSicherheitenKzField
+ End Get
+ Set
+ Me.freigabeSicherheitenKzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PositionAbschliessendeFestsetzungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PositionAbschliessendeFestsetzungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PositionAbschliessendeFestsetzungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PositionAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionAbschliessendeFestsetzungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PositionAbschliessendeFestsetzungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PositionAbschliessendeFestsetzungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PositionAbschliessendeFestsetzungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PositionAbschliessendeFestsetzungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PositionAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionAbschliessendeFestsetzungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PositionAbschliessendeFestsetzungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KopfDatenAbschliessendeFestsetzungTyp
+
+ Private waehrungKzField As String
+
+ Private rechtsbehelfKzField As String
+
+ Private gesamtschuldnerschaftKzField As String
+
+ Private umsatzsteuerIDNrField As String
+
+ Private registrierNrField As String
+
+ Private nIZZARegistrierKzField As String
+
+ Private freizugebeneSicherheitEURField As Decimal
+
+ Private freizugebeneSicherheitEURFieldSpecified As Boolean
+
+ Private auszahlungArtField As String
+
+ Private freigegebeneSicherheitGesamtField As Decimal
+
+ Private freigegebeneSicherheitGesamtFieldSpecified As Boolean
+
+ Private freigabeSicherheitKzField As String
+
+ Private freigabeSicherheitArtField As String
+
+ Private sonstigeMitteilungField As String
+
+ Private bearbeiterField As String
+
+ Private rechtsbehelfHZABezeichungField As String
+
+ Private rechtsbehelfHZAEmailAdresseField As String
+
+ Private rechtsbehelfHZADEmailAdresseField As String
+
+ Private rechtsbehelfHZAStrasseHausNrField As String
+
+ Private rechtsbehelfHZAPLZSField As String
+
+ Private rechtsbehelfHZAOrtSField As String
+
+ Private rechtsbehelfHZAOrtsteilField As String
+
+ Private rechtsbehelfHZAPostfachField As String
+
+ Private rechtsbehelfHZAPLZPField As String
+
+ Private rechtsbehelfHZAOrtPField As String
+
+ Private rechnungEORIField As String
+
+ Private rechnungNLNRField As String
+
+ Private rechnungNationalitaetField As String
+
+ Private rechnungNameFirmenbezeichnungField As String
+
+ Private rechnungStrasseHausNrField As String
+
+ Private rechnungPLZSField As String
+
+ Private rechnungOrtSField As String
+
+ Private rechnungOrtsteilField As String
+
+ Private zahlungsempfaengerFreigegebeneSicherheitenEORIField As String
+
+ Private zahlungsempfaengerFreigegebeneSicherheitenNLNRField As String
+
+ Private zahlungsempfaengerKreditinstitutField As String
+
+ Private zahlungsempfaengerFreigegebeneSicherheitenNameField As String
+
+ Private zahlungsempfaengerNationalitaetField As String
+
+ Private zahlungsempfaengerStrasseHausNrField As String
+
+ Private zahlungsempfaengerPLZSField As String
+
+ Private zahlungsempfaengerOrtSField As String
+
+ Private zahlungsempfaengerOrtsteilField As String
+
+ Private zahlungsempfaengerIBANField As String
+
+ Private zahlungsempfaengerBICField As String
+
+ Private bescheideempfaengerEORIField As String
+
+ Private bescheideempfaengerNLNRField As String
+
+ Private bescheideempfaengerKreditinstitutField As String
+
+ Private bescheideempfaengerNameField As String
+
+ Private bescheideempfaengerNationalitaetField As String
+
+ Private bescheideempfaengerStrasseHausNrField As String
+
+ Private bescheideempfaengerPLZSField As String
+
+ Private bescheideempfaengerOrtSField As String
+
+ Private bescheideempfaengerOrtsteilField As String
+
+ Private bescheideempfaengerIBANField As String
+
+ Private bescheideempfaengerBICField As String
+
+ Private abgabenschuldnerEORIField As String
+
+ Private abgabenschuldnerNLNRField As String
+
+ Private abgabenschuldnerNameField As String
+
+ Private abgabenschuldnerNationalitaetField As String
+
+ Private abgabenschuldnerStrasseHausNrField As String
+
+ Private abgabenschuldnerPLZSField As String
+
+ Private abgabenschuldnerOrtSField As String
+
+ Private abgabenschuldnerOrtsteilField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property WaehrungKz() As String
+ Get
+ Return Me.waehrungKzField
+ End Get
+ Set
+ Me.waehrungKzField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfKz() As String
+ Get
+ Return Me.rechtsbehelfKzField
+ End Get
+ Set
+ Me.rechtsbehelfKzField = Value
+ End Set
+ End Property
+
+ Public Property GesamtschuldnerschaftKz() As String
+ Get
+ Return Me.gesamtschuldnerschaftKzField
+ End Get
+ Set
+ Me.gesamtschuldnerschaftKzField = Value
+ End Set
+ End Property
+
+ Public Property UmsatzsteuerIDNr() As String
+ Get
+ Return Me.umsatzsteuerIDNrField
+ End Get
+ Set
+ Me.umsatzsteuerIDNrField = Value
+ End Set
+ End Property
+
+ Public Property RegistrierNr() As String
+ Get
+ Return Me.registrierNrField
+ End Get
+ Set
+ Me.registrierNrField = Value
+ End Set
+ End Property
+
+ Public Property NIZZARegistrierKz() As String
+ Get
+ Return Me.nIZZARegistrierKzField
+ End Get
+ Set
+ Me.nIZZARegistrierKzField = Value
+ End Set
+ End Property
+
+ Public Property FreizugebeneSicherheitEUR() As Decimal
+ Get
+ Return Me.freizugebeneSicherheitEURField
+ End Get
+ Set
+ Me.freizugebeneSicherheitEURField = Value
+ End Set
+ End Property
+
+
+ Public Property FreizugebeneSicherheitEURSpecified() As Boolean
+ Get
+ Return Me.freizugebeneSicherheitEURFieldSpecified
+ End Get
+ Set
+ Me.freizugebeneSicherheitEURFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AuszahlungArt() As String
+ Get
+ Return Me.auszahlungArtField
+ End Get
+ Set
+ Me.auszahlungArtField = Value
+ End Set
+ End Property
+
+ Public Property FreigegebeneSicherheitGesamt() As Decimal
+ Get
+ Return Me.freigegebeneSicherheitGesamtField
+ End Get
+ Set
+ Me.freigegebeneSicherheitGesamtField = Value
+ End Set
+ End Property
+
+
+ Public Property FreigegebeneSicherheitGesamtSpecified() As Boolean
+ Get
+ Return Me.freigegebeneSicherheitGesamtFieldSpecified
+ End Get
+ Set
+ Me.freigegebeneSicherheitGesamtFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property FreigabeSicherheitKz() As String
+ Get
+ Return Me.freigabeSicherheitKzField
+ End Get
+ Set
+ Me.freigabeSicherheitKzField = Value
+ End Set
+ End Property
+
+ Public Property FreigabeSicherheitArt() As String
+ Get
+ Return Me.freigabeSicherheitArtField
+ End Get
+ Set
+ Me.freigabeSicherheitArtField = Value
+ End Set
+ End Property
+
+ Public Property SonstigeMitteilung() As String
+ Get
+ Return Me.sonstigeMitteilungField
+ End Get
+ Set
+ Me.sonstigeMitteilungField = Value
+ End Set
+ End Property
+
+ Public Property Bearbeiter() As String
+ Get
+ Return Me.bearbeiterField
+ End Get
+ Set
+ Me.bearbeiterField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZABezeichung() As String
+ Get
+ Return Me.rechtsbehelfHZABezeichungField
+ End Get
+ Set
+ Me.rechtsbehelfHZABezeichungField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAEmailAdresse() As String
+ Get
+ Return Me.rechtsbehelfHZAEmailAdresseField
+ End Get
+ Set
+ Me.rechtsbehelfHZAEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZADEmailAdresse() As String
+ Get
+ Return Me.rechtsbehelfHZADEmailAdresseField
+ End Get
+ Set
+ Me.rechtsbehelfHZADEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAStrasseHausNr() As String
+ Get
+ Return Me.rechtsbehelfHZAStrasseHausNrField
+ End Get
+ Set
+ Me.rechtsbehelfHZAStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAPLZS() As String
+ Get
+ Return Me.rechtsbehelfHZAPLZSField
+ End Get
+ Set
+ Me.rechtsbehelfHZAPLZSField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAOrtS() As String
+ Get
+ Return Me.rechtsbehelfHZAOrtSField
+ End Get
+ Set
+ Me.rechtsbehelfHZAOrtSField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAOrtsteil() As String
+ Get
+ Return Me.rechtsbehelfHZAOrtsteilField
+ End Get
+ Set
+ Me.rechtsbehelfHZAOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAPostfach() As String
+ Get
+ Return Me.rechtsbehelfHZAPostfachField
+ End Get
+ Set
+ Me.rechtsbehelfHZAPostfachField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAPLZP() As String
+ Get
+ Return Me.rechtsbehelfHZAPLZPField
+ End Get
+ Set
+ Me.rechtsbehelfHZAPLZPField = Value
+ End Set
+ End Property
+
+ Public Property RechtsbehelfHZAOrtP() As String
+ Get
+ Return Me.rechtsbehelfHZAOrtPField
+ End Get
+ Set
+ Me.rechtsbehelfHZAOrtPField = Value
+ End Set
+ End Property
+
+ Public Property RechnungEORI() As String
+ Get
+ Return Me.rechnungEORIField
+ End Get
+ Set
+ Me.rechnungEORIField = Value
+ End Set
+ End Property
+
+ Public Property RechnungNLNR() As String
+ Get
+ Return Me.rechnungNLNRField
+ End Get
+ Set
+ Me.rechnungNLNRField = Value
+ End Set
+ End Property
+
+ Public Property RechnungNationalitaet() As String
+ Get
+ Return Me.rechnungNationalitaetField
+ End Get
+ Set
+ Me.rechnungNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property RechnungNameFirmenbezeichnung() As String
+ Get
+ Return Me.rechnungNameFirmenbezeichnungField
+ End Get
+ Set
+ Me.rechnungNameFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property RechnungStrasseHausNr() As String
+ Get
+ Return Me.rechnungStrasseHausNrField
+ End Get
+ Set
+ Me.rechnungStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property RechnungPLZS() As String
+ Get
+ Return Me.rechnungPLZSField
+ End Get
+ Set
+ Me.rechnungPLZSField = Value
+ End Set
+ End Property
+
+ Public Property RechnungOrtS() As String
+ Get
+ Return Me.rechnungOrtSField
+ End Get
+ Set
+ Me.rechnungOrtSField = Value
+ End Set
+ End Property
+
+ Public Property RechnungOrtsteil() As String
+ Get
+ Return Me.rechnungOrtsteilField
+ End Get
+ Set
+ Me.rechnungOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerFreigegebeneSicherheitenEORI() As String
+ Get
+ Return Me.zahlungsempfaengerFreigegebeneSicherheitenEORIField
+ End Get
+ Set
+ Me.zahlungsempfaengerFreigegebeneSicherheitenEORIField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerFreigegebeneSicherheitenNLNR() As String
+ Get
+ Return Me.zahlungsempfaengerFreigegebeneSicherheitenNLNRField
+ End Get
+ Set
+ Me.zahlungsempfaengerFreigegebeneSicherheitenNLNRField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerKreditinstitut() As String
+ Get
+ Return Me.zahlungsempfaengerKreditinstitutField
+ End Get
+ Set
+ Me.zahlungsempfaengerKreditinstitutField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerFreigegebeneSicherheitenName() As String
+ Get
+ Return Me.zahlungsempfaengerFreigegebeneSicherheitenNameField
+ End Get
+ Set
+ Me.zahlungsempfaengerFreigegebeneSicherheitenNameField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerNationalitaet() As String
+ Get
+ Return Me.zahlungsempfaengerNationalitaetField
+ End Get
+ Set
+ Me.zahlungsempfaengerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerStrasseHausNr() As String
+ Get
+ Return Me.zahlungsempfaengerStrasseHausNrField
+ End Get
+ Set
+ Me.zahlungsempfaengerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerPLZS() As String
+ Get
+ Return Me.zahlungsempfaengerPLZSField
+ End Get
+ Set
+ Me.zahlungsempfaengerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerOrtS() As String
+ Get
+ Return Me.zahlungsempfaengerOrtSField
+ End Get
+ Set
+ Me.zahlungsempfaengerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerOrtsteil() As String
+ Get
+ Return Me.zahlungsempfaengerOrtsteilField
+ End Get
+ Set
+ Me.zahlungsempfaengerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerIBAN() As String
+ Get
+ Return Me.zahlungsempfaengerIBANField
+ End Get
+ Set
+ Me.zahlungsempfaengerIBANField = Value
+ End Set
+ End Property
+
+ Public Property ZahlungsempfaengerBIC() As String
+ Get
+ Return Me.zahlungsempfaengerBICField
+ End Get
+ Set
+ Me.zahlungsempfaengerBICField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerEORI() As String
+ Get
+ Return Me.bescheideempfaengerEORIField
+ End Get
+ Set
+ Me.bescheideempfaengerEORIField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerNLNR() As String
+ Get
+ Return Me.bescheideempfaengerNLNRField
+ End Get
+ Set
+ Me.bescheideempfaengerNLNRField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerKreditinstitut() As String
+ Get
+ Return Me.bescheideempfaengerKreditinstitutField
+ End Get
+ Set
+ Me.bescheideempfaengerKreditinstitutField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerName() As String
+ Get
+ Return Me.bescheideempfaengerNameField
+ End Get
+ Set
+ Me.bescheideempfaengerNameField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerNationalitaet() As String
+ Get
+ Return Me.bescheideempfaengerNationalitaetField
+ End Get
+ Set
+ Me.bescheideempfaengerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerStrasseHausNr() As String
+ Get
+ Return Me.bescheideempfaengerStrasseHausNrField
+ End Get
+ Set
+ Me.bescheideempfaengerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerPLZS() As String
+ Get
+ Return Me.bescheideempfaengerPLZSField
+ End Get
+ Set
+ Me.bescheideempfaengerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerOrtS() As String
+ Get
+ Return Me.bescheideempfaengerOrtSField
+ End Get
+ Set
+ Me.bescheideempfaengerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerOrtsteil() As String
+ Get
+ Return Me.bescheideempfaengerOrtsteilField
+ End Get
+ Set
+ Me.bescheideempfaengerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerIBAN() As String
+ Get
+ Return Me.bescheideempfaengerIBANField
+ End Get
+ Set
+ Me.bescheideempfaengerIBANField = Value
+ End Set
+ End Property
+
+ Public Property BescheideempfaengerBIC() As String
+ Get
+ Return Me.bescheideempfaengerBICField
+ End Get
+ Set
+ Me.bescheideempfaengerBICField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerEORI() As String
+ Get
+ Return Me.abgabenschuldnerEORIField
+ End Get
+ Set
+ Me.abgabenschuldnerEORIField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerNLNR() As String
+ Get
+ Return Me.abgabenschuldnerNLNRField
+ End Get
+ Set
+ Me.abgabenschuldnerNLNRField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerName() As String
+ Get
+ Return Me.abgabenschuldnerNameField
+ End Get
+ Set
+ Me.abgabenschuldnerNameField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerNationalitaet() As String
+ Get
+ Return Me.abgabenschuldnerNationalitaetField
+ End Get
+ Set
+ Me.abgabenschuldnerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerStrasseHausNr() As String
+ Get
+ Return Me.abgabenschuldnerStrasseHausNrField
+ End Get
+ Set
+ Me.abgabenschuldnerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerPLZS() As String
+ Get
+ Return Me.abgabenschuldnerPLZSField
+ End Get
+ Set
+ Me.abgabenschuldnerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerOrtS() As String
+ Get
+ Return Me.abgabenschuldnerOrtSField
+ End Get
+ Set
+ Me.abgabenschuldnerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property AbgabenschuldnerOrtsteil() As String
+ Get
+ Return Me.abgabenschuldnerOrtsteilField
+ End Get
+ Set
+ Me.abgabenschuldnerOrtsteilField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KopfDatenAbschliessendeFestsetzungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KopfDatenAbschliessendeFestsetzungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KopfDatenAbschliessendeFestsetzungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KopfDatenAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenAbschliessendeFestsetzungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KopfDatenAbschliessendeFestsetzungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KopfDatenAbschliessendeFestsetzungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KopfDatenAbschliessendeFestsetzungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KopfDatenAbschliessendeFestsetzungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KopfDatenAbschliessendeFestsetzungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenAbschliessendeFestsetzungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenAbschliessendeFestsetzungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenAbschliessendeFestsetzungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KopfDatenAbschliessendeFestsetzungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class TransaktionFreierVerkehrTyp
+
+ Private iOPartnerField As String
+
+ Private iODivision1Field As String
+
+ Private iODivision2Field As String
+
+ Private iODivision3Field As String
+
+ Private iOReferenzField As String
+
+ Private iODatumZeitField As Date
+
+ Private versionField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property IOPartner() As String
+ Get
+ Return Me.iOPartnerField
+ End Get
+ Set
+ Me.iOPartnerField = Value
+ End Set
+ End Property
+
+ Public Property IODivision1() As String
+ Get
+ Return Me.iODivision1Field
+ End Get
+ Set
+ Me.iODivision1Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision2() As String
+ Get
+ Return Me.iODivision2Field
+ End Get
+ Set
+ Me.iODivision2Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision3() As String
+ Get
+ Return Me.iODivision3Field
+ End Get
+ Set
+ Me.iODivision3Field = Value
+ End Set
+ End Property
+
+ Public Property IOReferenz() As String
+ Get
+ Return Me.iOReferenzField
+ End Get
+ Set
+ Me.iOReferenzField = Value
+ End Set
+ End Property
+
+ Public Property IODatumZeit() As Date
+ Get
+ Return Me.iODatumZeitField
+ End Get
+ Set
+ Me.iODatumZeitField = Value
+ End Set
+ End Property
+
+ Public Property Version() As String
+ Get
+ Return Me.versionField
+ End Get
+ Set
+ Me.versionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(TransaktionFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As TransaktionFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), TransaktionFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As TransaktionFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class DatenaustauschFreierVerkehrTyp
+
+ Private transaktionField As TransaktionFreierVerkehrTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.transaktionField = New TransaktionFreierVerkehrTyp()
+ End Sub
+
+ Public Property Transaktion() As TransaktionFreierVerkehrTyp
+ Get
+ Return Me.transaktionField
+ End Get
+ Set
+ Me.transaktionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(DatenaustauschFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As DatenaustauschFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), DatenaustauschFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As DatenaustauschFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+End Namespace
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.xsd b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.xsd
new file mode 100644
index 0000000..964745a
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/AbschliessendeFestsetzung/AbschliessendeFestsetzung_005.xsd
@@ -0,0 +1,233 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.designer.vb b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.designer.vb
new file mode 100644
index 0000000..8fb03c1
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.designer.vb
@@ -0,0 +1,5849 @@
+'' ------------------------------------------------------------------------------
+''
+'' Generated by Xsd2Code. Version 3.4.1.33667 Microsoft Reciprocal License (Ms-RL)
+'' BefundVereinfachteZollanmeldung_008ListVisualBasicFalseFalseFalseFalseFalseFalseFalseTrueFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileFalseFalseFalseFalseFalseFalseDefaultUTF8FalseTrue
+''
+'' ------------------------------------------------------------------------------
+Imports System
+Imports System.Diagnostics
+Imports System.Xml.Serialization
+Imports System.Collections
+Imports System.Xml.Schema
+Imports System.ComponentModel
+Imports System.IO
+Imports System.Text
+Imports System.Collections.Generic
+
+Namespace BefundVereinfachteZollanmeldung_008
+
+ Partial Public Class BefundVereinfachteZollanmeldungVBTyp
+ Inherits DatenaustauschFreierVerkehrTyp
+
+ Private einzelBefundVereinfachteZollanmeldungField As EinzelBefundVereinfachteZollanmeldungTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelBefundVereinfachteZollanmeldungField = New EinzelBefundVereinfachteZollanmeldungTyp()
+ End Sub
+
+ Public Property EinzelBefundVereinfachteZollanmeldung() As EinzelBefundVereinfachteZollanmeldungTyp
+ Get
+ Return Me.einzelBefundVereinfachteZollanmeldungField
+ End Get
+ Set
+ Me.einzelBefundVereinfachteZollanmeldungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(BefundVereinfachteZollanmeldungVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current BefundVereinfachteZollanmeldungVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an BefundVereinfachteZollanmeldungVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output BefundVereinfachteZollanmeldungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BefundVereinfachteZollanmeldungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BefundVereinfachteZollanmeldungVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BefundVereinfachteZollanmeldungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As BefundVereinfachteZollanmeldungVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), BefundVereinfachteZollanmeldungVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current BefundVereinfachteZollanmeldungVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an BefundVereinfachteZollanmeldungVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output BefundVereinfachteZollanmeldungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BefundVereinfachteZollanmeldungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BefundVereinfachteZollanmeldungVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BefundVereinfachteZollanmeldungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As BefundVereinfachteZollanmeldungVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EinzelBefundVereinfachteZollanmeldungTyp
+
+ Private objektIdentifizierungField As ObjektIdentifizierungVBTyp
+
+ Private kopfDatenField As KopfdatenBefundVereinfachteZollanmeldungTyp
+
+ Private positionField As List(Of PositionBefundVereinfachteZollanmeldungTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.positionField = New List(Of PositionBefundVereinfachteZollanmeldungTyp)()
+ Me.kopfDatenField = New KopfdatenBefundVereinfachteZollanmeldungTyp()
+ Me.objektIdentifizierungField = New ObjektIdentifizierungVBTyp()
+ End Sub
+
+ Public Property ObjektIdentifizierung() As ObjektIdentifizierungVBTyp
+ Get
+ Return Me.objektIdentifizierungField
+ End Get
+ Set
+ Me.objektIdentifizierungField = Value
+ End Set
+ End Property
+
+ Public Property KopfDaten() As KopfdatenBefundVereinfachteZollanmeldungTyp
+ Get
+ Return Me.kopfDatenField
+ End Get
+ Set
+ Me.kopfDatenField = Value
+ End Set
+ End Property
+
+ Public Property Position() As List(Of PositionBefundVereinfachteZollanmeldungTyp)
+ Get
+ Return Me.positionField
+ End Get
+ Set
+ Me.positionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelBefundVereinfachteZollanmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelBefundVereinfachteZollanmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelBefundVereinfachteZollanmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelBefundVereinfachteZollanmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelBefundVereinfachteZollanmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelBefundVereinfachteZollanmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class ObjektIdentifizierungVBTyp
+
+ Private objektNameField As String
+
+ Private eDIFACTNachrichtenNrField As String
+
+ Private zeitpunktEingangField As Date
+
+ Private zeitpunktEingangFieldSpecified As Boolean
+
+ Private shipmentReferenzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ObjektName() As String
+ Get
+ Return Me.objektNameField
+ End Get
+ Set
+ Me.objektNameField = Value
+ End Set
+ End Property
+
+ Public Property EDIFACTNachrichtenNr() As String
+ Get
+ Return Me.eDIFACTNachrichtenNrField
+ End Get
+ Set
+ Me.eDIFACTNachrichtenNrField = Value
+ End Set
+ End Property
+
+ Public Property ZeitpunktEingang() As Date
+ Get
+ Return Me.zeitpunktEingangField
+ End Get
+ Set
+ Me.zeitpunktEingangField = Value
+ End Set
+ End Property
+
+
+ Public Property ZeitpunktEingangSpecified() As Boolean
+ Get
+ Return Me.zeitpunktEingangFieldSpecified
+ End Get
+ Set
+ Me.zeitpunktEingangFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property ShipmentReferenz() As String
+ Get
+ Return Me.shipmentReferenzField
+ End Get
+ Set
+ Me.shipmentReferenzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(ObjektIdentifizierungVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current ObjektIdentifizierungVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an ObjektIdentifizierungVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output ObjektIdentifizierungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As ObjektIdentifizierungVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), ObjektIdentifizierungVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current ObjektIdentifizierungVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an ObjektIdentifizierungVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output ObjektIdentifizierungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As ObjektIdentifizierungVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class SonderabgabenVBTyp
+
+ Private sonderfalleingabeSonderabgabengruppeField As String
+
+ Private anwendungsartField As String
+
+ Private satzBetragFaktorField As Decimal
+
+ Private satzBetragFaktorFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property SonderfalleingabeSonderabgabengruppe() As String
+ Get
+ Return Me.sonderfalleingabeSonderabgabengruppeField
+ End Get
+ Set
+ Me.sonderfalleingabeSonderabgabengruppeField = Value
+ End Set
+ End Property
+
+ Public Property Anwendungsart() As String
+ Get
+ Return Me.anwendungsartField
+ End Get
+ Set
+ Me.anwendungsartField = Value
+ End Set
+ End Property
+
+ Public Property SatzBetragFaktor() As Decimal
+ Get
+ Return Me.satzBetragFaktorField
+ End Get
+ Set
+ Me.satzBetragFaktorField = Value
+ End Set
+ End Property
+
+
+ Public Property SatzBetragFaktorSpecified() As Boolean
+ Get
+ Return Me.satzBetragFaktorFieldSpecified
+ End Get
+ Set
+ Me.satzBetragFaktorFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(SonderabgabenVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current SonderabgabenVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an SonderabgabenVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output SonderabgabenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderabgabenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderabgabenVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderabgabenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As SonderabgabenVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), SonderabgabenVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current SonderabgabenVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an SonderabgabenVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output SonderabgabenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderabgabenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderabgabenVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderabgabenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As SonderabgabenVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class MinderungVBTyp
+
+ Private minderndeAbgabengruppeField As String
+
+ Private minderungsbetragField As Decimal
+
+ Private minderungsbetragFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property MinderndeAbgabengruppe() As String
+ Get
+ Return Me.minderndeAbgabengruppeField
+ End Get
+ Set
+ Me.minderndeAbgabengruppeField = Value
+ End Set
+ End Property
+
+ Public Property Minderungsbetrag() As Decimal
+ Get
+ Return Me.minderungsbetragField
+ End Get
+ Set
+ Me.minderungsbetragField = Value
+ End Set
+ End Property
+
+
+ Public Property MinderungsbetragSpecified() As Boolean
+ Get
+ Return Me.minderungsbetragFieldSpecified
+ End Get
+ Set
+ Me.minderungsbetragFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(MinderungVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current MinderungVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an MinderungVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output MinderungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As MinderungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, MinderungVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As MinderungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As MinderungVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), MinderungVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current MinderungVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an MinderungVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output MinderungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As MinderungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, MinderungVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As MinderungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As MinderungVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class VerbrauchsteuerVBTyp
+
+ Private verbrauchsteuerCodeField As String
+
+ Private verbrauchssteuerMengeField As Decimal
+
+ Private verbrauchssteuerMengeFieldSpecified As Boolean
+
+ Private verbrauchssteuerMasseinheitCodeField As String
+
+ Private verbrauchssteuerMasseinheitQualifierField As String
+
+ Private gradProzentField As Decimal
+
+ Private gradProzentFieldSpecified As Boolean
+
+ Private verbrauchssteuerWertBasisField As Decimal
+
+ Private verbrauchssteuerWertBasisFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property VerbrauchsteuerCode() As String
+ Get
+ Return Me.verbrauchsteuerCodeField
+ End Get
+ Set
+ Me.verbrauchsteuerCodeField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerMenge() As Decimal
+ Get
+ Return Me.verbrauchssteuerMengeField
+ End Get
+ Set
+ Me.verbrauchssteuerMengeField = Value
+ End Set
+ End Property
+
+
+ Public Property VerbrauchssteuerMengeSpecified() As Boolean
+ Get
+ Return Me.verbrauchssteuerMengeFieldSpecified
+ End Get
+ Set
+ Me.verbrauchssteuerMengeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerMasseinheitCode() As String
+ Get
+ Return Me.verbrauchssteuerMasseinheitCodeField
+ End Get
+ Set
+ Me.verbrauchssteuerMasseinheitCodeField = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerMasseinheitQualifier() As String
+ Get
+ Return Me.verbrauchssteuerMasseinheitQualifierField
+ End Get
+ Set
+ Me.verbrauchssteuerMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+ Public Property GradProzent() As Decimal
+ Get
+ Return Me.gradProzentField
+ End Get
+ Set
+ Me.gradProzentField = Value
+ End Set
+ End Property
+
+
+ Public Property GradProzentSpecified() As Boolean
+ Get
+ Return Me.gradProzentFieldSpecified
+ End Get
+ Set
+ Me.gradProzentFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property VerbrauchssteuerWertBasis() As Decimal
+ Get
+ Return Me.verbrauchssteuerWertBasisField
+ End Get
+ Set
+ Me.verbrauchssteuerWertBasisField = Value
+ End Set
+ End Property
+
+
+ Public Property VerbrauchssteuerWertBasisSpecified() As Boolean
+ Get
+ Return Me.verbrauchssteuerWertBasisFieldSpecified
+ End Get
+ Set
+ Me.verbrauchssteuerWertBasisFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(VerbrauchsteuerVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current VerbrauchsteuerVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an VerbrauchsteuerVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output VerbrauchsteuerVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As VerbrauchsteuerVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, VerbrauchsteuerVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As VerbrauchsteuerVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As VerbrauchsteuerVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), VerbrauchsteuerVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current VerbrauchsteuerVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an VerbrauchsteuerVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output VerbrauchsteuerVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As VerbrauchsteuerVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, VerbrauchsteuerVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As VerbrauchsteuerVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As VerbrauchsteuerVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class GehaltsangabenVBTyp
+
+ Private artCodeField As String
+
+ Private gradProzentField As Decimal
+
+ Private gradProzentFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ArtCode() As String
+ Get
+ Return Me.artCodeField
+ End Get
+ Set
+ Me.artCodeField = Value
+ End Set
+ End Property
+
+ Public Property GradProzent() As Decimal
+ Get
+ Return Me.gradProzentField
+ End Get
+ Set
+ Me.gradProzentField = Value
+ End Set
+ End Property
+
+
+ Public Property GradProzentSpecified() As Boolean
+ Get
+ Return Me.gradProzentFieldSpecified
+ End Get
+ Set
+ Me.gradProzentFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(GehaltsangabenVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current GehaltsangabenVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an GehaltsangabenVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output GehaltsangabenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As GehaltsangabenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, GehaltsangabenVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As GehaltsangabenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As GehaltsangabenVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), GehaltsangabenVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current GehaltsangabenVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an GehaltsangabenVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output GehaltsangabenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As GehaltsangabenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, GehaltsangabenVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As GehaltsangabenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As GehaltsangabenVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PreisWertangabeVBTyp
+
+ Private preisartCodeField As String
+
+ Private wertField As Decimal
+
+ Private wertFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property PreisartCode() As String
+ Get
+ Return Me.preisartCodeField
+ End Get
+ Set
+ Me.preisartCodeField = Value
+ End Set
+ End Property
+
+ Public Property Wert() As Decimal
+ Get
+ Return Me.wertField
+ End Get
+ Set
+ Me.wertField = Value
+ End Set
+ End Property
+
+
+ Public Property WertSpecified() As Boolean
+ Get
+ Return Me.wertFieldSpecified
+ End Get
+ Set
+ Me.wertFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PreisWertangabeVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PreisWertangabeVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PreisWertangabeVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PreisWertangabeVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PreisWertangabeVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PreisWertangabeVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PreisWertangabeVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PreisWertangabeVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PreisWertangabeVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PreisWertangabeVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PreisWertangabeVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PreisWertangabeVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PreisWertangabeVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PreisWertangabeVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PreisWertangabeVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PreisWertangabeVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class WarenMengeVBTyp
+
+ Private mengeField As String
+
+ Private masseinheitField As String
+
+ Private qualifierField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Menge() As String
+ Get
+ Return Me.mengeField
+ End Get
+ Set
+ Me.mengeField = Value
+ End Set
+ End Property
+
+ Public Property Masseinheit() As String
+ Get
+ Return Me.masseinheitField
+ End Get
+ Set
+ Me.masseinheitField = Value
+ End Set
+ End Property
+
+ Public Property Qualifier() As String
+ Get
+ Return Me.qualifierField
+ End Get
+ Set
+ Me.qualifierField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(WarenMengeVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current WarenMengeVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an WarenMengeVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output WarenMengeVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As WarenMengeVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, WarenMengeVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As WarenMengeVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As WarenMengeVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), WarenMengeVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current WarenMengeVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an WarenMengeVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output WarenMengeVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As WarenMengeVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, WarenMengeVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As WarenMengeVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As WarenMengeVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AbzugHinzurechnungenVBTyp
+
+ Private artCodeField As String
+
+ Private artTextField As String
+
+ Private betragField As Decimal
+
+ Private betragFieldSpecified As Boolean
+
+ Private iATAKursKzField As String
+
+ Private waehrungField As String
+
+ Private kursVereinbartKzField As String
+
+ Private kursAuslandswaehrungField As Decimal
+
+ Private kursAuslandswaehrungFieldSpecified As Boolean
+
+ Private kursDatumField As Date
+
+ Private kursDatumFieldSpecified As Boolean
+
+ Private prozentsatzField As Decimal
+
+ Private prozentsatzFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ArtCode() As String
+ Get
+ Return Me.artCodeField
+ End Get
+ Set
+ Me.artCodeField = Value
+ End Set
+ End Property
+
+ Public Property ArtText() As String
+ Get
+ Return Me.artTextField
+ End Get
+ Set
+ Me.artTextField = Value
+ End Set
+ End Property
+
+ Public Property Betrag() As Decimal
+ Get
+ Return Me.betragField
+ End Get
+ Set
+ Me.betragField = Value
+ End Set
+ End Property
+
+
+ Public Property BetragSpecified() As Boolean
+ Get
+ Return Me.betragFieldSpecified
+ End Get
+ Set
+ Me.betragFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property IATAKursKz() As String
+ Get
+ Return Me.iATAKursKzField
+ End Get
+ Set
+ Me.iATAKursKzField = Value
+ End Set
+ End Property
+
+ Public Property Waehrung() As String
+ Get
+ Return Me.waehrungField
+ End Get
+ Set
+ Me.waehrungField = Value
+ End Set
+ End Property
+
+ Public Property KursVereinbartKz() As String
+ Get
+ Return Me.kursVereinbartKzField
+ End Get
+ Set
+ Me.kursVereinbartKzField = Value
+ End Set
+ End Property
+
+ Public Property KursAuslandswaehrung() As Decimal
+ Get
+ Return Me.kursAuslandswaehrungField
+ End Get
+ Set
+ Me.kursAuslandswaehrungField = Value
+ End Set
+ End Property
+
+
+ Public Property KursAuslandswaehrungSpecified() As Boolean
+ Get
+ Return Me.kursAuslandswaehrungFieldSpecified
+ End Get
+ Set
+ Me.kursAuslandswaehrungFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property KursDatum() As Date
+ Get
+ Return Me.kursDatumField
+ End Get
+ Set
+ Me.kursDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property KursDatumSpecified() As Boolean
+ Get
+ Return Me.kursDatumFieldSpecified
+ End Get
+ Set
+ Me.kursDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Prozentsatz() As Decimal
+ Get
+ Return Me.prozentsatzField
+ End Get
+ Set
+ Me.prozentsatzField = Value
+ End Set
+ End Property
+
+
+ Public Property ProzentsatzSpecified() As Boolean
+ Get
+ Return Me.prozentsatzFieldSpecified
+ End Get
+ Set
+ Me.prozentsatzFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbzugHinzurechnungenVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbzugHinzurechnungenVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbzugHinzurechnungenVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbzugHinzurechnungenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbzugHinzurechnungenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbzugHinzurechnungenVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbzugHinzurechnungenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbzugHinzurechnungenVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbzugHinzurechnungenVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbzugHinzurechnungenVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbzugHinzurechnungenVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbzugHinzurechnungenVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbzugHinzurechnungenVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbzugHinzurechnungenVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbzugHinzurechnungenVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbzugHinzurechnungenVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AbweichungVBTyp
+
+ Private abweichendFestgesetztesFeldField As String
+
+ Private abweichendFestgesetztesFeldQualifikatorField As String
+
+ Private qualifikatorInhaltField As String
+
+ Private abweichendeFestsetzungArtField As String
+
+ Private abweichendFestgesetztVonField As String
+
+ Private abweichendFestgesetztAufField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property AbweichendFestgesetztesFeld() As String
+ Get
+ Return Me.abweichendFestgesetztesFeldField
+ End Get
+ Set
+ Me.abweichendFestgesetztesFeldField = Value
+ End Set
+ End Property
+
+ Public Property AbweichendFestgesetztesFeldQualifikator() As String
+ Get
+ Return Me.abweichendFestgesetztesFeldQualifikatorField
+ End Get
+ Set
+ Me.abweichendFestgesetztesFeldQualifikatorField = Value
+ End Set
+ End Property
+
+ Public Property QualifikatorInhalt() As String
+ Get
+ Return Me.qualifikatorInhaltField
+ End Get
+ Set
+ Me.qualifikatorInhaltField = Value
+ End Set
+ End Property
+
+ Public Property AbweichendeFestsetzungArt() As String
+ Get
+ Return Me.abweichendeFestsetzungArtField
+ End Get
+ Set
+ Me.abweichendeFestsetzungArtField = Value
+ End Set
+ End Property
+
+ Public Property AbweichendFestgesetztVon() As String
+ Get
+ Return Me.abweichendFestgesetztVonField
+ End Get
+ Set
+ Me.abweichendFestgesetztVonField = Value
+ End Set
+ End Property
+
+ Public Property AbweichendFestgesetztAuf() As String
+ Get
+ Return Me.abweichendFestgesetztAufField
+ End Get
+ Set
+ Me.abweichendFestgesetztAufField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbweichungVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbweichungVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbweichungVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbweichungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbweichungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbweichungVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbweichungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbweichungVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbweichungVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbweichungVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbweichungVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbweichungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbweichungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbweichungVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbweichungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbweichungVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class UnterlageVBTyp
+
+ Private artField As String
+
+ Private bereichField As String
+
+ Private nummerField As String
+
+ Private datumAusstellungField As Date
+
+ Private datumAusstellungFieldSpecified As Boolean
+
+ Private vorlageKzField As String
+
+ Private abschreibungsMengeField As Decimal
+
+ Private abschreibungsMengeFieldSpecified As Boolean
+
+ Private abschreibungsMengeMasseinheitField As String
+
+ Private abschreibungsMengeMasseinheitQualifierField As String
+
+ Private kzAnerkennungField As String
+
+ Private kzAbschreibungField As String
+
+ Private kzEinbehaltenField As String
+
+ Private kzPeriodischeVorlageField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Art() As String
+ Get
+ Return Me.artField
+ End Get
+ Set
+ Me.artField = Value
+ End Set
+ End Property
+
+ Public Property Bereich() As String
+ Get
+ Return Me.bereichField
+ End Get
+ Set
+ Me.bereichField = Value
+ End Set
+ End Property
+
+ Public Property Nummer() As String
+ Get
+ Return Me.nummerField
+ End Get
+ Set
+ Me.nummerField = Value
+ End Set
+ End Property
+
+ Public Property DatumAusstellung() As Date
+ Get
+ Return Me.datumAusstellungField
+ End Get
+ Set
+ Me.datumAusstellungField = Value
+ End Set
+ End Property
+
+
+ Public Property DatumAusstellungSpecified() As Boolean
+ Get
+ Return Me.datumAusstellungFieldSpecified
+ End Get
+ Set
+ Me.datumAusstellungFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property VorlageKz() As String
+ Get
+ Return Me.vorlageKzField
+ End Get
+ Set
+ Me.vorlageKzField = Value
+ End Set
+ End Property
+
+ Public Property AbschreibungsMenge() As Decimal
+ Get
+ Return Me.abschreibungsMengeField
+ End Get
+ Set
+ Me.abschreibungsMengeField = Value
+ End Set
+ End Property
+
+
+ Public Property AbschreibungsMengeSpecified() As Boolean
+ Get
+ Return Me.abschreibungsMengeFieldSpecified
+ End Get
+ Set
+ Me.abschreibungsMengeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbschreibungsMengeMasseinheit() As String
+ Get
+ Return Me.abschreibungsMengeMasseinheitField
+ End Get
+ Set
+ Me.abschreibungsMengeMasseinheitField = Value
+ End Set
+ End Property
+
+ Public Property AbschreibungsMengeMasseinheitQualifier() As String
+ Get
+ Return Me.abschreibungsMengeMasseinheitQualifierField
+ End Get
+ Set
+ Me.abschreibungsMengeMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+ Public Property KzAnerkennung() As String
+ Get
+ Return Me.kzAnerkennungField
+ End Get
+ Set
+ Me.kzAnerkennungField = Value
+ End Set
+ End Property
+
+ Public Property KzAbschreibung() As String
+ Get
+ Return Me.kzAbschreibungField
+ End Get
+ Set
+ Me.kzAbschreibungField = Value
+ End Set
+ End Property
+
+ Public Property KzEinbehalten() As String
+ Get
+ Return Me.kzEinbehaltenField
+ End Get
+ Set
+ Me.kzEinbehaltenField = Value
+ End Set
+ End Property
+
+ Public Property KzPeriodischeVorlage() As String
+ Get
+ Return Me.kzPeriodischeVorlageField
+ End Get
+ Set
+ Me.kzPeriodischeVorlageField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(UnterlageVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current UnterlageVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an UnterlageVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output UnterlageVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As UnterlageVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, UnterlageVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As UnterlageVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As UnterlageVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), UnterlageVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current UnterlageVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an UnterlageVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output UnterlageVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As UnterlageVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, UnterlageVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As UnterlageVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As UnterlageVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PositionBefundVereinfachteZollanmeldungTyp
+
+ Private positionsNrvZAAZField As String
+
+ Private mitteilungAnTeilnehmerBeschauField As String
+
+ Private weitererNachweisField As String
+
+ Private mitteilungAnTeilnehmerErledigungField As String
+
+ Private positionsbefundField As String
+
+ Private unterlageField As List(Of UnterlageVBTyp)
+
+ Private ueberlassungDatumField As Date
+
+ Private ueberlassungDatumFieldSpecified As Boolean
+
+ Private weitererNachweisFristField As Date
+
+ Private weitererNachweisFristFieldSpecified As Boolean
+
+ Private positionKzErledigungField As String
+
+ Private abweichungField As List(Of AbweichungVBTyp)
+
+ Private warenNummerEZTField As String
+
+ Private warenNummerZusatzCodeField As List(Of String)
+
+ Private abgabensteuerungKzField As String
+
+ Private eUCodeField As List(Of String)
+
+ Private sachbereichField As String
+
+ Private artikelNummerField As String
+
+ Private artikelpreisField As Decimal
+
+ Private artikelpreisFieldSpecified As Boolean
+
+ Private positionsZusatzField As String
+
+ Private eigenmasseField As Decimal
+
+ Private eigenmasseFieldSpecified As Boolean
+
+ Private ursprungslandCodeField As String
+
+ Private tabakSteuerzeichenIDField As String
+
+ Private statistikStatusField As String
+
+ Private artGeschaeftCodeField As String
+
+ Private bestimmungsbundeslandField As String
+
+ Private aHStatWertField As String
+
+ Private aHStatMengeField As Decimal
+
+ Private aHStatMengeFieldSpecified As Boolean
+
+ Private aHStatMengeMasseinheitField As String
+
+ Private aHStatMengeQualifierField As String
+
+ Private rohmasseField As Decimal
+
+ Private rohmasseFieldSpecified As Boolean
+
+ Private dV1NettopreisField As Decimal
+
+ Private dV1NettopreisFieldSpecified As Boolean
+
+ Private dV1WaehrungField As String
+
+ Private dV1KzKursNettoVereinbartField As String
+
+ Private dV1KursField As Decimal
+
+ Private dV1KursFieldSpecified As Boolean
+
+ Private dV1MittelbareZahlungenField As Decimal
+
+ Private dV1MittelbareZahlungenFieldSpecified As Boolean
+
+ Private dV1MittelbareZahlungenWaehrungField As String
+
+ Private dV1MittelbareZahlungenKursKzField As String
+
+ Private dV1MittelbareZahlungenKursField As Decimal
+
+ Private dV1MittelbareZahlungenKursFieldSpecified As Boolean
+
+ Private ortVerbringensField As String
+
+ Private abflughafenIATACodeField As String
+
+ Private luftfrachtkostenGesamtField As Decimal
+
+ Private luftfrachtkostenGesamtFieldSpecified As Boolean
+
+ Private iATAKursKzField As String
+
+ Private luftfrachtkostenGesamtWaehrungField As String
+
+ Private kursVereinbartKzField As String
+
+ Private kursBetragVereinbartField As Decimal
+
+ Private kursBetragVereinbartFieldSpecified As Boolean
+
+ Private kursDatumField As Date
+
+ Private kursDatumFieldSpecified As Boolean
+
+ Private abzugHinzurechnungenField As List(Of AbzugHinzurechnungenVBTyp)
+
+ Private zollwertField As Decimal
+
+ Private zollwertFieldSpecified As Boolean
+
+ Private warenMengeField As List(Of WarenMengeVBTyp)
+
+ Private besondereWertangabeField As List(Of PreisWertangabeVBTyp)
+
+ Private gehaltsangabenField As List(Of GehaltsangabenVBTyp)
+
+ Private veredelungWertsteigerungField As Decimal
+
+ Private veredelungWertsteigerungFieldSpecified As Boolean
+
+ Private kostenEUStField As Decimal
+
+ Private kostenEUStFieldSpecified As Boolean
+
+ Private verbrauchsteuerField As List(Of VerbrauchsteuerVBTyp)
+
+ Private beguenstigungBeantragtCodeField As String
+
+ Private beguenstigungMengeField As String
+
+ Private beguenstigungMengeMasseinheitField As String
+
+ Private beguenstigungMengeQualifikatorField As String
+
+ Private minderungField As List(Of MinderungVBTyp)
+
+ Private sonderabgabenField As List(Of SonderabgabenVBTyp)
+
+ Private kontingentNrAngewandtField As List(Of String)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.kontingentNrAngewandtField = New List(Of String)()
+ Me.sonderabgabenField = New List(Of SonderabgabenVBTyp)()
+ Me.minderungField = New List(Of MinderungVBTyp)()
+ Me.verbrauchsteuerField = New List(Of VerbrauchsteuerVBTyp)()
+ Me.gehaltsangabenField = New List(Of GehaltsangabenVBTyp)()
+ Me.besondereWertangabeField = New List(Of PreisWertangabeVBTyp)()
+ Me.warenMengeField = New List(Of WarenMengeVBTyp)()
+ Me.abzugHinzurechnungenField = New List(Of AbzugHinzurechnungenVBTyp)()
+ Me.eUCodeField = New List(Of String)()
+ Me.warenNummerZusatzCodeField = New List(Of String)()
+ Me.abweichungField = New List(Of AbweichungVBTyp)()
+ Me.unterlageField = New List(Of UnterlageVBTyp)()
+ End Sub
+
+ Public Property PositionsNrvZAAZ() As String
+ Get
+ Return Me.positionsNrvZAAZField
+ End Get
+ Set
+ Me.positionsNrvZAAZField = Value
+ End Set
+ End Property
+
+ Public Property MitteilungAnTeilnehmerBeschau() As String
+ Get
+ Return Me.mitteilungAnTeilnehmerBeschauField
+ End Get
+ Set
+ Me.mitteilungAnTeilnehmerBeschauField = Value
+ End Set
+ End Property
+
+ Public Property WeitererNachweis() As String
+ Get
+ Return Me.weitererNachweisField
+ End Get
+ Set
+ Me.weitererNachweisField = Value
+ End Set
+ End Property
+
+ Public Property MitteilungAnTeilnehmerErledigung() As String
+ Get
+ Return Me.mitteilungAnTeilnehmerErledigungField
+ End Get
+ Set
+ Me.mitteilungAnTeilnehmerErledigungField = Value
+ End Set
+ End Property
+
+ Public Property Positionsbefund() As String
+ Get
+ Return Me.positionsbefundField
+ End Get
+ Set
+ Me.positionsbefundField = Value
+ End Set
+ End Property
+
+ Public Property Unterlage() As List(Of UnterlageVBTyp)
+ Get
+ Return Me.unterlageField
+ End Get
+ Set
+ Me.unterlageField = Value
+ End Set
+ End Property
+
+ Public Property UeberlassungDatum() As Date
+ Get
+ Return Me.ueberlassungDatumField
+ End Get
+ Set
+ Me.ueberlassungDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property UeberlassungDatumSpecified() As Boolean
+ Get
+ Return Me.ueberlassungDatumFieldSpecified
+ End Get
+ Set
+ Me.ueberlassungDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property WeitererNachweisFrist() As Date
+ Get
+ Return Me.weitererNachweisFristField
+ End Get
+ Set
+ Me.weitererNachweisFristField = Value
+ End Set
+ End Property
+
+
+ Public Property WeitererNachweisFristSpecified() As Boolean
+ Get
+ Return Me.weitererNachweisFristFieldSpecified
+ End Get
+ Set
+ Me.weitererNachweisFristFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property PositionKzErledigung() As String
+ Get
+ Return Me.positionKzErledigungField
+ End Get
+ Set
+ Me.positionKzErledigungField = Value
+ End Set
+ End Property
+
+ Public Property Abweichung() As List(Of AbweichungVBTyp)
+ Get
+ Return Me.abweichungField
+ End Get
+ Set
+ Me.abweichungField = Value
+ End Set
+ End Property
+
+ Public Property WarenNummerEZT() As String
+ Get
+ Return Me.warenNummerEZTField
+ End Get
+ Set
+ Me.warenNummerEZTField = Value
+ End Set
+ End Property
+
+ Public Property WarenNummerZusatzCode() As List(Of String)
+ Get
+ Return Me.warenNummerZusatzCodeField
+ End Get
+ Set
+ Me.warenNummerZusatzCodeField = Value
+ End Set
+ End Property
+
+ Public Property AbgabensteuerungKz() As String
+ Get
+ Return Me.abgabensteuerungKzField
+ End Get
+ Set
+ Me.abgabensteuerungKzField = Value
+ End Set
+ End Property
+
+ Public Property EUCode() As List(Of String)
+ Get
+ Return Me.eUCodeField
+ End Get
+ Set
+ Me.eUCodeField = Value
+ End Set
+ End Property
+
+ Public Property Sachbereich() As String
+ Get
+ Return Me.sachbereichField
+ End Get
+ Set
+ Me.sachbereichField = Value
+ End Set
+ End Property
+
+ Public Property ArtikelNummer() As String
+ Get
+ Return Me.artikelNummerField
+ End Get
+ Set
+ Me.artikelNummerField = Value
+ End Set
+ End Property
+
+ Public Property Artikelpreis() As Decimal
+ Get
+ Return Me.artikelpreisField
+ End Get
+ Set
+ Me.artikelpreisField = Value
+ End Set
+ End Property
+
+
+ Public Property ArtikelpreisSpecified() As Boolean
+ Get
+ Return Me.artikelpreisFieldSpecified
+ End Get
+ Set
+ Me.artikelpreisFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property PositionsZusatz() As String
+ Get
+ Return Me.positionsZusatzField
+ End Get
+ Set
+ Me.positionsZusatzField = Value
+ End Set
+ End Property
+
+ Public Property Eigenmasse() As Decimal
+ Get
+ Return Me.eigenmasseField
+ End Get
+ Set
+ Me.eigenmasseField = Value
+ End Set
+ End Property
+
+
+ Public Property EigenmasseSpecified() As Boolean
+ Get
+ Return Me.eigenmasseFieldSpecified
+ End Get
+ Set
+ Me.eigenmasseFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property UrsprungslandCode() As String
+ Get
+ Return Me.ursprungslandCodeField
+ End Get
+ Set
+ Me.ursprungslandCodeField = Value
+ End Set
+ End Property
+
+ Public Property TabakSteuerzeichenID() As String
+ Get
+ Return Me.tabakSteuerzeichenIDField
+ End Get
+ Set
+ Me.tabakSteuerzeichenIDField = Value
+ End Set
+ End Property
+
+ Public Property StatistikStatus() As String
+ Get
+ Return Me.statistikStatusField
+ End Get
+ Set
+ Me.statistikStatusField = Value
+ End Set
+ End Property
+
+ Public Property ArtGeschaeftCode() As String
+ Get
+ Return Me.artGeschaeftCodeField
+ End Get
+ Set
+ Me.artGeschaeftCodeField = Value
+ End Set
+ End Property
+
+ Public Property Bestimmungsbundesland() As String
+ Get
+ Return Me.bestimmungsbundeslandField
+ End Get
+ Set
+ Me.bestimmungsbundeslandField = Value
+ End Set
+ End Property
+
+ Public Property AHStatWert() As String
+ Get
+ Return Me.aHStatWertField
+ End Get
+ Set
+ Me.aHStatWertField = Value
+ End Set
+ End Property
+
+ Public Property AHStatMenge() As Decimal
+ Get
+ Return Me.aHStatMengeField
+ End Get
+ Set
+ Me.aHStatMengeField = Value
+ End Set
+ End Property
+
+
+ Public Property AHStatMengeSpecified() As Boolean
+ Get
+ Return Me.aHStatMengeFieldSpecified
+ End Get
+ Set
+ Me.aHStatMengeFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AHStatMengeMasseinheit() As String
+ Get
+ Return Me.aHStatMengeMasseinheitField
+ End Get
+ Set
+ Me.aHStatMengeMasseinheitField = Value
+ End Set
+ End Property
+
+ Public Property AHStatMengeQualifier() As String
+ Get
+ Return Me.aHStatMengeQualifierField
+ End Get
+ Set
+ Me.aHStatMengeQualifierField = Value
+ End Set
+ End Property
+
+ Public Property Rohmasse() As Decimal
+ Get
+ Return Me.rohmasseField
+ End Get
+ Set
+ Me.rohmasseField = Value
+ End Set
+ End Property
+
+
+ Public Property RohmasseSpecified() As Boolean
+ Get
+ Return Me.rohmasseFieldSpecified
+ End Get
+ Set
+ Me.rohmasseFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property DV1Nettopreis() As Decimal
+ Get
+ Return Me.dV1NettopreisField
+ End Get
+ Set
+ Me.dV1NettopreisField = Value
+ End Set
+ End Property
+
+
+ Public Property DV1NettopreisSpecified() As Boolean
+ Get
+ Return Me.dV1NettopreisFieldSpecified
+ End Get
+ Set
+ Me.dV1NettopreisFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property DV1Waehrung() As String
+ Get
+ Return Me.dV1WaehrungField
+ End Get
+ Set
+ Me.dV1WaehrungField = Value
+ End Set
+ End Property
+
+ Public Property DV1KzKursNettoVereinbart() As String
+ Get
+ Return Me.dV1KzKursNettoVereinbartField
+ End Get
+ Set
+ Me.dV1KzKursNettoVereinbartField = Value
+ End Set
+ End Property
+
+ Public Property DV1Kurs() As Decimal
+ Get
+ Return Me.dV1KursField
+ End Get
+ Set
+ Me.dV1KursField = Value
+ End Set
+ End Property
+
+
+ Public Property DV1KursSpecified() As Boolean
+ Get
+ Return Me.dV1KursFieldSpecified
+ End Get
+ Set
+ Me.dV1KursFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property DV1MittelbareZahlungen() As Decimal
+ Get
+ Return Me.dV1MittelbareZahlungenField
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenField = Value
+ End Set
+ End Property
+
+
+ Public Property DV1MittelbareZahlungenSpecified() As Boolean
+ Get
+ Return Me.dV1MittelbareZahlungenFieldSpecified
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property DV1MittelbareZahlungenWaehrung() As String
+ Get
+ Return Me.dV1MittelbareZahlungenWaehrungField
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenWaehrungField = Value
+ End Set
+ End Property
+
+ Public Property DV1MittelbareZahlungenKursKz() As String
+ Get
+ Return Me.dV1MittelbareZahlungenKursKzField
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenKursKzField = Value
+ End Set
+ End Property
+
+ Public Property DV1MittelbareZahlungenKurs() As Decimal
+ Get
+ Return Me.dV1MittelbareZahlungenKursField
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenKursField = Value
+ End Set
+ End Property
+
+
+ Public Property DV1MittelbareZahlungenKursSpecified() As Boolean
+ Get
+ Return Me.dV1MittelbareZahlungenKursFieldSpecified
+ End Get
+ Set
+ Me.dV1MittelbareZahlungenKursFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property OrtVerbringens() As String
+ Get
+ Return Me.ortVerbringensField
+ End Get
+ Set
+ Me.ortVerbringensField = Value
+ End Set
+ End Property
+
+ Public Property AbflughafenIATACode() As String
+ Get
+ Return Me.abflughafenIATACodeField
+ End Get
+ Set
+ Me.abflughafenIATACodeField = Value
+ End Set
+ End Property
+
+ Public Property LuftfrachtkostenGesamt() As Decimal
+ Get
+ Return Me.luftfrachtkostenGesamtField
+ End Get
+ Set
+ Me.luftfrachtkostenGesamtField = Value
+ End Set
+ End Property
+
+
+ Public Property LuftfrachtkostenGesamtSpecified() As Boolean
+ Get
+ Return Me.luftfrachtkostenGesamtFieldSpecified
+ End Get
+ Set
+ Me.luftfrachtkostenGesamtFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property IATAKursKz() As String
+ Get
+ Return Me.iATAKursKzField
+ End Get
+ Set
+ Me.iATAKursKzField = Value
+ End Set
+ End Property
+
+ Public Property LuftfrachtkostenGesamtWaehrung() As String
+ Get
+ Return Me.luftfrachtkostenGesamtWaehrungField
+ End Get
+ Set
+ Me.luftfrachtkostenGesamtWaehrungField = Value
+ End Set
+ End Property
+
+ Public Property KursVereinbartKz() As String
+ Get
+ Return Me.kursVereinbartKzField
+ End Get
+ Set
+ Me.kursVereinbartKzField = Value
+ End Set
+ End Property
+
+ Public Property KursBetragVereinbart() As Decimal
+ Get
+ Return Me.kursBetragVereinbartField
+ End Get
+ Set
+ Me.kursBetragVereinbartField = Value
+ End Set
+ End Property
+
+
+ Public Property KursBetragVereinbartSpecified() As Boolean
+ Get
+ Return Me.kursBetragVereinbartFieldSpecified
+ End Get
+ Set
+ Me.kursBetragVereinbartFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property KursDatum() As Date
+ Get
+ Return Me.kursDatumField
+ End Get
+ Set
+ Me.kursDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property KursDatumSpecified() As Boolean
+ Get
+ Return Me.kursDatumFieldSpecified
+ End Get
+ Set
+ Me.kursDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property AbzugHinzurechnungen() As List(Of AbzugHinzurechnungenVBTyp)
+ Get
+ Return Me.abzugHinzurechnungenField
+ End Get
+ Set
+ Me.abzugHinzurechnungenField = Value
+ End Set
+ End Property
+
+ Public Property Zollwert() As Decimal
+ Get
+ Return Me.zollwertField
+ End Get
+ Set
+ Me.zollwertField = Value
+ End Set
+ End Property
+
+
+ Public Property ZollwertSpecified() As Boolean
+ Get
+ Return Me.zollwertFieldSpecified
+ End Get
+ Set
+ Me.zollwertFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property WarenMenge() As List(Of WarenMengeVBTyp)
+ Get
+ Return Me.warenMengeField
+ End Get
+ Set
+ Me.warenMengeField = Value
+ End Set
+ End Property
+
+ Public Property BesondereWertangabe() As List(Of PreisWertangabeVBTyp)
+ Get
+ Return Me.besondereWertangabeField
+ End Get
+ Set
+ Me.besondereWertangabeField = Value
+ End Set
+ End Property
+
+ Public Property Gehaltsangaben() As List(Of GehaltsangabenVBTyp)
+ Get
+ Return Me.gehaltsangabenField
+ End Get
+ Set
+ Me.gehaltsangabenField = Value
+ End Set
+ End Property
+
+ Public Property VeredelungWertsteigerung() As Decimal
+ Get
+ Return Me.veredelungWertsteigerungField
+ End Get
+ Set
+ Me.veredelungWertsteigerungField = Value
+ End Set
+ End Property
+
+
+ Public Property VeredelungWertsteigerungSpecified() As Boolean
+ Get
+ Return Me.veredelungWertsteigerungFieldSpecified
+ End Get
+ Set
+ Me.veredelungWertsteigerungFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property KostenEUSt() As Decimal
+ Get
+ Return Me.kostenEUStField
+ End Get
+ Set
+ Me.kostenEUStField = Value
+ End Set
+ End Property
+
+
+ Public Property KostenEUStSpecified() As Boolean
+ Get
+ Return Me.kostenEUStFieldSpecified
+ End Get
+ Set
+ Me.kostenEUStFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Verbrauchsteuer() As List(Of VerbrauchsteuerVBTyp)
+ Get
+ Return Me.verbrauchsteuerField
+ End Get
+ Set
+ Me.verbrauchsteuerField = Value
+ End Set
+ End Property
+
+ Public Property BeguenstigungBeantragtCode() As String
+ Get
+ Return Me.beguenstigungBeantragtCodeField
+ End Get
+ Set
+ Me.beguenstigungBeantragtCodeField = Value
+ End Set
+ End Property
+
+ Public Property BeguenstigungMenge() As String
+ Get
+ Return Me.beguenstigungMengeField
+ End Get
+ Set
+ Me.beguenstigungMengeField = Value
+ End Set
+ End Property
+
+ Public Property BeguenstigungMengeMasseinheit() As String
+ Get
+ Return Me.beguenstigungMengeMasseinheitField
+ End Get
+ Set
+ Me.beguenstigungMengeMasseinheitField = Value
+ End Set
+ End Property
+
+ Public Property BeguenstigungMengeQualifikator() As String
+ Get
+ Return Me.beguenstigungMengeQualifikatorField
+ End Get
+ Set
+ Me.beguenstigungMengeQualifikatorField = Value
+ End Set
+ End Property
+
+ Public Property Minderung() As List(Of MinderungVBTyp)
+ Get
+ Return Me.minderungField
+ End Get
+ Set
+ Me.minderungField = Value
+ End Set
+ End Property
+
+ Public Property Sonderabgaben() As List(Of SonderabgabenVBTyp)
+ Get
+ Return Me.sonderabgabenField
+ End Get
+ Set
+ Me.sonderabgabenField = Value
+ End Set
+ End Property
+
+ Public Property KontingentNrAngewandt() As List(Of String)
+ Get
+ Return Me.kontingentNrAngewandtField
+ End Get
+ Set
+ Me.kontingentNrAngewandtField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PositionBefundVereinfachteZollanmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PositionBefundVereinfachteZollanmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PositionBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PositionBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PositionBefundVereinfachteZollanmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PositionBefundVereinfachteZollanmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PositionBefundVereinfachteZollanmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PositionBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PositionBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PositionBefundVereinfachteZollanmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class AnmeldungVBTyp
+
+ Private bereichField As String
+
+ Private artField As String
+
+ Private nummerField As String
+
+ Private datumAusstellungField As Date
+
+ Private datumAusstellungFieldSpecified As Boolean
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Bereich() As String
+ Get
+ Return Me.bereichField
+ End Get
+ Set
+ Me.bereichField = Value
+ End Set
+ End Property
+
+ Public Property Art() As String
+ Get
+ Return Me.artField
+ End Get
+ Set
+ Me.artField = Value
+ End Set
+ End Property
+
+ Public Property Nummer() As String
+ Get
+ Return Me.nummerField
+ End Get
+ Set
+ Me.nummerField = Value
+ End Set
+ End Property
+
+ Public Property DatumAusstellung() As Date
+ Get
+ Return Me.datumAusstellungField
+ End Get
+ Set
+ Me.datumAusstellungField = Value
+ End Set
+ End Property
+
+
+ Public Property DatumAusstellungSpecified() As Boolean
+ Get
+ Return Me.datumAusstellungFieldSpecified
+ End Get
+ Set
+ Me.datumAusstellungFieldSpecified = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AnmeldungVBTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AnmeldungVBTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AnmeldungVBTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AnmeldungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AnmeldungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AnmeldungVBTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AnmeldungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AnmeldungVBTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AnmeldungVBTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AnmeldungVBTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AnmeldungVBTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AnmeldungVBTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AnmeldungVBTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AnmeldungVBTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AnmeldungVBTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AnmeldungVBTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KopfdatenBefundVereinfachteZollanmeldungTyp
+
+ Private sachbearbeiterField As String
+
+ Private telefonnummerBearbeiterField As String
+
+ Private kopfKzErledigungField As String
+
+ Private registriernummerField As String
+
+ Private registrierdatumField As Date
+
+ Private registrierdatumFieldSpecified As Boolean
+
+ Private artAnmeldungField As String
+
+ Private datumErstellungBefundField As Date
+
+ Private datumErstellungBefundFieldSpecified As Boolean
+
+ Private befundField As String
+
+ Private kzVertretungsverhaeltnisField As String
+
+ Private wKZField As String
+
+ Private kzRechtsbehelfField As String
+
+ Private kzGesamtschuldnerschaftField As String
+
+ Private eingangszollstelleGeaendertKzField As String
+
+ Private anmelderEORIField As String
+
+ Private anmelderNLNRField As String
+
+ Private anmelderFirmenbezeichungField As String
+
+ Private anmelderStrasseHausNrField As String
+
+ Private anmelderOrtsteilField As String
+
+ Private anmelderOrtSField As String
+
+ Private anmelderPLZSField As String
+
+ Private anmelderNationalitaetField As String
+
+ Private dienststellenschluesselField As String
+
+ Private dienststelleBezeichungField As String
+
+ Private dienststelleStrasseHausNrField As String
+
+ Private dienststelleOrtSField As String
+
+ Private dienststellePLZSField As String
+
+ Private bearbeiterField As String
+
+ Private dienststelleVorwahlTelefonNrField As String
+
+ Private vertreterEORIField As String
+
+ Private vertreterNLNRField As String
+
+ Private vertreterFirmenbezeichnungField As String
+
+ Private vertreterStrasseHausNrField As String
+
+ Private vertreterOrtsteilField As String
+
+ Private vertreterOrtSField As String
+
+ Private vertreterPLZSField As String
+
+ Private vertreterNationalitaetField As String
+
+ Private hZABezeichnungField As String
+
+ Private hZAEmailAdresseField As String
+
+ Private hZADEmailAdresseField As String
+
+ Private hZAPostfachField As String
+
+ Private hZAOrtPField As String
+
+ Private hZAPLZPField As String
+
+ Private hZAStrasseHausNrField As String
+
+ Private hZAOrtsteilField As String
+
+ Private hZAOrtSField As String
+
+ Private hZAPLZSField As String
+
+ Private fRechnungEORIField As String
+
+ Private fRechnungNLNRField As String
+
+ Private fRechnungNationalitaetField As String
+
+ Private fRechnungNameField As String
+
+ Private fRechnungStrasseHausNrField As String
+
+ Private fRechnungPLZSField As String
+
+ Private fRechnungOrtSField As String
+
+ Private fRechnungOrtsteilField As String
+
+ Private anmelderEmpfaengerKzField As String
+
+ Private bewilligungsnummerField As String
+
+ Private versendungslandCodeField As String
+
+ Private lieferbedingungField As String
+
+ Private lieferbedingungTextField As String
+
+ Private lieferbedingungOrtField As String
+
+ Private lieferbedingungSchluesselField As String
+
+ Private rechnungspreisField As Decimal
+
+ Private rechnungspreisFieldSpecified As Boolean
+
+ Private rechnungswaehrungField As String
+
+ Private finanzamtField As String
+
+ Private eingangszollstelleField As String
+
+ Private dV1KzField As String
+
+ Private verkaeuferEORIField As String
+
+ Private verkaeuferFirmenbezeichnungField As String
+
+ Private verkaeuferNationalitaetField As String
+
+ Private verkaeuferStrasseHausNrField As String
+
+ Private verkaeuferPLZSField As String
+
+ Private verkaeuferOrtSField As String
+
+ Private verkaeuferOrtsteilField As String
+
+ Private kaeuferEORIField As String
+
+ Private kaeuferFirmenbezeichnungField As String
+
+ Private kaeuferNationalitaetField As String
+
+ Private kaeuferStrasseHausNrField As String
+
+ Private kaeuferPLZSField As String
+
+ Private kaeuferOrtSField As String
+
+ Private kaeuferOrtsteilField As String
+
+ Private zollwertanmelderEORIField As String
+
+ Private zollwertanmelderFirmenbezeichnungField As String
+
+ Private zollwertanmelderNationalitaetField As String
+
+ Private zollwertanmelderStrasseHausNrField As String
+
+ Private zollwertanmelderPLZSField As String
+
+ Private zollwertanmelderOrtSField As String
+
+ Private zollwertanmelderOrtsteilField As String
+
+ Private vertreterZollwertanmelderEORIField As String
+
+ Private vertreterZollwertanmelderFirmenbezeichnungField As String
+
+ Private vertreterZollwertanmelderNationalitaetField As String
+
+ Private vertreterZollwertanmelderStrasseHausNrField As String
+
+ Private vertreterZollwertanmelderPLZSField As String
+
+ Private vertreterZollwertanmelderOrtSField As String
+
+ Private vertreterZollwertanmelderOrtsteilField As String
+
+ Private vertretungsverhaeltnisField As String
+
+ Private fruehereEntscheidungenField As String
+
+ Private verbundenheitField As String
+
+ Private verbundenheitEinzelheitenField As String
+
+ Private einschraenkungenKzField As String
+
+ Private bedingungenLeistungenKzField As String
+
+ Private bedingungenLeistungenArtField As String
+
+ Private lizenzgebuehrenKzField As String
+
+ Private lizenzgebuehrenUmstandField As String
+
+ Private spezielleVereinbarungKzField As String
+
+ Private spezielleVereinbarungUmstandField As String
+
+ Private empfaengerEORIField As String
+
+ Private empfaengerNLNRField As String
+
+ Private empfaengerFirmenbezeichnungField As String
+
+ Private empfaengerNationalitaetField As String
+
+ Private empfaengerStrasseHausNrField As String
+
+ Private empfaengerPLZSField As String
+
+ Private empfaengerOrtSField As String
+
+ Private empfaengerOrtsteilField As String
+
+ Private datenuebermittlungEORIField As String
+
+ Private erwerberAndererMitgliedstaatEORIField As String
+
+ Private erwerberAndererMitgliedstaatNLNRField As String
+
+ Private erwerberFirmenbezeichnungField As String
+
+ Private erwerberNationalitaetField As String
+
+ Private erwerberStrasseHausNrField As String
+
+ Private erwerberPLZSField As String
+
+ Private erwerberOrtSField As String
+
+ Private erwerberOrtsteilField As String
+
+ Private erwerberUStIdNrAndererMitgliedstaatField As String
+
+ Private versenderAusfuehrerEORIField As String
+
+ Private versenderAusfuehrerFirmenbezeichnungField As String
+
+ Private versenderAusfuehrerNationalitaetField As String
+
+ Private versenderAusfuehrerStrasseHausNrField As String
+
+ Private versenderAusfuehrerPLZSField As String
+
+ Private versenderAusfuehrerOrtSField As String
+
+ Private versenderAusfuehrerOrtsteilField As String
+
+ Private unterlageField As List(Of AnmeldungVBTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.unterlageField = New List(Of AnmeldungVBTyp)()
+ End Sub
+
+ Public Property Sachbearbeiter() As String
+ Get
+ Return Me.sachbearbeiterField
+ End Get
+ Set
+ Me.sachbearbeiterField = Value
+ End Set
+ End Property
+
+ Public Property TelefonnummerBearbeiter() As String
+ Get
+ Return Me.telefonnummerBearbeiterField
+ End Get
+ Set
+ Me.telefonnummerBearbeiterField = Value
+ End Set
+ End Property
+
+ Public Property KopfKzErledigung() As String
+ Get
+ Return Me.kopfKzErledigungField
+ End Get
+ Set
+ Me.kopfKzErledigungField = Value
+ End Set
+ End Property
+
+ Public Property Registriernummer() As String
+ Get
+ Return Me.registriernummerField
+ End Get
+ Set
+ Me.registriernummerField = Value
+ End Set
+ End Property
+
+ Public Property Registrierdatum() As Date
+ Get
+ Return Me.registrierdatumField
+ End Get
+ Set
+ Me.registrierdatumField = Value
+ End Set
+ End Property
+
+
+ Public Property RegistrierdatumSpecified() As Boolean
+ Get
+ Return Me.registrierdatumFieldSpecified
+ End Get
+ Set
+ Me.registrierdatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property ArtAnmeldung() As String
+ Get
+ Return Me.artAnmeldungField
+ End Get
+ Set
+ Me.artAnmeldungField = Value
+ End Set
+ End Property
+
+ Public Property DatumErstellungBefund() As Date
+ Get
+ Return Me.datumErstellungBefundField
+ End Get
+ Set
+ Me.datumErstellungBefundField = Value
+ End Set
+ End Property
+
+
+ Public Property DatumErstellungBefundSpecified() As Boolean
+ Get
+ Return Me.datumErstellungBefundFieldSpecified
+ End Get
+ Set
+ Me.datumErstellungBefundFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Befund() As String
+ Get
+ Return Me.befundField
+ End Get
+ Set
+ Me.befundField = Value
+ End Set
+ End Property
+
+ Public Property KzVertretungsverhaeltnis() As String
+ Get
+ Return Me.kzVertretungsverhaeltnisField
+ End Get
+ Set
+ Me.kzVertretungsverhaeltnisField = Value
+ End Set
+ End Property
+
+ Public Property WKZ() As String
+ Get
+ Return Me.wKZField
+ End Get
+ Set
+ Me.wKZField = Value
+ End Set
+ End Property
+
+ Public Property KzRechtsbehelf() As String
+ Get
+ Return Me.kzRechtsbehelfField
+ End Get
+ Set
+ Me.kzRechtsbehelfField = Value
+ End Set
+ End Property
+
+ Public Property KzGesamtschuldnerschaft() As String
+ Get
+ Return Me.kzGesamtschuldnerschaftField
+ End Get
+ Set
+ Me.kzGesamtschuldnerschaftField = Value
+ End Set
+ End Property
+
+ Public Property EingangszollstelleGeaendertKz() As String
+ Get
+ Return Me.eingangszollstelleGeaendertKzField
+ End Get
+ Set
+ Me.eingangszollstelleGeaendertKzField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderEORI() As String
+ Get
+ Return Me.anmelderEORIField
+ End Get
+ Set
+ Me.anmelderEORIField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderNLNR() As String
+ Get
+ Return Me.anmelderNLNRField
+ End Get
+ Set
+ Me.anmelderNLNRField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderFirmenbezeichung() As String
+ Get
+ Return Me.anmelderFirmenbezeichungField
+ End Get
+ Set
+ Me.anmelderFirmenbezeichungField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderStrasseHausNr() As String
+ Get
+ Return Me.anmelderStrasseHausNrField
+ End Get
+ Set
+ Me.anmelderStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderOrtsteil() As String
+ Get
+ Return Me.anmelderOrtsteilField
+ End Get
+ Set
+ Me.anmelderOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderOrtS() As String
+ Get
+ Return Me.anmelderOrtSField
+ End Get
+ Set
+ Me.anmelderOrtSField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderPLZS() As String
+ Get
+ Return Me.anmelderPLZSField
+ End Get
+ Set
+ Me.anmelderPLZSField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderNationalitaet() As String
+ Get
+ Return Me.anmelderNationalitaetField
+ End Get
+ Set
+ Me.anmelderNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property Dienststellenschluessel() As String
+ Get
+ Return Me.dienststellenschluesselField
+ End Get
+ Set
+ Me.dienststellenschluesselField = Value
+ End Set
+ End Property
+
+ Public Property DienststelleBezeichung() As String
+ Get
+ Return Me.dienststelleBezeichungField
+ End Get
+ Set
+ Me.dienststelleBezeichungField = Value
+ End Set
+ End Property
+
+ Public Property DienststelleStrasseHausNr() As String
+ Get
+ Return Me.dienststelleStrasseHausNrField
+ End Get
+ Set
+ Me.dienststelleStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property DienststelleOrtS() As String
+ Get
+ Return Me.dienststelleOrtSField
+ End Get
+ Set
+ Me.dienststelleOrtSField = Value
+ End Set
+ End Property
+
+ Public Property DienststellePLZS() As String
+ Get
+ Return Me.dienststellePLZSField
+ End Get
+ Set
+ Me.dienststellePLZSField = Value
+ End Set
+ End Property
+
+ Public Property Bearbeiter() As String
+ Get
+ Return Me.bearbeiterField
+ End Get
+ Set
+ Me.bearbeiterField = Value
+ End Set
+ End Property
+
+ Public Property DienststelleVorwahlTelefonNr() As String
+ Get
+ Return Me.dienststelleVorwahlTelefonNrField
+ End Get
+ Set
+ Me.dienststelleVorwahlTelefonNrField = Value
+ End Set
+ End Property
+
+ Public Property VertreterEORI() As String
+ Get
+ Return Me.vertreterEORIField
+ End Get
+ Set
+ Me.vertreterEORIField = Value
+ End Set
+ End Property
+
+ Public Property VertreterNLNR() As String
+ Get
+ Return Me.vertreterNLNRField
+ End Get
+ Set
+ Me.vertreterNLNRField = Value
+ End Set
+ End Property
+
+ Public Property VertreterFirmenbezeichnung() As String
+ Get
+ Return Me.vertreterFirmenbezeichnungField
+ End Get
+ Set
+ Me.vertreterFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property VertreterStrasseHausNr() As String
+ Get
+ Return Me.vertreterStrasseHausNrField
+ End Get
+ Set
+ Me.vertreterStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property VertreterOrtsteil() As String
+ Get
+ Return Me.vertreterOrtsteilField
+ End Get
+ Set
+ Me.vertreterOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property VertreterOrtS() As String
+ Get
+ Return Me.vertreterOrtSField
+ End Get
+ Set
+ Me.vertreterOrtSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterPLZS() As String
+ Get
+ Return Me.vertreterPLZSField
+ End Get
+ Set
+ Me.vertreterPLZSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterNationalitaet() As String
+ Get
+ Return Me.vertreterNationalitaetField
+ End Get
+ Set
+ Me.vertreterNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property HZABezeichnung() As String
+ Get
+ Return Me.hZABezeichnungField
+ End Get
+ Set
+ Me.hZABezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property HZAEmailAdresse() As String
+ Get
+ Return Me.hZAEmailAdresseField
+ End Get
+ Set
+ Me.hZAEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property HZADEmailAdresse() As String
+ Get
+ Return Me.hZADEmailAdresseField
+ End Get
+ Set
+ Me.hZADEmailAdresseField = Value
+ End Set
+ End Property
+
+ Public Property HZAPostfach() As String
+ Get
+ Return Me.hZAPostfachField
+ End Get
+ Set
+ Me.hZAPostfachField = Value
+ End Set
+ End Property
+
+ Public Property HZAOrtP() As String
+ Get
+ Return Me.hZAOrtPField
+ End Get
+ Set
+ Me.hZAOrtPField = Value
+ End Set
+ End Property
+
+ Public Property HZAPLZP() As String
+ Get
+ Return Me.hZAPLZPField
+ End Get
+ Set
+ Me.hZAPLZPField = Value
+ End Set
+ End Property
+
+ Public Property HZAStrasseHausNr() As String
+ Get
+ Return Me.hZAStrasseHausNrField
+ End Get
+ Set
+ Me.hZAStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property HZAOrtsteil() As String
+ Get
+ Return Me.hZAOrtsteilField
+ End Get
+ Set
+ Me.hZAOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property HZAOrtS() As String
+ Get
+ Return Me.hZAOrtSField
+ End Get
+ Set
+ Me.hZAOrtSField = Value
+ End Set
+ End Property
+
+ Public Property HZAPLZS() As String
+ Get
+ Return Me.hZAPLZSField
+ End Get
+ Set
+ Me.hZAPLZSField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungEORI() As String
+ Get
+ Return Me.fRechnungEORIField
+ End Get
+ Set
+ Me.fRechnungEORIField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungNLNR() As String
+ Get
+ Return Me.fRechnungNLNRField
+ End Get
+ Set
+ Me.fRechnungNLNRField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungNationalitaet() As String
+ Get
+ Return Me.fRechnungNationalitaetField
+ End Get
+ Set
+ Me.fRechnungNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungName() As String
+ Get
+ Return Me.fRechnungNameField
+ End Get
+ Set
+ Me.fRechnungNameField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungStrasseHausNr() As String
+ Get
+ Return Me.fRechnungStrasseHausNrField
+ End Get
+ Set
+ Me.fRechnungStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungPLZS() As String
+ Get
+ Return Me.fRechnungPLZSField
+ End Get
+ Set
+ Me.fRechnungPLZSField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungOrtS() As String
+ Get
+ Return Me.fRechnungOrtSField
+ End Get
+ Set
+ Me.fRechnungOrtSField = Value
+ End Set
+ End Property
+
+ Public Property FRechnungOrtsteil() As String
+ Get
+ Return Me.fRechnungOrtsteilField
+ End Get
+ Set
+ Me.fRechnungOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property AnmelderEmpfaengerKz() As String
+ Get
+ Return Me.anmelderEmpfaengerKzField
+ End Get
+ Set
+ Me.anmelderEmpfaengerKzField = Value
+ End Set
+ End Property
+
+ Public Property Bewilligungsnummer() As String
+ Get
+ Return Me.bewilligungsnummerField
+ End Get
+ Set
+ Me.bewilligungsnummerField = Value
+ End Set
+ End Property
+
+ Public Property VersendungslandCode() As String
+ Get
+ Return Me.versendungslandCodeField
+ End Get
+ Set
+ Me.versendungslandCodeField = Value
+ End Set
+ End Property
+
+ Public Property Lieferbedingung() As String
+ Get
+ Return Me.lieferbedingungField
+ End Get
+ Set
+ Me.lieferbedingungField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungText() As String
+ Get
+ Return Me.lieferbedingungTextField
+ End Get
+ Set
+ Me.lieferbedingungTextField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungOrt() As String
+ Get
+ Return Me.lieferbedingungOrtField
+ End Get
+ Set
+ Me.lieferbedingungOrtField = Value
+ End Set
+ End Property
+
+ Public Property LieferbedingungSchluessel() As String
+ Get
+ Return Me.lieferbedingungSchluesselField
+ End Get
+ Set
+ Me.lieferbedingungSchluesselField = Value
+ End Set
+ End Property
+
+ Public Property Rechnungspreis() As Decimal
+ Get
+ Return Me.rechnungspreisField
+ End Get
+ Set
+ Me.rechnungspreisField = Value
+ End Set
+ End Property
+
+
+ Public Property RechnungspreisSpecified() As Boolean
+ Get
+ Return Me.rechnungspreisFieldSpecified
+ End Get
+ Set
+ Me.rechnungspreisFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property Rechnungswaehrung() As String
+ Get
+ Return Me.rechnungswaehrungField
+ End Get
+ Set
+ Me.rechnungswaehrungField = Value
+ End Set
+ End Property
+
+ Public Property Finanzamt() As String
+ Get
+ Return Me.finanzamtField
+ End Get
+ Set
+ Me.finanzamtField = Value
+ End Set
+ End Property
+
+ Public Property Eingangszollstelle() As String
+ Get
+ Return Me.eingangszollstelleField
+ End Get
+ Set
+ Me.eingangszollstelleField = Value
+ End Set
+ End Property
+
+ Public Property DV1Kz() As String
+ Get
+ Return Me.dV1KzField
+ End Get
+ Set
+ Me.dV1KzField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferEORI() As String
+ Get
+ Return Me.verkaeuferEORIField
+ End Get
+ Set
+ Me.verkaeuferEORIField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferFirmenbezeichnung() As String
+ Get
+ Return Me.verkaeuferFirmenbezeichnungField
+ End Get
+ Set
+ Me.verkaeuferFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferNationalitaet() As String
+ Get
+ Return Me.verkaeuferNationalitaetField
+ End Get
+ Set
+ Me.verkaeuferNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferStrasseHausNr() As String
+ Get
+ Return Me.verkaeuferStrasseHausNrField
+ End Get
+ Set
+ Me.verkaeuferStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferPLZS() As String
+ Get
+ Return Me.verkaeuferPLZSField
+ End Get
+ Set
+ Me.verkaeuferPLZSField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferOrtS() As String
+ Get
+ Return Me.verkaeuferOrtSField
+ End Get
+ Set
+ Me.verkaeuferOrtSField = Value
+ End Set
+ End Property
+
+ Public Property VerkaeuferOrtsteil() As String
+ Get
+ Return Me.verkaeuferOrtsteilField
+ End Get
+ Set
+ Me.verkaeuferOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferEORI() As String
+ Get
+ Return Me.kaeuferEORIField
+ End Get
+ Set
+ Me.kaeuferEORIField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferFirmenbezeichnung() As String
+ Get
+ Return Me.kaeuferFirmenbezeichnungField
+ End Get
+ Set
+ Me.kaeuferFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferNationalitaet() As String
+ Get
+ Return Me.kaeuferNationalitaetField
+ End Get
+ Set
+ Me.kaeuferNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferStrasseHausNr() As String
+ Get
+ Return Me.kaeuferStrasseHausNrField
+ End Get
+ Set
+ Me.kaeuferStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferPLZS() As String
+ Get
+ Return Me.kaeuferPLZSField
+ End Get
+ Set
+ Me.kaeuferPLZSField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferOrtS() As String
+ Get
+ Return Me.kaeuferOrtSField
+ End Get
+ Set
+ Me.kaeuferOrtSField = Value
+ End Set
+ End Property
+
+ Public Property KaeuferOrtsteil() As String
+ Get
+ Return Me.kaeuferOrtsteilField
+ End Get
+ Set
+ Me.kaeuferOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderEORI() As String
+ Get
+ Return Me.zollwertanmelderEORIField
+ End Get
+ Set
+ Me.zollwertanmelderEORIField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderFirmenbezeichnung() As String
+ Get
+ Return Me.zollwertanmelderFirmenbezeichnungField
+ End Get
+ Set
+ Me.zollwertanmelderFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderNationalitaet() As String
+ Get
+ Return Me.zollwertanmelderNationalitaetField
+ End Get
+ Set
+ Me.zollwertanmelderNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderStrasseHausNr() As String
+ Get
+ Return Me.zollwertanmelderStrasseHausNrField
+ End Get
+ Set
+ Me.zollwertanmelderStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderPLZS() As String
+ Get
+ Return Me.zollwertanmelderPLZSField
+ End Get
+ Set
+ Me.zollwertanmelderPLZSField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderOrtS() As String
+ Get
+ Return Me.zollwertanmelderOrtSField
+ End Get
+ Set
+ Me.zollwertanmelderOrtSField = Value
+ End Set
+ End Property
+
+ Public Property ZollwertanmelderOrtsteil() As String
+ Get
+ Return Me.zollwertanmelderOrtsteilField
+ End Get
+ Set
+ Me.zollwertanmelderOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderEORI() As String
+ Get
+ Return Me.vertreterZollwertanmelderEORIField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderEORIField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderFirmenbezeichnung() As String
+ Get
+ Return Me.vertreterZollwertanmelderFirmenbezeichnungField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderNationalitaet() As String
+ Get
+ Return Me.vertreterZollwertanmelderNationalitaetField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderStrasseHausNr() As String
+ Get
+ Return Me.vertreterZollwertanmelderStrasseHausNrField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderPLZS() As String
+ Get
+ Return Me.vertreterZollwertanmelderPLZSField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderPLZSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderOrtS() As String
+ Get
+ Return Me.vertreterZollwertanmelderOrtSField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderOrtSField = Value
+ End Set
+ End Property
+
+ Public Property VertreterZollwertanmelderOrtsteil() As String
+ Get
+ Return Me.vertreterZollwertanmelderOrtsteilField
+ End Get
+ Set
+ Me.vertreterZollwertanmelderOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property Vertretungsverhaeltnis() As String
+ Get
+ Return Me.vertretungsverhaeltnisField
+ End Get
+ Set
+ Me.vertretungsverhaeltnisField = Value
+ End Set
+ End Property
+
+ Public Property FruehereEntscheidungen() As String
+ Get
+ Return Me.fruehereEntscheidungenField
+ End Get
+ Set
+ Me.fruehereEntscheidungenField = Value
+ End Set
+ End Property
+
+ Public Property Verbundenheit() As String
+ Get
+ Return Me.verbundenheitField
+ End Get
+ Set
+ Me.verbundenheitField = Value
+ End Set
+ End Property
+
+ Public Property VerbundenheitEinzelheiten() As String
+ Get
+ Return Me.verbundenheitEinzelheitenField
+ End Get
+ Set
+ Me.verbundenheitEinzelheitenField = Value
+ End Set
+ End Property
+
+ Public Property EinschraenkungenKz() As String
+ Get
+ Return Me.einschraenkungenKzField
+ End Get
+ Set
+ Me.einschraenkungenKzField = Value
+ End Set
+ End Property
+
+ Public Property BedingungenLeistungenKz() As String
+ Get
+ Return Me.bedingungenLeistungenKzField
+ End Get
+ Set
+ Me.bedingungenLeistungenKzField = Value
+ End Set
+ End Property
+
+ Public Property BedingungenLeistungenArt() As String
+ Get
+ Return Me.bedingungenLeistungenArtField
+ End Get
+ Set
+ Me.bedingungenLeistungenArtField = Value
+ End Set
+ End Property
+
+ Public Property LizenzgebuehrenKz() As String
+ Get
+ Return Me.lizenzgebuehrenKzField
+ End Get
+ Set
+ Me.lizenzgebuehrenKzField = Value
+ End Set
+ End Property
+
+ Public Property LizenzgebuehrenUmstand() As String
+ Get
+ Return Me.lizenzgebuehrenUmstandField
+ End Get
+ Set
+ Me.lizenzgebuehrenUmstandField = Value
+ End Set
+ End Property
+
+ Public Property SpezielleVereinbarungKz() As String
+ Get
+ Return Me.spezielleVereinbarungKzField
+ End Get
+ Set
+ Me.spezielleVereinbarungKzField = Value
+ End Set
+ End Property
+
+ Public Property SpezielleVereinbarungUmstand() As String
+ Get
+ Return Me.spezielleVereinbarungUmstandField
+ End Get
+ Set
+ Me.spezielleVereinbarungUmstandField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerEORI() As String
+ Get
+ Return Me.empfaengerEORIField
+ End Get
+ Set
+ Me.empfaengerEORIField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerNLNR() As String
+ Get
+ Return Me.empfaengerNLNRField
+ End Get
+ Set
+ Me.empfaengerNLNRField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerFirmenbezeichnung() As String
+ Get
+ Return Me.empfaengerFirmenbezeichnungField
+ End Get
+ Set
+ Me.empfaengerFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerNationalitaet() As String
+ Get
+ Return Me.empfaengerNationalitaetField
+ End Get
+ Set
+ Me.empfaengerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerStrasseHausNr() As String
+ Get
+ Return Me.empfaengerStrasseHausNrField
+ End Get
+ Set
+ Me.empfaengerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerPLZS() As String
+ Get
+ Return Me.empfaengerPLZSField
+ End Get
+ Set
+ Me.empfaengerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerOrtS() As String
+ Get
+ Return Me.empfaengerOrtSField
+ End Get
+ Set
+ Me.empfaengerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property EmpfaengerOrtsteil() As String
+ Get
+ Return Me.empfaengerOrtsteilField
+ End Get
+ Set
+ Me.empfaengerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property DatenuebermittlungEORI() As String
+ Get
+ Return Me.datenuebermittlungEORIField
+ End Get
+ Set
+ Me.datenuebermittlungEORIField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberAndererMitgliedstaatEORI() As String
+ Get
+ Return Me.erwerberAndererMitgliedstaatEORIField
+ End Get
+ Set
+ Me.erwerberAndererMitgliedstaatEORIField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberAndererMitgliedstaatNLNR() As String
+ Get
+ Return Me.erwerberAndererMitgliedstaatNLNRField
+ End Get
+ Set
+ Me.erwerberAndererMitgliedstaatNLNRField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberFirmenbezeichnung() As String
+ Get
+ Return Me.erwerberFirmenbezeichnungField
+ End Get
+ Set
+ Me.erwerberFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberNationalitaet() As String
+ Get
+ Return Me.erwerberNationalitaetField
+ End Get
+ Set
+ Me.erwerberNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberStrasseHausNr() As String
+ Get
+ Return Me.erwerberStrasseHausNrField
+ End Get
+ Set
+ Me.erwerberStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberPLZS() As String
+ Get
+ Return Me.erwerberPLZSField
+ End Get
+ Set
+ Me.erwerberPLZSField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberOrtS() As String
+ Get
+ Return Me.erwerberOrtSField
+ End Get
+ Set
+ Me.erwerberOrtSField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberOrtsteil() As String
+ Get
+ Return Me.erwerberOrtsteilField
+ End Get
+ Set
+ Me.erwerberOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property ErwerberUStIdNrAndererMitgliedstaat() As String
+ Get
+ Return Me.erwerberUStIdNrAndererMitgliedstaatField
+ End Get
+ Set
+ Me.erwerberUStIdNrAndererMitgliedstaatField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerEORI() As String
+ Get
+ Return Me.versenderAusfuehrerEORIField
+ End Get
+ Set
+ Me.versenderAusfuehrerEORIField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerFirmenbezeichnung() As String
+ Get
+ Return Me.versenderAusfuehrerFirmenbezeichnungField
+ End Get
+ Set
+ Me.versenderAusfuehrerFirmenbezeichnungField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerNationalitaet() As String
+ Get
+ Return Me.versenderAusfuehrerNationalitaetField
+ End Get
+ Set
+ Me.versenderAusfuehrerNationalitaetField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerStrasseHausNr() As String
+ Get
+ Return Me.versenderAusfuehrerStrasseHausNrField
+ End Get
+ Set
+ Me.versenderAusfuehrerStrasseHausNrField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerPLZS() As String
+ Get
+ Return Me.versenderAusfuehrerPLZSField
+ End Get
+ Set
+ Me.versenderAusfuehrerPLZSField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerOrtS() As String
+ Get
+ Return Me.versenderAusfuehrerOrtSField
+ End Get
+ Set
+ Me.versenderAusfuehrerOrtSField = Value
+ End Set
+ End Property
+
+ Public Property VersenderAusfuehrerOrtsteil() As String
+ Get
+ Return Me.versenderAusfuehrerOrtsteilField
+ End Get
+ Set
+ Me.versenderAusfuehrerOrtsteilField = Value
+ End Set
+ End Property
+
+ Public Property Unterlage() As List(Of AnmeldungVBTyp)
+ Get
+ Return Me.unterlageField
+ End Get
+ Set
+ Me.unterlageField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KopfdatenBefundVereinfachteZollanmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KopfdatenBefundVereinfachteZollanmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KopfdatenBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KopfdatenBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfdatenBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfdatenBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfdatenBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KopfdatenBefundVereinfachteZollanmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KopfdatenBefundVereinfachteZollanmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KopfdatenBefundVereinfachteZollanmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KopfdatenBefundVereinfachteZollanmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KopfdatenBefundVereinfachteZollanmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfdatenBefundVereinfachteZollanmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfdatenBefundVereinfachteZollanmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfdatenBefundVereinfachteZollanmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KopfdatenBefundVereinfachteZollanmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class TransaktionFreierVerkehrTyp
+
+ Private iOPartnerField As String
+
+ Private iODivision1Field As String
+
+ Private iODivision2Field As String
+
+ Private iODivision3Field As String
+
+ Private iOReferenzField As String
+
+ Private iODatumZeitField As Date
+
+ Private versionField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property IOPartner() As String
+ Get
+ Return Me.iOPartnerField
+ End Get
+ Set
+ Me.iOPartnerField = Value
+ End Set
+ End Property
+
+ Public Property IODivision1() As String
+ Get
+ Return Me.iODivision1Field
+ End Get
+ Set
+ Me.iODivision1Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision2() As String
+ Get
+ Return Me.iODivision2Field
+ End Get
+ Set
+ Me.iODivision2Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision3() As String
+ Get
+ Return Me.iODivision3Field
+ End Get
+ Set
+ Me.iODivision3Field = Value
+ End Set
+ End Property
+
+ Public Property IOReferenz() As String
+ Get
+ Return Me.iOReferenzField
+ End Get
+ Set
+ Me.iOReferenzField = Value
+ End Set
+ End Property
+
+ Public Property IODatumZeit() As Date
+ Get
+ Return Me.iODatumZeitField
+ End Get
+ Set
+ Me.iODatumZeitField = Value
+ End Set
+ End Property
+
+ Public Property Version() As String
+ Get
+ Return Me.versionField
+ End Get
+ Set
+ Me.versionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(TransaktionFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As TransaktionFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), TransaktionFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As TransaktionFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class DatenaustauschFreierVerkehrTyp
+
+ Private transaktionField As TransaktionFreierVerkehrTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.transaktionField = New TransaktionFreierVerkehrTyp()
+ End Sub
+
+ Public Property Transaktion() As TransaktionFreierVerkehrTyp
+ Get
+ Return Me.transaktionField
+ End Get
+ Set
+ Me.transaktionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(DatenaustauschFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As DatenaustauschFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), DatenaustauschFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As DatenaustauschFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+End Namespace
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.xsd b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.xsd
new file mode 100644
index 0000000..2f86477
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/BefundVereinfachteZollanmeldung/BefundVereinfachteZollanmeldung_008.xsd
@@ -0,0 +1,534 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.designer.vb b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.designer.vb
new file mode 100644
index 0000000..5d46a72
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.designer.vb
@@ -0,0 +1,1476 @@
+'' ------------------------------------------------------------------------------
+''
+'' Generated by Xsd2Code. Version 3.4.1.33667 Microsoft Reciprocal License (Ms-RL)
+'' EntscheidungAnmeldung_004ListVisualBasicFalseFalseFalseFalseFalseFalseFalseTrueFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileFalseFalseFalseFalseFalseFalseDefaultUTF8FalseTrue
+''
+'' ------------------------------------------------------------------------------
+Imports System
+Imports System.Diagnostics
+Imports System.Xml.Serialization
+Imports System.Collections
+Imports System.Xml.Schema
+Imports System.ComponentModel
+Imports System.IO
+Imports System.Text
+Imports System.Collections.Generic
+
+Namespace EntscheidungAnmeldung_004
+
+ Partial Public Class EntscheidungAnmeldungRLTyp
+ Inherits DatenaustauschFreierVerkehrTyp
+
+ Private einzelEntscheidungAnmeldungField As EinzelEntscheidungAnmeldungTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelEntscheidungAnmeldungField = New EinzelEntscheidungAnmeldungTyp()
+ End Sub
+
+ Public Property EinzelEntscheidungAnmeldung() As EinzelEntscheidungAnmeldungTyp
+ Get
+ Return Me.einzelEntscheidungAnmeldungField
+ End Get
+ Set
+ Me.einzelEntscheidungAnmeldungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EntscheidungAnmeldungRLTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EntscheidungAnmeldungRLTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EntscheidungAnmeldungRLTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EntscheidungAnmeldungRLTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EntscheidungAnmeldungRLTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EntscheidungAnmeldungRLTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EntscheidungAnmeldungRLTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EntscheidungAnmeldungRLTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EntscheidungAnmeldungRLTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EntscheidungAnmeldungRLTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EntscheidungAnmeldungRLTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EntscheidungAnmeldungRLTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EntscheidungAnmeldungRLTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EntscheidungAnmeldungRLTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EntscheidungAnmeldungRLTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EntscheidungAnmeldungRLTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class EinzelEntscheidungAnmeldungTyp
+
+ Private objektIdentifizierungField As ObjektIdentifizierungRLTyp
+
+ Private kopfDatenField As KopfDatenEntscheidungAnmeldungTyp
+
+ Private positionField As List(Of PositionEntscheidungAnmeldungTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.positionField = New List(Of PositionEntscheidungAnmeldungTyp)()
+ Me.kopfDatenField = New KopfDatenEntscheidungAnmeldungTyp()
+ Me.objektIdentifizierungField = New ObjektIdentifizierungRLTyp()
+ End Sub
+
+ Public Property ObjektIdentifizierung() As ObjektIdentifizierungRLTyp
+ Get
+ Return Me.objektIdentifizierungField
+ End Get
+ Set
+ Me.objektIdentifizierungField = Value
+ End Set
+ End Property
+
+ Public Property KopfDaten() As KopfDatenEntscheidungAnmeldungTyp
+ Get
+ Return Me.kopfDatenField
+ End Get
+ Set
+ Me.kopfDatenField = Value
+ End Set
+ End Property
+
+ Public Property Position() As List(Of PositionEntscheidungAnmeldungTyp)
+ Get
+ Return Me.positionField
+ End Get
+ Set
+ Me.positionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelEntscheidungAnmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelEntscheidungAnmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelEntscheidungAnmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelEntscheidungAnmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelEntscheidungAnmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelEntscheidungAnmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelEntscheidungAnmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelEntscheidungAnmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelEntscheidungAnmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelEntscheidungAnmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class ObjektIdentifizierungRLTyp
+
+ Private objektNameField As String
+
+ Private objektAliasField As String
+
+ Private eDIFACTNachrichtenNrField As String
+
+ Private zeitpunktEingangField As Date
+
+ Private shipmentReferenzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property ObjektName() As String
+ Get
+ Return Me.objektNameField
+ End Get
+ Set
+ Me.objektNameField = Value
+ End Set
+ End Property
+
+ Public Property ObjektAlias() As String
+ Get
+ Return Me.objektAliasField
+ End Get
+ Set
+ Me.objektAliasField = Value
+ End Set
+ End Property
+
+ Public Property EDIFACTNachrichtenNr() As String
+ Get
+ Return Me.eDIFACTNachrichtenNrField
+ End Get
+ Set
+ Me.eDIFACTNachrichtenNrField = Value
+ End Set
+ End Property
+
+ Public Property ZeitpunktEingang() As Date
+ Get
+ Return Me.zeitpunktEingangField
+ End Get
+ Set
+ Me.zeitpunktEingangField = Value
+ End Set
+ End Property
+
+ Public Property ShipmentReferenz() As String
+ Get
+ Return Me.shipmentReferenzField
+ End Get
+ Set
+ Me.shipmentReferenzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(ObjektIdentifizierungRLTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current ObjektIdentifizierungRLTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an ObjektIdentifizierungRLTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output ObjektIdentifizierungRLTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungRLTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungRLTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungRLTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As ObjektIdentifizierungRLTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), ObjektIdentifizierungRLTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current ObjektIdentifizierungRLTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an ObjektIdentifizierungRLTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output ObjektIdentifizierungRLTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungRLTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungRLTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungRLTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As ObjektIdentifizierungRLTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class PositionEntscheidungAnmeldungTyp
+
+ Private positionsnummerField As String
+
+ Private annahmeKzField As String
+
+ Private annahmeDatumField As Date
+
+ Private annahmeDatumFieldSpecified As Boolean
+
+ Private ueberlassungKzField As String
+
+ Private ueberlassungDatumField As Date
+
+ Private ueberlassungDatumFieldSpecified As Boolean
+
+ Private ueberlassungUhrzeitField As Date
+
+ Private ueberlassungUhrzeitFieldSpecified As Boolean
+
+ Private mitteilungTeilnehmerBeschauField As String
+
+ Private rueckgabeKzField As String
+
+ Private anordnungKzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property Positionsnummer() As String
+ Get
+ Return Me.positionsnummerField
+ End Get
+ Set
+ Me.positionsnummerField = Value
+ End Set
+ End Property
+
+ Public Property AnnahmeKz() As String
+ Get
+ Return Me.annahmeKzField
+ End Get
+ Set
+ Me.annahmeKzField = Value
+ End Set
+ End Property
+
+ Public Property AnnahmeDatum() As Date
+ Get
+ Return Me.annahmeDatumField
+ End Get
+ Set
+ Me.annahmeDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property AnnahmeDatumSpecified() As Boolean
+ Get
+ Return Me.annahmeDatumFieldSpecified
+ End Get
+ Set
+ Me.annahmeDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property UeberlassungKz() As String
+ Get
+ Return Me.ueberlassungKzField
+ End Get
+ Set
+ Me.ueberlassungKzField = Value
+ End Set
+ End Property
+
+ Public Property UeberlassungDatum() As Date
+ Get
+ Return Me.ueberlassungDatumField
+ End Get
+ Set
+ Me.ueberlassungDatumField = Value
+ End Set
+ End Property
+
+
+ Public Property UeberlassungDatumSpecified() As Boolean
+ Get
+ Return Me.ueberlassungDatumFieldSpecified
+ End Get
+ Set
+ Me.ueberlassungDatumFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property UeberlassungUhrzeit() As Date
+ Get
+ Return Me.ueberlassungUhrzeitField
+ End Get
+ Set
+ Me.ueberlassungUhrzeitField = Value
+ End Set
+ End Property
+
+
+ Public Property UeberlassungUhrzeitSpecified() As Boolean
+ Get
+ Return Me.ueberlassungUhrzeitFieldSpecified
+ End Get
+ Set
+ Me.ueberlassungUhrzeitFieldSpecified = Value
+ End Set
+ End Property
+
+ Public Property MitteilungTeilnehmerBeschau() As String
+ Get
+ Return Me.mitteilungTeilnehmerBeschauField
+ End Get
+ Set
+ Me.mitteilungTeilnehmerBeschauField = Value
+ End Set
+ End Property
+
+ Public Property RueckgabeKz() As String
+ Get
+ Return Me.rueckgabeKzField
+ End Get
+ Set
+ Me.rueckgabeKzField = Value
+ End Set
+ End Property
+
+ Public Property AnordnungKz() As String
+ Get
+ Return Me.anordnungKzField
+ End Get
+ Set
+ Me.anordnungKzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PositionEntscheidungAnmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PositionEntscheidungAnmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PositionEntscheidungAnmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PositionEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionEntscheidungAnmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PositionEntscheidungAnmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PositionEntscheidungAnmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PositionEntscheidungAnmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PositionEntscheidungAnmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PositionEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionEntscheidungAnmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PositionEntscheidungAnmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class KopfDatenEntscheidungAnmeldungTyp
+
+ Private registriernummerField As String
+
+ Private mitteilungTeilnehmerGestellungsmodalitaetenField As String
+
+ Private bearbeiterZollField As String
+
+ Private arbeitsnummerVorzeitigeAnmeldungField As String
+
+ Private containernummerField As List(Of String)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.containernummerField = New List(Of String)()
+ End Sub
+
+ Public Property Registriernummer() As String
+ Get
+ Return Me.registriernummerField
+ End Get
+ Set
+ Me.registriernummerField = Value
+ End Set
+ End Property
+
+ Public Property MitteilungTeilnehmerGestellungsmodalitaeten() As String
+ Get
+ Return Me.mitteilungTeilnehmerGestellungsmodalitaetenField
+ End Get
+ Set
+ Me.mitteilungTeilnehmerGestellungsmodalitaetenField = Value
+ End Set
+ End Property
+
+ Public Property BearbeiterZoll() As String
+ Get
+ Return Me.bearbeiterZollField
+ End Get
+ Set
+ Me.bearbeiterZollField = Value
+ End Set
+ End Property
+
+ Public Property ArbeitsnummerVorzeitigeAnmeldung() As String
+ Get
+ Return Me.arbeitsnummerVorzeitigeAnmeldungField
+ End Get
+ Set
+ Me.arbeitsnummerVorzeitigeAnmeldungField = Value
+ End Set
+ End Property
+
+ Public Property Containernummer() As List(Of String)
+ Get
+ Return Me.containernummerField
+ End Get
+ Set
+ Me.containernummerField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(KopfDatenEntscheidungAnmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current KopfDatenEntscheidungAnmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an KopfDatenEntscheidungAnmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output KopfDatenEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenEntscheidungAnmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As KopfDatenEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As KopfDatenEntscheidungAnmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), KopfDatenEntscheidungAnmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current KopfDatenEntscheidungAnmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an KopfDatenEntscheidungAnmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output KopfDatenEntscheidungAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenEntscheidungAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, KopfDatenEntscheidungAnmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As KopfDatenEntscheidungAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As KopfDatenEntscheidungAnmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+ Partial Public Class TransaktionFreierVerkehrTyp
+
+ Private iOPartnerField As String
+
+ Private iODivision1Field As String
+
+ Private iODivision2Field As String
+
+ Private iODivision3Field As String
+
+ Private iOReferenzField As String
+
+ Private iODatumZeitField As Date
+
+ Private versionField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Property IOPartner() As String
+ Get
+ Return Me.iOPartnerField
+ End Get
+ Set
+ Me.iOPartnerField = Value
+ End Set
+ End Property
+
+ Public Property IODivision1() As String
+ Get
+ Return Me.iODivision1Field
+ End Get
+ Set
+ Me.iODivision1Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision2() As String
+ Get
+ Return Me.iODivision2Field
+ End Get
+ Set
+ Me.iODivision2Field = Value
+ End Set
+ End Property
+
+ Public Property IODivision3() As String
+ Get
+ Return Me.iODivision3Field
+ End Get
+ Set
+ Me.iODivision3Field = Value
+ End Set
+ End Property
+
+ Public Property IOReferenz() As String
+ Get
+ Return Me.iOReferenzField
+ End Get
+ Set
+ Me.iOReferenzField = Value
+ End Set
+ End Property
+
+ Public Property IODatumZeit() As Date
+ Get
+ Return Me.iODatumZeitField
+ End Get
+ Set
+ Me.iODatumZeitField = Value
+ End Set
+ End Property
+
+ Public Property Version() As String
+ Get
+ Return Me.versionField
+ End Get
+ Set
+ Me.versionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(TransaktionFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As TransaktionFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), TransaktionFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current TransaktionFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an TransaktionFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output TransaktionFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, TransaktionFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As TransaktionFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As TransaktionFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class DatenaustauschFreierVerkehrTyp
+
+ Private transaktionField As TransaktionFreierVerkehrTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.transaktionField = New TransaktionFreierVerkehrTyp()
+ End Sub
+
+ Public Property Transaktion() As TransaktionFreierVerkehrTyp
+ Get
+ Return Me.transaktionField
+ End Get
+ Set
+ Me.transaktionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(DatenaustauschFreierVerkehrTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Function Serialize() As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Serializer.Serialize(memoryStream, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As DatenaustauschFreierVerkehrTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), DatenaustauschFreierVerkehrTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current DatenaustauschFreierVerkehrTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize()
+ Dim xmlFile As System.IO.FileInfo = New System.IO.FileInfo(fileName)
+ streamWriter = xmlFile.CreateText
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an DatenaustauschFreierVerkehrTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output DatenaustauschFreierVerkehrTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, DatenaustauschFreierVerkehrTyp)
+ Try
+ obj = LoadFromFile(fileName)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As DatenaustauschFreierVerkehrTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As DatenaustauschFreierVerkehrTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+End Namespace
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.xsd b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.xsd
new file mode 100644
index 0000000..55041c2
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/EntscheidungAnmeldung/EntscheidungAnmeldung_004.xsd
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DAKOSY_Worker/DAKOSY/ATLAS/EZA/FreierVerkehr/FreierVerkehrAktVeredelUmwandlung_004_V2022.designer.vb b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/FreierVerkehr/FreierVerkehrAktVeredelUmwandlung_004_V2022.designer.vb
new file mode 100644
index 0000000..ee612ef
--- /dev/null
+++ b/DAKOSY_Worker/DAKOSY/ATLAS/EZA/FreierVerkehr/FreierVerkehrAktVeredelUmwandlung_004_V2022.designer.vb
@@ -0,0 +1,8731 @@
+'' ------------------------------------------------------------------------------
+''
+'' Generated by Xsd2Code. Version 3.4.1.33667 Microsoft Reciprocal License (Ms-RL)
+'' FreierVerkehrAktVeredelUmwandlung_004ListVisualBasicFalseFalseFalseFalseFalseFalseTrueTrueFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileTrueTrueTrueFalseFalseFalseDefaultUTF8FalseTrue
+''
+'' ------------------------------------------------------------------------------
+Imports System
+Imports System.Diagnostics
+Imports System.Xml.Serialization
+Imports System.Collections
+Imports System.Xml.Schema
+Imports System.ComponentModel
+Imports System.IO
+Imports System.Text
+Imports System.Xml
+Imports System.Collections.Generic
+
+Namespace FreierVerkehrAktVeredelUmwandlung_004
+
+
+ Partial Public Class FreierVerkehrAktVeredelUmwandlungAVUVTyp
+ Inherits DatenaustauschFreierVerkehrTyp
+
+ Private einzelAnmeldungField As List(Of EinzelEinfuhrUnvollstaendigeAnmeldungTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.einzelAnmeldungField = New List(Of EinzelEinfuhrUnvollstaendigeAnmeldungTyp)()
+ End Sub
+
+
+ Public Overridable Property EinzelAnmeldung() As List(Of EinzelEinfuhrUnvollstaendigeAnmeldungTyp)
+ Get
+ Return Me.einzelAnmeldungField
+ End Get
+ Set
+ Me.einzelAnmeldungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(FreierVerkehrAktVeredelUmwandlungAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current FreierVerkehrAktVeredelUmwandlungAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an FreierVerkehrAktVeredelUmwandlungAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output FreierVerkehrAktVeredelUmwandlungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As FreierVerkehrAktVeredelUmwandlungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, FreierVerkehrAktVeredelUmwandlungAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As FreierVerkehrAktVeredelUmwandlungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As FreierVerkehrAktVeredelUmwandlungAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), FreierVerkehrAktVeredelUmwandlungAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current FreierVerkehrAktVeredelUmwandlungAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an FreierVerkehrAktVeredelUmwandlungAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output FreierVerkehrAktVeredelUmwandlungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As FreierVerkehrAktVeredelUmwandlungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, FreierVerkehrAktVeredelUmwandlungAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As FreierVerkehrAktVeredelUmwandlungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As FreierVerkehrAktVeredelUmwandlungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As FreierVerkehrAktVeredelUmwandlungAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As FreierVerkehrAktVeredelUmwandlungAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class EinzelEinfuhrUnvollstaendigeAnmeldungTyp
+
+ Private objektIdentifizierungField As ObjektIdentifizierungAVUVTyp
+
+ Private kopfDatenField As KopfDatenEinfuhrUnvollstaendigeAnmeldungTyp
+
+ Private warenPositionField As List(Of PositionEinfuhrUnvollstaendigeAnmeldungTyp)
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.warenPositionField = New List(Of PositionEinfuhrUnvollstaendigeAnmeldungTyp)()
+ Me.kopfDatenField = New KopfDatenEinfuhrUnvollstaendigeAnmeldungTyp()
+ Me.objektIdentifizierungField = New ObjektIdentifizierungAVUVTyp()
+ End Sub
+
+
+ Public Overridable Property ObjektIdentifizierung() As ObjektIdentifizierungAVUVTyp
+ Get
+ Return Me.objektIdentifizierungField
+ End Get
+ Set
+ Me.objektIdentifizierungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KopfDaten() As KopfDatenEinfuhrUnvollstaendigeAnmeldungTyp
+ Get
+ Return Me.kopfDatenField
+ End Get
+ Set
+ Me.kopfDatenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenPosition() As List(Of PositionEinfuhrUnvollstaendigeAnmeldungTyp)
+ Get
+ Return Me.warenPositionField
+ End Get
+ Set
+ Me.warenPositionField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(EinzelEinfuhrUnvollstaendigeAnmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current EinzelEinfuhrUnvollstaendigeAnmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an EinzelEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output EinzelEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelEinfuhrUnvollstaendigeAnmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As EinzelEinfuhrUnvollstaendigeAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As EinzelEinfuhrUnvollstaendigeAnmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), EinzelEinfuhrUnvollstaendigeAnmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current EinzelEinfuhrUnvollstaendigeAnmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an EinzelEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output EinzelEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As EinzelEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, EinzelEinfuhrUnvollstaendigeAnmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As EinzelEinfuhrUnvollstaendigeAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As EinzelEinfuhrUnvollstaendigeAnmeldungTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As EinzelEinfuhrUnvollstaendigeAnmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class ObjektIdentifizierungAVUVTyp
+
+ Private objektNameField As String
+
+ Private objektAliasField As String
+
+ Private anmeldungArtField As String
+
+ Private objektQuittungField As String
+
+ Private bezugsnummerVorblendungField As String
+
+ Private userVorblendungField As String
+
+ Private kopieVonField As String
+
+ Private objektAktionField As List(Of String)
+
+ Private compliancePruefungField As String
+
+ Private bearbeiterField As String
+
+ Private anfBemerkungStatusanzeigeField As String
+
+ Private absenderSystemNameField As String
+
+ Private shipmentReferenzField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.objektAktionField = New List(Of String)()
+ End Sub
+
+
+ Public Overridable Property ObjektName() As String
+ Get
+ Return Me.objektNameField
+ End Get
+ Set
+ Me.objektNameField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ObjektAlias() As String
+ Get
+ Return Me.objektAliasField
+ End Get
+ Set
+ Me.objektAliasField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnmeldungArt() As String
+ Get
+ Return Me.anmeldungArtField
+ End Get
+ Set
+ Me.anmeldungArtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ObjektQuittung() As String
+ Get
+ Return Me.objektQuittungField
+ End Get
+ Set
+ Me.objektQuittungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BezugsnummerVorblendung() As String
+ Get
+ Return Me.bezugsnummerVorblendungField
+ End Get
+ Set
+ Me.bezugsnummerVorblendungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property UserVorblendung() As String
+ Get
+ Return Me.userVorblendungField
+ End Get
+ Set
+ Me.userVorblendungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KopieVon() As String
+ Get
+ Return Me.kopieVonField
+ End Get
+ Set
+ Me.kopieVonField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ObjektAktion() As List(Of String)
+ Get
+ Return Me.objektAktionField
+ End Get
+ Set
+ Me.objektAktionField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property CompliancePruefung() As String
+ Get
+ Return Me.compliancePruefungField
+ End Get
+ Set
+ Me.compliancePruefungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Bearbeiter() As String
+ Get
+ Return Me.bearbeiterField
+ End Get
+ Set
+ Me.bearbeiterField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnfBemerkungStatusanzeige() As String
+ Get
+ Return Me.anfBemerkungStatusanzeigeField
+ End Get
+ Set
+ Me.anfBemerkungStatusanzeigeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbsenderSystemName() As String
+ Get
+ Return Me.absenderSystemNameField
+ End Get
+ Set
+ Me.absenderSystemNameField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ShipmentReferenz() As String
+ Get
+ Return Me.shipmentReferenzField
+ End Get
+ Set
+ Me.shipmentReferenzField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(ObjektIdentifizierungAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current ObjektIdentifizierungAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an ObjektIdentifizierungAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output ObjektIdentifizierungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As ObjektIdentifizierungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As ObjektIdentifizierungAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), ObjektIdentifizierungAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current ObjektIdentifizierungAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an ObjektIdentifizierungAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output ObjektIdentifizierungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As ObjektIdentifizierungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, ObjektIdentifizierungAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As ObjektIdentifizierungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As ObjektIdentifizierungAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As ObjektIdentifizierungAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class AussenhandelsstatistikAVUVTyp
+
+ Private verkehrszweigInlandField As String
+
+ Private verkehrszweigGrenzeField As String
+
+ Private versendungslandField As String
+
+ Private bestimmungsbundeslandField As String
+
+ Private bestimmungslandField As String
+
+ Private befoerderungsmittelGrenzeStaatszugehoerigkeitCodeField As String
+
+ Private befoerderungsmittelGrenzeArtField As String
+
+ Private befoerderungsmittelBeschreibungField As String
+
+ Private artGeschaeftField As String
+
+ Private statistikstatusField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property VerkehrszweigInland() As String
+ Get
+ Return Me.verkehrszweigInlandField
+ End Get
+ Set
+ Me.verkehrszweigInlandField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerkehrszweigGrenze() As String
+ Get
+ Return Me.verkehrszweigGrenzeField
+ End Get
+ Set
+ Me.verkehrszweigGrenzeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Versendungsland() As String
+ Get
+ Return Me.versendungslandField
+ End Get
+ Set
+ Me.versendungslandField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Bestimmungsbundesland() As String
+ Get
+ Return Me.bestimmungsbundeslandField
+ End Get
+ Set
+ Me.bestimmungsbundeslandField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Bestimmungsland() As String
+ Get
+ Return Me.bestimmungslandField
+ End Get
+ Set
+ Me.bestimmungslandField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BefoerderungsmittelGrenzeStaatszugehoerigkeitCode() As String
+ Get
+ Return Me.befoerderungsmittelGrenzeStaatszugehoerigkeitCodeField
+ End Get
+ Set
+ Me.befoerderungsmittelGrenzeStaatszugehoerigkeitCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BefoerderungsmittelGrenzeArt() As String
+ Get
+ Return Me.befoerderungsmittelGrenzeArtField
+ End Get
+ Set
+ Me.befoerderungsmittelGrenzeArtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BefoerderungsmittelBeschreibung() As String
+ Get
+ Return Me.befoerderungsmittelBeschreibungField
+ End Get
+ Set
+ Me.befoerderungsmittelBeschreibungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ArtGeschaeft() As String
+ Get
+ Return Me.artGeschaeftField
+ End Get
+ Set
+ Me.artGeschaeftField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Statistikstatus() As String
+ Get
+ Return Me.statistikstatusField
+ End Get
+ Set
+ Me.statistikstatusField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AussenhandelsstatistikAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AussenhandelsstatistikAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AussenhandelsstatistikAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AussenhandelsstatistikAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AussenhandelsstatistikAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AussenhandelsstatistikAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AussenhandelsstatistikAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AussenhandelsstatistikAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AussenhandelsstatistikAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AussenhandelsstatistikAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AussenhandelsstatistikAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AussenhandelsstatistikAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As AussenhandelsstatistikAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AussenhandelsstatistikAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AussenhandelsstatistikAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AussenhandelsstatistikAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AussenhandelsstatistikAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As AussenhandelsstatistikAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class AbzugHinzurechnungAVUVTyp
+
+ Private artCodeField As String
+
+ Private beschreibungAndereZahlungenField As String
+
+ Private betragField As String
+
+ Private waehrungField As String
+
+ Private kursVereinbartKzField As String
+
+ Private kursDatumField As Date
+
+ Private kursDatumFieldSpecified As Boolean
+
+ Private prozentsatzField As String
+
+ Private betragInEURField As String
+
+ Private iATAKursKzField As String
+
+ Private frachtkostenBerechnungsgrundlageField As String
+
+ Private kursAuslandswaehrungField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property ArtCode() As String
+ Get
+ Return Me.artCodeField
+ End Get
+ Set
+ Me.artCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BeschreibungAndereZahlungen() As String
+ Get
+ Return Me.beschreibungAndereZahlungenField
+ End Get
+ Set
+ Me.beschreibungAndereZahlungenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Betrag() As String
+ Get
+ Return Me.betragField
+ End Get
+ Set
+ Me.betragField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Waehrung() As String
+ Get
+ Return Me.waehrungField
+ End Get
+ Set
+ Me.waehrungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursVereinbartKz() As String
+ Get
+ Return Me.kursVereinbartKzField
+ End Get
+ Set
+ Me.kursVereinbartKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursDatum() As Date
+ Get
+ Return Me.kursDatumField
+ End Get
+ Set
+ Me.kursDatumField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursDatumSpecified() As Boolean
+ Get
+ Return Me.kursDatumFieldSpecified
+ End Get
+ Set
+ Me.kursDatumFieldSpecified = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Prozentsatz() As String
+ Get
+ Return Me.prozentsatzField
+ End Get
+ Set
+ Me.prozentsatzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BetragInEUR() As String
+ Get
+ Return Me.betragInEURField
+ End Get
+ Set
+ Me.betragInEURField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property IATAKursKz() As String
+ Get
+ Return Me.iATAKursKzField
+ End Get
+ Set
+ Me.iATAKursKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property FrachtkostenBerechnungsgrundlage() As String
+ Get
+ Return Me.frachtkostenBerechnungsgrundlageField
+ End Get
+ Set
+ Me.frachtkostenBerechnungsgrundlageField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursAuslandswaehrung() As String
+ Get
+ Return Me.kursAuslandswaehrungField
+ End Get
+ Set
+ Me.kursAuslandswaehrungField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbzugHinzurechnungAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbzugHinzurechnungAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbzugHinzurechnungAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbzugHinzurechnungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbzugHinzurechnungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbzugHinzurechnungAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbzugHinzurechnungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbzugHinzurechnungAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbzugHinzurechnungAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbzugHinzurechnungAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbzugHinzurechnungAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbzugHinzurechnungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As AbzugHinzurechnungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbzugHinzurechnungAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbzugHinzurechnungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbzugHinzurechnungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbzugHinzurechnungAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As AbzugHinzurechnungAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class BesondereWertangabeAVUVTyp
+
+ Private wertField As String
+
+ Private preisartCodeField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property Wert() As String
+ Get
+ Return Me.wertField
+ End Get
+ Set
+ Me.wertField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property PreisartCode() As String
+ Get
+ Return Me.preisartCodeField
+ End Get
+ Set
+ Me.preisartCodeField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(BesondereWertangabeAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current BesondereWertangabeAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an BesondereWertangabeAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output BesondereWertangabeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BesondereWertangabeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BesondereWertangabeAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BesondereWertangabeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As BesondereWertangabeAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), BesondereWertangabeAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current BesondereWertangabeAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an BesondereWertangabeAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output BesondereWertangabeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As BesondereWertangabeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BesondereWertangabeAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BesondereWertangabeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BesondereWertangabeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As BesondereWertangabeAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As BesondereWertangabeAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class UnterlageVZPositionAVUVTyp
+
+ Private bereichField As String
+
+ Private artField As String
+
+ Private nummerField As String
+
+ Private datumAusstellungField As Date
+
+ Private datumAusstellungFieldSpecified As Boolean
+
+ Private vorlageKzField As String
+
+ Private abschreibungsMengeField As String
+
+ Private abschreibungsMengeMasseinheitField As String
+
+ Private abschreibungsMengeMasseinheitQualifierField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property Bereich() As String
+ Get
+ Return Me.bereichField
+ End Get
+ Set
+ Me.bereichField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Art() As String
+ Get
+ Return Me.artField
+ End Get
+ Set
+ Me.artField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Nummer() As String
+ Get
+ Return Me.nummerField
+ End Get
+ Set
+ Me.nummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property DatumAusstellung() As Date
+ Get
+ Return Me.datumAusstellungField
+ End Get
+ Set
+ Me.datumAusstellungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property DatumAusstellungSpecified() As Boolean
+ Get
+ Return Me.datumAusstellungFieldSpecified
+ End Get
+ Set
+ Me.datumAusstellungFieldSpecified = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VorlageKz() As String
+ Get
+ Return Me.vorlageKzField
+ End Get
+ Set
+ Me.vorlageKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbschreibungsMenge() As String
+ Get
+ Return Me.abschreibungsMengeField
+ End Get
+ Set
+ Me.abschreibungsMengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbschreibungsMengeMasseinheit() As String
+ Get
+ Return Me.abschreibungsMengeMasseinheitField
+ End Get
+ Set
+ Me.abschreibungsMengeMasseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbschreibungsMengeMasseinheitQualifier() As String
+ Get
+ Return Me.abschreibungsMengeMasseinheitQualifierField
+ End Get
+ Set
+ Me.abschreibungsMengeMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(UnterlageVZPositionAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current UnterlageVZPositionAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an UnterlageVZPositionAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output UnterlageVZPositionAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As UnterlageVZPositionAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, UnterlageVZPositionAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As UnterlageVZPositionAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As UnterlageVZPositionAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), UnterlageVZPositionAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current UnterlageVZPositionAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an UnterlageVZPositionAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output UnterlageVZPositionAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As UnterlageVZPositionAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, UnterlageVZPositionAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As UnterlageVZPositionAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As UnterlageVZPositionAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As UnterlageVZPositionAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As UnterlageVZPositionAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class SonderfalldatenAVUVTyp
+
+ Private sonderabgabenGruppeCodeField As String
+
+ Private anwendungArtField As String
+
+ Private satzBetragFaktorField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property SonderabgabenGruppeCode() As String
+ Get
+ Return Me.sonderabgabenGruppeCodeField
+ End Get
+ Set
+ Me.sonderabgabenGruppeCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnwendungArt() As String
+ Get
+ Return Me.anwendungArtField
+ End Get
+ Set
+ Me.anwendungArtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property SatzBetragFaktor() As String
+ Get
+ Return Me.satzBetragFaktorField
+ End Get
+ Set
+ Me.satzBetragFaktorField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(SonderfalldatenAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current SonderfalldatenAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an SonderfalldatenAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output SonderfalldatenAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderfalldatenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderfalldatenAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As SonderfalldatenAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As SonderfalldatenAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), SonderfalldatenAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current SonderfalldatenAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an SonderfalldatenAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output SonderfalldatenAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As SonderfalldatenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, SonderfalldatenAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderfalldatenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As SonderfalldatenAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As SonderfalldatenAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As SonderfalldatenAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class AbgabenminderungAVUVTyp
+
+ Private abgabengruppeCodeField As String
+
+ Private minderungsbetragField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property AbgabengruppeCode() As String
+ Get
+ Return Me.abgabengruppeCodeField
+ End Get
+ Set
+ Me.abgabengruppeCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Minderungsbetrag() As String
+ Get
+ Return Me.minderungsbetragField
+ End Get
+ Set
+ Me.minderungsbetragField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AbgabenminderungAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AbgabenminderungAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AbgabenminderungAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AbgabenminderungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenminderungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenminderungAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AbgabenminderungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AbgabenminderungAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AbgabenminderungAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AbgabenminderungAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AbgabenminderungAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AbgabenminderungAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As AbgabenminderungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AbgabenminderungAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenminderungAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AbgabenminderungAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AbgabenminderungAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As AbgabenminderungAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class VerbrauchssteuerAVUVTyp
+
+ Private verbrauchsteuerCodeField As String
+
+ Private verbrauchssteuerMengeField As String
+
+ Private verbrauchssteuerMasseinheitCodeField As String
+
+ Private verbrauchssteuerMasseinheitQualifierField As String
+
+ Private gradProzentField As String
+
+ Private verbrauchssteuerWertBasisField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property VerbrauchsteuerCode() As String
+ Get
+ Return Me.verbrauchsteuerCodeField
+ End Get
+ Set
+ Me.verbrauchsteuerCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerbrauchssteuerMenge() As String
+ Get
+ Return Me.verbrauchssteuerMengeField
+ End Get
+ Set
+ Me.verbrauchssteuerMengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerbrauchssteuerMasseinheitCode() As String
+ Get
+ Return Me.verbrauchssteuerMasseinheitCodeField
+ End Get
+ Set
+ Me.verbrauchssteuerMasseinheitCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerbrauchssteuerMasseinheitQualifier() As String
+ Get
+ Return Me.verbrauchssteuerMasseinheitQualifierField
+ End Get
+ Set
+ Me.verbrauchssteuerMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property GradProzent() As String
+ Get
+ Return Me.gradProzentField
+ End Get
+ Set
+ Me.gradProzentField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerbrauchssteuerWertBasis() As String
+ Get
+ Return Me.verbrauchssteuerWertBasisField
+ End Get
+ Set
+ Me.verbrauchssteuerWertBasisField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(VerbrauchssteuerAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current VerbrauchssteuerAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an VerbrauchssteuerAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output VerbrauchssteuerAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As VerbrauchssteuerAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, VerbrauchssteuerAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As VerbrauchssteuerAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As VerbrauchssteuerAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), VerbrauchssteuerAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current VerbrauchssteuerAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an VerbrauchssteuerAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output VerbrauchssteuerAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As VerbrauchssteuerAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, VerbrauchssteuerAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As VerbrauchssteuerAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As VerbrauchssteuerAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As VerbrauchssteuerAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As VerbrauchssteuerAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class BeguenstigungsMengeAVUVTyp
+
+ Private mengeField As String
+
+ Private masseinheitCodeField As String
+
+ Private masseinheitQualifierField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property Menge() As String
+ Get
+ Return Me.mengeField
+ End Get
+ Set
+ Me.mengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property MasseinheitCode() As String
+ Get
+ Return Me.masseinheitCodeField
+ End Get
+ Set
+ Me.masseinheitCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property MasseinheitQualifier() As String
+ Get
+ Return Me.masseinheitQualifierField
+ End Get
+ Set
+ Me.masseinheitQualifierField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(BeguenstigungsMengeAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current BeguenstigungsMengeAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an BeguenstigungsMengeAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output BeguenstigungsMengeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BeguenstigungsMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BeguenstigungsMengeAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As BeguenstigungsMengeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As BeguenstigungsMengeAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), BeguenstigungsMengeAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current BeguenstigungsMengeAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an BeguenstigungsMengeAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output BeguenstigungsMengeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As BeguenstigungsMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, BeguenstigungsMengeAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BeguenstigungsMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As BeguenstigungsMengeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As BeguenstigungsMengeAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As BeguenstigungsMengeAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class GehaltsangabenAVUVTyp
+
+ Private artCodeField As String
+
+ Private gradProzentField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property ArtCode() As String
+ Get
+ Return Me.artCodeField
+ End Get
+ Set
+ Me.artCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property GradProzent() As String
+ Get
+ Return Me.gradProzentField
+ End Get
+ Set
+ Me.gradProzentField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(GehaltsangabenAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current GehaltsangabenAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an GehaltsangabenAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output GehaltsangabenAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As GehaltsangabenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, GehaltsangabenAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As GehaltsangabenAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As GehaltsangabenAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), GehaltsangabenAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current GehaltsangabenAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an GehaltsangabenAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output GehaltsangabenAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As GehaltsangabenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, GehaltsangabenAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As GehaltsangabenAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As GehaltsangabenAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As GehaltsangabenAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As GehaltsangabenAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class AVVeredelungserzeugnisTyp
+
+ Private warenbezeichnungField As String
+
+ Private ausbeuteartField As String
+
+ Private ausbeutesatzField As String
+
+ Private kNCodeField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property Warenbezeichnung() As String
+ Get
+ Return Me.warenbezeichnungField
+ End Get
+ Set
+ Me.warenbezeichnungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Ausbeuteart() As String
+ Get
+ Return Me.ausbeuteartField
+ End Get
+ Set
+ Me.ausbeuteartField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Ausbeutesatz() As String
+ Get
+ Return Me.ausbeutesatzField
+ End Get
+ Set
+ Me.ausbeutesatzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KNCode() As String
+ Get
+ Return Me.kNCodeField
+ End Get
+ Set
+ Me.kNCodeField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(AVVeredelungserzeugnisTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current AVVeredelungserzeugnisTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an AVVeredelungserzeugnisTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output AVVeredelungserzeugnisTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AVVeredelungserzeugnisTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AVVeredelungserzeugnisTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As AVVeredelungserzeugnisTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As AVVeredelungserzeugnisTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), AVVeredelungserzeugnisTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current AVVeredelungserzeugnisTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an AVVeredelungserzeugnisTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output AVVeredelungserzeugnisTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As AVVeredelungserzeugnisTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, AVVeredelungserzeugnisTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AVVeredelungserzeugnisTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As AVVeredelungserzeugnisTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As AVVeredelungserzeugnisTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As AVVeredelungserzeugnisTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class WarenMengeAVUVTyp
+
+ Private mengeField As String
+
+ Private masseinheitField As String
+
+ Private qualifierField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+
+ Public Overridable Property Menge() As String
+ Get
+ Return Me.mengeField
+ End Get
+ Set
+ Me.mengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Masseinheit() As String
+ Get
+ Return Me.masseinheitField
+ End Get
+ Set
+ Me.masseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Qualifier() As String
+ Get
+ Return Me.qualifierField
+ End Get
+ Set
+ Me.qualifierField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(WarenMengeAVUVTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current WarenMengeAVUVTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an WarenMengeAVUVTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output WarenMengeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As WarenMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, WarenMengeAVUVTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As WarenMengeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As WarenMengeAVUVTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), WarenMengeAVUVTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current WarenMengeAVUVTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an WarenMengeAVUVTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output WarenMengeAVUVTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As WarenMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, WarenMengeAVUVTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As WarenMengeAVUVTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As WarenMengeAVUVTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As WarenMengeAVUVTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As WarenMengeAVUVTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class PositionEinfuhrUnvollstaendigeAnmeldungTyp
+
+ Private positionsnummerField As String
+
+ Private artikelNummerField As String
+
+ Private warenNummerEZTField As String
+
+ Private warenNummerZusatzCodeField As List(Of String)
+
+ Private warenNummerZusatz1Field As String
+
+ Private warenNummerZusatz2Field As String
+
+ Private warenBezeichnungField As String
+
+ Private verfahrenscodeVorangegangenesVerfahrenField As String
+
+ Private abgabensteuerungKzField As String
+
+ Private eUCodeField As List(Of String)
+
+ Private ursprungslandCodeField As String
+
+ Private praeferenzursprungslandField As String
+
+ Private rohmasseField As String
+
+ Private eigenmasseField As String
+
+ Private aHStatMengeField As String
+
+ Private aHStatMengeMasseinheitField As String
+
+ Private aHStatMengeQualifierField As String
+
+ Private kostenEUStField As String
+
+ Private aHStatWertField As String
+
+ Private packstueckAnzahlField As String
+
+ Private packstueckArtField As String
+
+ Private packstueckZeichenField As String
+
+ Private warenMengeField As List(Of WarenMengeAVUVTyp)
+
+ Private warenMengeZollField As String
+
+ Private warenMengeZollMasseinheitField As String
+
+ Private warenMengeZollMasseinheitQualifierField As String
+
+ Private beguenstigungBeantragtCodeField As String
+
+ Private kontingentnummerField As List(Of String)
+
+ Private positionsZusatzField As String
+
+ Private aHStatWertManuellKZField As String
+
+ Private artikelpreisField As String
+
+ Private ortVerbringensField As String
+
+ Private abflughafenIATACodeField As String
+
+ Private warenmengeAVUVZugangField As String
+
+ Private warenmengeAVUVZugangMasseinheitField As String
+
+ Private warenmengeAVUVZugangMasseinheitQualifierField As String
+
+ Private warenmengeAgrarzollField As String
+
+ Private warenmengeAgrarzollMasseinheitField As String
+
+ Private warenmengeAgrarzollMasseinheitQualifierField As String
+
+ Private sachbereichField As String
+
+ Private bedingungCodeField As String
+
+ Private veredelungWertsteigerungField As String
+
+ Private tabakSteuerzeichenIDField As String
+
+ Private aVWirtschaftlicheVoraussetzungenField As String
+
+ Private aVNaemlichkeitsmittelField As String
+
+ Private aVErlaeuterungNaemlichkeitField As String
+
+ Private aVVeredelungserzeugnisField As List(Of AVVeredelungserzeugnisTyp)
+
+ Private gehaltsangabenField As List(Of GehaltsangabenAVUVTyp)
+
+ Private beguenstigungsmengeField As BeguenstigungsMengeAVUVTyp
+
+ Private verbrauchssteuerField As List(Of VerbrauchssteuerAVUVTyp)
+
+ Private abgabenminderungField As List(Of AbgabenminderungAVUVTyp)
+
+ Private sonderfalldatenField As List(Of SonderfalldatenAVUVTyp)
+
+ Private unterlageField As List(Of UnterlageVZPositionAVUVTyp)
+
+ Private besondereWertangabeField As List(Of BesondereWertangabeAVUVTyp)
+
+ Private vZAStatusField As String
+
+ Private eGZStatusField As String
+
+ Private dV1StatusField As String
+
+ Private anmeldeArtField As String
+
+ Private befundDatumField As Date
+
+ Private befundDatumFieldSpecified As Boolean
+
+ Private anmelderAdressCodeEORIField As String
+
+ Private anmelderAdressCodeZollnummerField As String
+
+ Private zollverfahrenField As String
+
+ Private abrechnungszollstelleCodeField As String
+
+ Private sachbereichCodeField As String
+
+ Private registriernummervZAField As String
+
+ Private anmeldeVerfahrenField As String
+
+ Private bewilligungsnummerField As String
+
+ Private bewilligungsnummerEndverwenderEGZDurchDritteField As String
+
+ Private zollwertField As String
+
+ Private luftfrachtkostenGesamtField As String
+
+ Private iATAKursKzField As String
+
+ Private luftfrachtkostenGesamtWaehrungField As String
+
+ Private kursVereinbartKzField As String
+
+ Private kursBetragVereinbartField As String
+
+ Private kursDatumField As Date
+
+ Private kursDatumFieldSpecified As Boolean
+
+ Private abzugHinzurechnungField As List(Of AbzugHinzurechnungAVUVTyp)
+
+ Private aussenhandelsstatistikField As AussenhandelsstatistikAVUVTyp
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+ Public Sub New()
+ MyBase.New
+ Me.aussenhandelsstatistikField = New AussenhandelsstatistikAVUVTyp()
+ Me.abzugHinzurechnungField = New List(Of AbzugHinzurechnungAVUVTyp)()
+ Me.besondereWertangabeField = New List(Of BesondereWertangabeAVUVTyp)()
+ Me.unterlageField = New List(Of UnterlageVZPositionAVUVTyp)()
+ Me.sonderfalldatenField = New List(Of SonderfalldatenAVUVTyp)()
+ Me.abgabenminderungField = New List(Of AbgabenminderungAVUVTyp)()
+ Me.verbrauchssteuerField = New List(Of VerbrauchssteuerAVUVTyp)()
+ Me.beguenstigungsmengeField = New BeguenstigungsMengeAVUVTyp()
+ Me.gehaltsangabenField = New List(Of GehaltsangabenAVUVTyp)()
+ Me.aVVeredelungserzeugnisField = New List(Of AVVeredelungserzeugnisTyp)()
+ Me.kontingentnummerField = New List(Of String)()
+ Me.warenMengeField = New List(Of WarenMengeAVUVTyp)()
+ Me.eUCodeField = New List(Of String)()
+ Me.warenNummerZusatzCodeField = New List(Of String)()
+ End Sub
+
+
+ Public Overridable Property Positionsnummer() As String
+ Get
+ Return Me.positionsnummerField
+ End Get
+ Set
+ Me.positionsnummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property ArtikelNummer() As String
+ Get
+ Return Me.artikelNummerField
+ End Get
+ Set
+ Me.artikelNummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenNummerEZT() As String
+ Get
+ Return Me.warenNummerEZTField
+ End Get
+ Set
+ Me.warenNummerEZTField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenNummerZusatzCode() As List(Of String)
+ Get
+ Return Me.warenNummerZusatzCodeField
+ End Get
+ Set
+ Me.warenNummerZusatzCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenNummerZusatz1() As String
+ Get
+ Return Me.warenNummerZusatz1Field
+ End Get
+ Set
+ Me.warenNummerZusatz1Field = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenNummerZusatz2() As String
+ Get
+ Return Me.warenNummerZusatz2Field
+ End Get
+ Set
+ Me.warenNummerZusatz2Field = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenBezeichnung() As String
+ Get
+ Return Me.warenBezeichnungField
+ End Get
+ Set
+ Me.warenBezeichnungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VerfahrenscodeVorangegangenesVerfahren() As String
+ Get
+ Return Me.verfahrenscodeVorangegangenesVerfahrenField
+ End Get
+ Set
+ Me.verfahrenscodeVorangegangenesVerfahrenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbgabensteuerungKz() As String
+ Get
+ Return Me.abgabensteuerungKzField
+ End Get
+ Set
+ Me.abgabensteuerungKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property EUCode() As List(Of String)
+ Get
+ Return Me.eUCodeField
+ End Get
+ Set
+ Me.eUCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property UrsprungslandCode() As String
+ Get
+ Return Me.ursprungslandCodeField
+ End Get
+ Set
+ Me.ursprungslandCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Praeferenzursprungsland() As String
+ Get
+ Return Me.praeferenzursprungslandField
+ End Get
+ Set
+ Me.praeferenzursprungslandField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Rohmasse() As String
+ Get
+ Return Me.rohmasseField
+ End Get
+ Set
+ Me.rohmasseField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Eigenmasse() As String
+ Get
+ Return Me.eigenmasseField
+ End Get
+ Set
+ Me.eigenmasseField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AHStatMenge() As String
+ Get
+ Return Me.aHStatMengeField
+ End Get
+ Set
+ Me.aHStatMengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AHStatMengeMasseinheit() As String
+ Get
+ Return Me.aHStatMengeMasseinheitField
+ End Get
+ Set
+ Me.aHStatMengeMasseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AHStatMengeQualifier() As String
+ Get
+ Return Me.aHStatMengeQualifierField
+ End Get
+ Set
+ Me.aHStatMengeQualifierField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KostenEUSt() As String
+ Get
+ Return Me.kostenEUStField
+ End Get
+ Set
+ Me.kostenEUStField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AHStatWert() As String
+ Get
+ Return Me.aHStatWertField
+ End Get
+ Set
+ Me.aHStatWertField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property PackstueckAnzahl() As String
+ Get
+ Return Me.packstueckAnzahlField
+ End Get
+ Set
+ Me.packstueckAnzahlField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property PackstueckArt() As String
+ Get
+ Return Me.packstueckArtField
+ End Get
+ Set
+ Me.packstueckArtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property PackstueckZeichen() As String
+ Get
+ Return Me.packstueckZeichenField
+ End Get
+ Set
+ Me.packstueckZeichenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenMenge() As List(Of WarenMengeAVUVTyp)
+ Get
+ Return Me.warenMengeField
+ End Get
+ Set
+ Me.warenMengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenMengeZoll() As String
+ Get
+ Return Me.warenMengeZollField
+ End Get
+ Set
+ Me.warenMengeZollField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenMengeZollMasseinheit() As String
+ Get
+ Return Me.warenMengeZollMasseinheitField
+ End Get
+ Set
+ Me.warenMengeZollMasseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenMengeZollMasseinheitQualifier() As String
+ Get
+ Return Me.warenMengeZollMasseinheitQualifierField
+ End Get
+ Set
+ Me.warenMengeZollMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BeguenstigungBeantragtCode() As String
+ Get
+ Return Me.beguenstigungBeantragtCodeField
+ End Get
+ Set
+ Me.beguenstigungBeantragtCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Kontingentnummer() As List(Of String)
+ Get
+ Return Me.kontingentnummerField
+ End Get
+ Set
+ Me.kontingentnummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property PositionsZusatz() As String
+ Get
+ Return Me.positionsZusatzField
+ End Get
+ Set
+ Me.positionsZusatzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AHStatWertManuellKZ() As String
+ Get
+ Return Me.aHStatWertManuellKZField
+ End Get
+ Set
+ Me.aHStatWertManuellKZField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Artikelpreis() As String
+ Get
+ Return Me.artikelpreisField
+ End Get
+ Set
+ Me.artikelpreisField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property OrtVerbringens() As String
+ Get
+ Return Me.ortVerbringensField
+ End Get
+ Set
+ Me.ortVerbringensField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbflughafenIATACode() As String
+ Get
+ Return Me.abflughafenIATACodeField
+ End Get
+ Set
+ Me.abflughafenIATACodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAVUVZugang() As String
+ Get
+ Return Me.warenmengeAVUVZugangField
+ End Get
+ Set
+ Me.warenmengeAVUVZugangField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAVUVZugangMasseinheit() As String
+ Get
+ Return Me.warenmengeAVUVZugangMasseinheitField
+ End Get
+ Set
+ Me.warenmengeAVUVZugangMasseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAVUVZugangMasseinheitQualifier() As String
+ Get
+ Return Me.warenmengeAVUVZugangMasseinheitQualifierField
+ End Get
+ Set
+ Me.warenmengeAVUVZugangMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAgrarzoll() As String
+ Get
+ Return Me.warenmengeAgrarzollField
+ End Get
+ Set
+ Me.warenmengeAgrarzollField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAgrarzollMasseinheit() As String
+ Get
+ Return Me.warenmengeAgrarzollMasseinheitField
+ End Get
+ Set
+ Me.warenmengeAgrarzollMasseinheitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property WarenmengeAgrarzollMasseinheitQualifier() As String
+ Get
+ Return Me.warenmengeAgrarzollMasseinheitQualifierField
+ End Get
+ Set
+ Me.warenmengeAgrarzollMasseinheitQualifierField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Sachbereich() As String
+ Get
+ Return Me.sachbereichField
+ End Get
+ Set
+ Me.sachbereichField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BedingungCode() As String
+ Get
+ Return Me.bedingungCodeField
+ End Get
+ Set
+ Me.bedingungCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VeredelungWertsteigerung() As String
+ Get
+ Return Me.veredelungWertsteigerungField
+ End Get
+ Set
+ Me.veredelungWertsteigerungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property TabakSteuerzeichenID() As String
+ Get
+ Return Me.tabakSteuerzeichenIDField
+ End Get
+ Set
+ Me.tabakSteuerzeichenIDField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AVWirtschaftlicheVoraussetzungen() As String
+ Get
+ Return Me.aVWirtschaftlicheVoraussetzungenField
+ End Get
+ Set
+ Me.aVWirtschaftlicheVoraussetzungenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AVNaemlichkeitsmittel() As String
+ Get
+ Return Me.aVNaemlichkeitsmittelField
+ End Get
+ Set
+ Me.aVNaemlichkeitsmittelField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AVErlaeuterungNaemlichkeit() As String
+ Get
+ Return Me.aVErlaeuterungNaemlichkeitField
+ End Get
+ Set
+ Me.aVErlaeuterungNaemlichkeitField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AVVeredelungserzeugnis() As List(Of AVVeredelungserzeugnisTyp)
+ Get
+ Return Me.aVVeredelungserzeugnisField
+ End Get
+ Set
+ Me.aVVeredelungserzeugnisField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Gehaltsangaben() As List(Of GehaltsangabenAVUVTyp)
+ Get
+ Return Me.gehaltsangabenField
+ End Get
+ Set
+ Me.gehaltsangabenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Beguenstigungsmenge() As BeguenstigungsMengeAVUVTyp
+ Get
+ Return Me.beguenstigungsmengeField
+ End Get
+ Set
+ Me.beguenstigungsmengeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Verbrauchssteuer() As List(Of VerbrauchssteuerAVUVTyp)
+ Get
+ Return Me.verbrauchssteuerField
+ End Get
+ Set
+ Me.verbrauchssteuerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Abgabenminderung() As List(Of AbgabenminderungAVUVTyp)
+ Get
+ Return Me.abgabenminderungField
+ End Get
+ Set
+ Me.abgabenminderungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Sonderfalldaten() As List(Of SonderfalldatenAVUVTyp)
+ Get
+ Return Me.sonderfalldatenField
+ End Get
+ Set
+ Me.sonderfalldatenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Unterlage() As List(Of UnterlageVZPositionAVUVTyp)
+ Get
+ Return Me.unterlageField
+ End Get
+ Set
+ Me.unterlageField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BesondereWertangabe() As List(Of BesondereWertangabeAVUVTyp)
+ Get
+ Return Me.besondereWertangabeField
+ End Get
+ Set
+ Me.besondereWertangabeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property VZAStatus() As String
+ Get
+ Return Me.vZAStatusField
+ End Get
+ Set
+ Me.vZAStatusField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property EGZStatus() As String
+ Get
+ Return Me.eGZStatusField
+ End Get
+ Set
+ Me.eGZStatusField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property DV1Status() As String
+ Get
+ Return Me.dV1StatusField
+ End Get
+ Set
+ Me.dV1StatusField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnmeldeArt() As String
+ Get
+ Return Me.anmeldeArtField
+ End Get
+ Set
+ Me.anmeldeArtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BefundDatum() As Date
+ Get
+ Return Me.befundDatumField
+ End Get
+ Set
+ Me.befundDatumField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BefundDatumSpecified() As Boolean
+ Get
+ Return Me.befundDatumFieldSpecified
+ End Get
+ Set
+ Me.befundDatumFieldSpecified = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnmelderAdressCodeEORI() As String
+ Get
+ Return Me.anmelderAdressCodeEORIField
+ End Get
+ Set
+ Me.anmelderAdressCodeEORIField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnmelderAdressCodeZollnummer() As String
+ Get
+ Return Me.anmelderAdressCodeZollnummerField
+ End Get
+ Set
+ Me.anmelderAdressCodeZollnummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Zollverfahren() As String
+ Get
+ Return Me.zollverfahrenField
+ End Get
+ Set
+ Me.zollverfahrenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbrechnungszollstelleCode() As String
+ Get
+ Return Me.abrechnungszollstelleCodeField
+ End Get
+ Set
+ Me.abrechnungszollstelleCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property SachbereichCode() As String
+ Get
+ Return Me.sachbereichCodeField
+ End Get
+ Set
+ Me.sachbereichCodeField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property RegistriernummervZA() As String
+ Get
+ Return Me.registriernummervZAField
+ End Get
+ Set
+ Me.registriernummervZAField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AnmeldeVerfahren() As String
+ Get
+ Return Me.anmeldeVerfahrenField
+ End Get
+ Set
+ Me.anmeldeVerfahrenField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Bewilligungsnummer() As String
+ Get
+ Return Me.bewilligungsnummerField
+ End Get
+ Set
+ Me.bewilligungsnummerField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property BewilligungsnummerEndverwenderEGZDurchDritte() As String
+ Get
+ Return Me.bewilligungsnummerEndverwenderEGZDurchDritteField
+ End Get
+ Set
+ Me.bewilligungsnummerEndverwenderEGZDurchDritteField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Zollwert() As String
+ Get
+ Return Me.zollwertField
+ End Get
+ Set
+ Me.zollwertField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property LuftfrachtkostenGesamt() As String
+ Get
+ Return Me.luftfrachtkostenGesamtField
+ End Get
+ Set
+ Me.luftfrachtkostenGesamtField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property IATAKursKz() As String
+ Get
+ Return Me.iATAKursKzField
+ End Get
+ Set
+ Me.iATAKursKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property LuftfrachtkostenGesamtWaehrung() As String
+ Get
+ Return Me.luftfrachtkostenGesamtWaehrungField
+ End Get
+ Set
+ Me.luftfrachtkostenGesamtWaehrungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursVereinbartKz() As String
+ Get
+ Return Me.kursVereinbartKzField
+ End Get
+ Set
+ Me.kursVereinbartKzField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursBetragVereinbart() As String
+ Get
+ Return Me.kursBetragVereinbartField
+ End Get
+ Set
+ Me.kursBetragVereinbartField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursDatum() As Date
+ Get
+ Return Me.kursDatumField
+ End Get
+ Set
+ Me.kursDatumField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property KursDatumSpecified() As Boolean
+ Get
+ Return Me.kursDatumFieldSpecified
+ End Get
+ Set
+ Me.kursDatumFieldSpecified = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property AbzugHinzurechnung() As List(Of AbzugHinzurechnungAVUVTyp)
+ Get
+ Return Me.abzugHinzurechnungField
+ End Get
+ Set
+ Me.abzugHinzurechnungField = Value
+ End Set
+ End Property
+
+
+ Public Overridable Property Aussenhandelsstatistik() As AussenhandelsstatistikAVUVTyp
+ Get
+ Return Me.aussenhandelsstatistikField
+ End Get
+ Set
+ Me.aussenhandelsstatistikField = Value
+ End Set
+ End Property
+
+ Private Shared ReadOnly Property Serializer() As System.Xml.Serialization.XmlSerializer
+ Get
+ If (sSerializer Is Nothing) Then
+ sSerializer = New System.Xml.Serialization.XmlSerializer(GetType(PositionEinfuhrUnvollstaendigeAnmeldungTyp))
+ End If
+ Return sSerializer
+ End Get
+ End Property
+
+#Region "Serialize/Deserialize"
+ '''
+ '''Serializes current PositionEinfuhrUnvollstaendigeAnmeldungTyp object into an XML document
+ '''
+ '''string XML value
+ Public Overridable Overloads Function Serialize(ByVal encoding As System.Text.Encoding) As String
+ Dim streamReader As System.IO.StreamReader = Nothing
+ Dim memoryStream As System.IO.MemoryStream = Nothing
+ Try
+ memoryStream = New System.IO.MemoryStream()
+ Dim xmlWriterSettings As System.Xml.XmlWriterSettings = New System.Xml.XmlWriterSettings()
+ xmlWriterSettings.Encoding = encoding
+ Dim xmlWriter As System.Xml.XmlWriter = XmlWriter.Create(memoryStream, xmlWriterSettings)
+ Serializer.Serialize(xmlWriter, Me)
+ memoryStream.Seek(0, System.IO.SeekOrigin.Begin)
+ streamReader = New System.IO.StreamReader(memoryStream)
+ Return streamReader.ReadToEnd
+ Finally
+ If (Not (streamReader) Is Nothing) Then
+ streamReader.Dispose()
+ End If
+ If (Not (memoryStream) Is Nothing) Then
+ memoryStream.Dispose()
+ End If
+ End Try
+ End Function
+
+ Public Overridable Overloads Function Serialize() As String
+ Return Serialize(Encoding.UTF8)
+ End Function
+
+ '''
+ '''Deserializes workflow markup into an PositionEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''
+ '''string workflow markup to deserialize
+ '''Output PositionEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionEinfuhrUnvollstaendigeAnmeldungTyp)
+ Try
+ obj = Deserialize(xml)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String, ByRef obj As PositionEinfuhrUnvollstaendigeAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return Deserialize(xml, obj, exception)
+ End Function
+
+ Public Overloads Shared Function Deserialize(ByVal xml As String) As PositionEinfuhrUnvollstaendigeAnmeldungTyp
+ Dim stringReader As System.IO.StringReader = Nothing
+ Try
+ stringReader = New System.IO.StringReader(xml)
+ Return CType(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader)), PositionEinfuhrUnvollstaendigeAnmeldungTyp)
+ Finally
+ If (Not (stringReader) Is Nothing) Then
+ stringReader.Dispose()
+ End If
+ End Try
+ End Function
+
+ '''
+ '''Serializes current PositionEinfuhrUnvollstaendigeAnmeldungTyp object into file
+ '''
+ '''full path of outupt xml file
+ '''output Exception value if failed
+ '''true if can serialize and save into file; otherwise, false
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ Try
+ SaveToFile(fileName, encoding)
+ Return True
+ Catch e As System.Exception
+ exception = e
+ Return False
+ End Try
+ End Function
+
+ Public Overridable Overloads Function SaveToFile(ByVal fileName As String, ByRef exception As System.Exception) As Boolean
+ Return SaveToFile(fileName, Encoding.UTF8, exception)
+ End Function
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String)
+ SaveToFile(fileName, Encoding.UTF8)
+ End Sub
+
+ Public Overridable Overloads Sub SaveToFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding)
+ Dim streamWriter As System.IO.StreamWriter = Nothing
+ Try
+ Dim xmlString As String = Serialize(encoding)
+ streamWriter = New System.IO.StreamWriter(fileName, False, Encoding.UTF8)
+ streamWriter.WriteLine(xmlString)
+ streamWriter.Close()
+ Finally
+ If (Not (streamWriter) Is Nothing) Then
+ streamWriter.Dispose()
+ End If
+ End Try
+ End Sub
+
+ '''
+ '''Deserializes xml markup from file into an PositionEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''
+ '''string xml file to load and deserialize
+ '''Output PositionEinfuhrUnvollstaendigeAnmeldungTyp object
+ '''output Exception value if deserialize failed
+ '''true if this XmlSerializer can deserialize the object; otherwise, false
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding, ByRef obj As PositionEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ exception = Nothing
+ obj = CType(Nothing, PositionEinfuhrUnvollstaendigeAnmeldungTyp)
+ Try
+ obj = LoadFromFile(fileName, encoding)
+ Return True
+ Catch ex As System.Exception
+ exception = ex
+ Return False
+ End Try
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionEinfuhrUnvollstaendigeAnmeldungTyp, ByRef exception As System.Exception) As Boolean
+ Return LoadFromFile(fileName, Encoding.UTF8, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByRef obj As PositionEinfuhrUnvollstaendigeAnmeldungTyp) As Boolean
+ Dim exception As System.Exception = Nothing
+ Return LoadFromFile(fileName, obj, exception)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String) As PositionEinfuhrUnvollstaendigeAnmeldungTyp
+ Return LoadFromFile(fileName, Encoding.UTF8)
+ End Function
+
+ Public Overloads Shared Function LoadFromFile(ByVal fileName As String, ByVal encoding As System.Text.Encoding) As PositionEinfuhrUnvollstaendigeAnmeldungTyp
+ Dim file As System.IO.FileStream = Nothing
+ Dim sr As System.IO.StreamReader = Nothing
+ Try
+ file = New System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read)
+ sr = New System.IO.StreamReader(file, encoding)
+ Dim xmlString As String = sr.ReadToEnd
+ sr.Close()
+ file.Close()
+ Return Deserialize(xmlString)
+ Finally
+ If (Not (file) Is Nothing) Then
+ file.Dispose()
+ End If
+ If (Not (sr) Is Nothing) Then
+ sr.Dispose()
+ End If
+ End Try
+ End Function
+#End Region
+ End Class
+
+
+ Partial Public Class AdressenVzImportAVUVTyp
+
+ Private adressTypField As String
+
+ Private adressCodeField As String
+
+ Private teilnehmerEORIField As String
+
+ Private teilnehmerNLNRField As String
+
+ Private zollNrField As String
+
+ Private nameFirmaField As String
+
+ Private strasseHausNrField As String
+
+ Private ortsteilField As String
+
+ Private landCodeField As String
+
+ Private pLZSField As String
+
+ Private ortSField As String
+
+ Private uStIDAnmelderField As String
+
+ Private finanzamtIDAnmelderField As String
+
+ Private sitzEinfuehrerField As String
+
+ Private bewilligungsnummerField As String
+
+ Private bewilligungFachVerfahrenField As String
+
+ Private bewilligungsnummerEndverwenderField As String
+
+ Private Shared sSerializer As System.Xml.Serialization.XmlSerializer
+
+