'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.269
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.269.
'
Namespace WS_CustomerOrderCriteria
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Web.Services.WebServiceBindingAttribute(Name:="CustomerOrderService", [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class CustomerOrderServicePort
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        Private charterHeaderInfoValueField As CharterHeaderInfo
        
        Private GetCustomerOrderCriteriaOperationCompleted As System.Threading.SendOrPostCallback
        
        Private useDefaultCredentialsSetExplicitly As Boolean
        
        '''<remarks/>
        Public Sub New()
            MyBase.New
            Me.Url = Global.EBSServicesProvider.My.MySettings.Default.EBSServicesProvider_WS_CustomerOrderCriteria_CustomerOrderServicePort
            If (Me.IsLocalFileSystemWebService(Me.Url) = true) Then
                Me.UseDefaultCredentials = true
                Me.useDefaultCredentialsSetExplicitly = false
            Else
                Me.useDefaultCredentialsSetExplicitly = true
            End If
        End Sub
        
        Public Property CharterHeaderInfoValue() As CharterHeaderInfo
            Get
                Return Me.charterHeaderInfoValueField
            End Get
            Set
                Me.charterHeaderInfoValueField = value
            End Set
        End Property
        
        Public Shadows Property Url() As String
            Get
                Return MyBase.Url
            End Get
            Set
                If (((Me.IsLocalFileSystemWebService(MyBase.Url) = true)  _
                            AndAlso (Me.useDefaultCredentialsSetExplicitly = false))  _
                            AndAlso (Me.IsLocalFileSystemWebService(value) = false)) Then
                    MyBase.UseDefaultCredentials = false
                End If
                MyBase.Url = value
            End Set
        End Property
        
        Public Shadows Property UseDefaultCredentials() As Boolean
            Get
                Return MyBase.UseDefaultCredentials
            End Get
            Set
                MyBase.UseDefaultCredentials = value
                Me.useDefaultCredentialsSetExplicitly = true
            End Set
        End Property
        
        '''<remarks/>
        Public Event GetCustomerOrderCriteriaCompleted As GetCustomerOrderCriteriaCompletedEventHandler
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapHeaderAttribute("CharterHeaderInfoValue"),  _
         System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://charter.com/enterprise/orderservices/customerorders:getCustomerOrderCriter"& _ 
            "iaIn", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Bare)>  _
        Public Function GetCustomerOrderCriteria(<System.Xml.Serialization.XmlElementAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")> ByVal GetCustomerOrderCriteriaRequest As GetCustomerOrderCriteriaRequest) As <System.Xml.Serialization.XmlElementAttribute("GetCustomerOrderCriteriaResponse", [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")> GetCustomerOrderCriteriaResponse
            Dim results() As Object = Me.Invoke("GetCustomerOrderCriteria", New Object() {GetCustomerOrderCriteriaRequest})
            Return CType(results(0),GetCustomerOrderCriteriaResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub GetCustomerOrderCriteriaAsync(ByVal GetCustomerOrderCriteriaRequest As GetCustomerOrderCriteriaRequest)
            Me.GetCustomerOrderCriteriaAsync(GetCustomerOrderCriteriaRequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub GetCustomerOrderCriteriaAsync(ByVal GetCustomerOrderCriteriaRequest As GetCustomerOrderCriteriaRequest, ByVal userState As Object)
            If (Me.GetCustomerOrderCriteriaOperationCompleted Is Nothing) Then
                Me.GetCustomerOrderCriteriaOperationCompleted = AddressOf Me.OnGetCustomerOrderCriteriaOperationCompleted
            End If
            Me.InvokeAsync("GetCustomerOrderCriteria", New Object() {GetCustomerOrderCriteriaRequest}, Me.GetCustomerOrderCriteriaOperationCompleted, userState)
        End Sub
        
        Private Sub OnGetCustomerOrderCriteriaOperationCompleted(ByVal arg As Object)
            If (Not (Me.GetCustomerOrderCriteriaCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent GetCustomerOrderCriteriaCompleted(Me, New GetCustomerOrderCriteriaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        Public Shadows Sub CancelAsync(ByVal userState As Object)
            MyBase.CancelAsync(userState)
        End Sub
        
        Private Function IsLocalFileSystemWebService(ByVal url As String) As Boolean
            If ((url Is Nothing)  _
                        OrElse (url Is String.Empty)) Then
                Return false
            End If
            Dim wsUri As System.Uri = New System.Uri(url)
            If ((wsUri.Port >= 1024)  _
                        AndAlso (String.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) = 0)) Then
                Return true
            End If
            Return false
        End Function
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders"),  _
     System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders", IsNullable:=false)>  _
    Partial Public Class CharterHeaderInfo
        Inherits System.Web.Services.Protocols.SoapHeader
        
        Private tranIdField As System.Guid
        
        Private logOnlyField As Boolean
        
        Private dataSourceOverrideField As DataSourceOverrideType
        
        Private anyAttrField() As System.Xml.XmlAttribute
        
        '''<remarks/>
        Public Property TranId() As System.Guid
            Get
                Return Me.tranIdField
            End Get
            Set
                Me.tranIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property LogOnly() As Boolean
            Get
                Return Me.logOnlyField
            End Get
            Set
                Me.logOnlyField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property DataSourceOverride() As DataSourceOverrideType
            Get
                Return Me.dataSourceOverrideField
            End Get
            Set
                Me.dataSourceOverrideField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlAnyAttributeAttribute()>  _
        Public Property AnyAttr() As System.Xml.XmlAttribute()
            Get
                Return Me.anyAttrField
            End Get
            Set
                Me.anyAttrField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Public Enum DataSourceOverrideType
        
        '''<remarks/>
        NoOverride
        
        '''<remarks/>
        OverrideToDatabase
        
        '''<remarks/>
        OverrideToRemoteSystem
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class CsgStatusMessage
        
        Private codeField As String
        
        Private messageField As String
        
        '''<remarks/>
        Public Property Code() As String
            Get
                Return Me.codeField
            End Get
            Set
                Me.codeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Message() As String
            Get
                Return Me.messageField
            End Get
            Set
                Me.messageField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class ResultExceptionInfo
        
        Private typeField As String
        
        Private messageField As String
        
        Private stackTraceField As String
        
        Private codeField As String
        
        '''<remarks/>
        Public Property Type() As String
            Get
                Return Me.typeField
            End Get
            Set
                Me.typeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Message() As String
            Get
                Return Me.messageField
            End Get
            Set
                Me.messageField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property StackTrace() As String
            Get
                Return Me.stackTraceField
            End Get
            Set
                Me.stackTraceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Code() As String
            Get
                Return Me.codeField
            End Get
            Set
                Me.codeField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class Result
        
        Private returnCodeField As ResultReturnCode
        
        Private referenceCodeField As String
        
        Private typeField As ResultType
        
        Private descriptionField As String
        
        Private dateTimeField As Date
        
        Private sourceField As String
        
        Private serverField As String
        
        Private exceptionInfoField As ResultExceptionInfo
        
        Private statusMessagesField() As CsgStatusMessage
        
        '''<remarks/>
        Public Property ReturnCode() As ResultReturnCode
            Get
                Return Me.returnCodeField
            End Get
            Set
                Me.returnCodeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ReferenceCode() As String
            Get
                Return Me.referenceCodeField
            End Get
            Set
                Me.referenceCodeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Type() As ResultType
            Get
                Return Me.typeField
            End Get
            Set
                Me.typeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Description() As String
            Get
                Return Me.descriptionField
            End Get
            Set
                Me.descriptionField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property DateTime() As Date
            Get
                Return Me.dateTimeField
            End Get
            Set
                Me.dateTimeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Source() As String
            Get
                Return Me.sourceField
            End Get
            Set
                Me.sourceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Server() As String
            Get
                Return Me.serverField
            End Get
            Set
                Me.serverField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ExceptionInfo() As ResultExceptionInfo
            Get
                Return Me.exceptionInfoField
            End Get
            Set
                Me.exceptionInfoField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("StatusMessages")>  _
        Public Property StatusMessages() As CsgStatusMessage()
            Get
                Return Me.statusMessagesField
            End Get
            Set
                Me.statusMessagesField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Public Enum ResultReturnCode
        
        '''<remarks/>
        Success
        
        '''<remarks/>
        NoDataFound
        
        '''<remarks/>
        InvalidXml
        
        '''<remarks/>
        BusinessRuleNotMet
        
        '''<remarks/>
        Exception
        
        '''<remarks/>
        DatabaseError
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Public Enum ResultType
        
        '''<remarks/>
        Informational
        
        '''<remarks/>
        [Error]
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class CustomerOrderCriteria
        
        Private itemField As Object
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("House", GetType(CustomerOrderCriteriaHouse)),  _
         System.Xml.Serialization.XmlElementAttribute("NameAndPhone", GetType(CustomerOrderCriteriaNameAndPhone))>  _
        Public Property Item() As Object
            Get
                Return Me.itemField
            End Get
            Set
                Me.itemField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class CustomerOrderCriteriaHouse
        
        Private houseRefField As String
        
        Private occupantStatusField As CustomerOrderCriteriaHouseOccupantStatus
        
        Private accountIDField As String
        
        Private entityIDField As String
        
        '''<remarks/>
        Public Property HouseRef() As String
            Get
                Return Me.houseRefField
            End Get
            Set
                Me.houseRefField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property OccupantStatus() As CustomerOrderCriteriaHouseOccupantStatus
            Get
                Return Me.occupantStatusField
            End Get
            Set
                Me.occupantStatusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AccountID() As String
            Get
                Return Me.accountIDField
            End Get
            Set
                Me.accountIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property EntityID() As String
            Get
                Return Me.entityIDField
            End Get
            Set
                Me.entityIDField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Public Enum CustomerOrderCriteriaHouseOccupantStatus
        
        '''<remarks/>
        All
        
        '''<remarks/>
        Current
        
        '''<remarks/>
        Previous
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class CustomerOrderCriteriaNameAndPhone
        
        Private lastNameField As String
        
        Private firstNameField As String
        
        Private phoneNumberField As String
        
        '''<remarks/>
        Public Property LastName() As String
            Get
                Return Me.lastNameField
            End Get
            Set
                Me.lastNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property FirstName() As String
            Get
                Return Me.firstNameField
            End Get
            Set
                Me.firstNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property PhoneNumber() As String
            Get
                Return Me.phoneNumberField
            End Get
            Set
                Me.phoneNumberField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaRequest
        
        Private criteriaField As CustomerOrderCriteria
        
        '''<remarks/>
        Public Property Criteria() As CustomerOrderCriteria
            Get
                Return Me.criteriaField
            End Get
            Set
                Me.criteriaField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponse
        
        Private resultField As Result
        
        Private houseField() As GetCustomerOrderCriteriaResponseHouse
        
        '''<remarks/>
        Public Property Result() As Result
            Get
                Return Me.resultField
            End Get
            Set
                Me.resultField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("House")>  _
        Public Property House() As GetCustomerOrderCriteriaResponseHouse()
            Get
                Return Me.houseField
            End Get
            Set
                Me.houseField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouse
        
        Private houseRefField As String
        
        Private addressLine1Field As String
        
        Private addressLine2Field As String
        
        Private cityField As String
        
        Private stateField As String
        
        Private zipField As String
        
        Private zip4Field As String
        
        Private billingSystemField As String
        
        Private entityIDField As Object
        
        Private siteField As String
        
        Private companyField As String
        
        Private divisionField As String
        
        Private systemField As String
        
        Private principleField As String
        
        Private agentField As String
        
        Private residentField() As GetCustomerOrderCriteriaResponseHouseResident
        
        Private lOBField() As GetCustomerOrderCriteriaResponseHouseLOB
        
        '''<remarks/>
        Public Property HouseRef() As String
            Get
                Return Me.houseRefField
            End Get
            Set
                Me.houseRefField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AddressLine1() As String
            Get
                Return Me.addressLine1Field
            End Get
            Set
                Me.addressLine1Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AddressLine2() As String
            Get
                Return Me.addressLine2Field
            End Get
            Set
                Me.addressLine2Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property City() As String
            Get
                Return Me.cityField
            End Get
            Set
                Me.cityField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property State() As String
            Get
                Return Me.stateField
            End Get
            Set
                Me.stateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Zip() As String
            Get
                Return Me.zipField
            End Get
            Set
                Me.zipField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Zip4() As String
            Get
                Return Me.zip4Field
            End Get
            Set
                Me.zip4Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingSystem() As String
            Get
                Return Me.billingSystemField
            End Get
            Set
                Me.billingSystemField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property EntityID() As Object
            Get
                Return Me.entityIDField
            End Get
            Set
                Me.entityIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Site() As String
            Get
                Return Me.siteField
            End Get
            Set
                Me.siteField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Company() As String
            Get
                Return Me.companyField
            End Get
            Set
                Me.companyField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Division() As String
            Get
                Return Me.divisionField
            End Get
            Set
                Me.divisionField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property System() As String
            Get
                Return Me.systemField
            End Get
            Set
                Me.systemField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Principle() As String
            Get
                Return Me.principleField
            End Get
            Set
                Me.principleField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Agent() As String
            Get
                Return Me.agentField
            End Get
            Set
                Me.agentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Resident")>  _
        Public Property Resident() As GetCustomerOrderCriteriaResponseHouseResident()
            Get
                Return Me.residentField
            End Get
            Set
                Me.residentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("LOB")>  _
        Public Property LOB() As GetCustomerOrderCriteriaResponseHouseLOB()
            Get
                Return Me.lOBField
            End Get
            Set
                Me.lOBField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouseResident
        
        Private customerIDField As String
        
        Private accountIDField As String
        
        Private firstNameField As String
        
        Private lastNameField As String
        
        Private phoneNumberField As String
        
        Private sSNField As String
        
        Private typeCodeField As String
        
        Private currentResidentField As String
        
        Private subStatusField As String
        
        Private orderField() As GetCustomerOrderCriteriaResponseHouseResidentOrder
        
        Private accountsRecievableField() As GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievable
        
        '''<remarks/>
        Public Property CustomerID() As String
            Get
                Return Me.customerIDField
            End Get
            Set
                Me.customerIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AccountID() As String
            Get
                Return Me.accountIDField
            End Get
            Set
                Me.accountIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property FirstName() As String
            Get
                Return Me.firstNameField
            End Get
            Set
                Me.firstNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property LastName() As String
            Get
                Return Me.lastNameField
            End Get
            Set
                Me.lastNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property PhoneNumber() As String
            Get
                Return Me.phoneNumberField
            End Get
            Set
                Me.phoneNumberField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property SSN() As String
            Get
                Return Me.sSNField
            End Get
            Set
                Me.sSNField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property TypeCode() As String
            Get
                Return Me.typeCodeField
            End Get
            Set
                Me.typeCodeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CurrentResident() As String
            Get
                Return Me.currentResidentField
            End Get
            Set
                Me.currentResidentField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property SubStatus() As String
            Get
                Return Me.subStatusField
            End Get
            Set
                Me.subStatusField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Order")>  _
        Public Property Order() As GetCustomerOrderCriteriaResponseHouseResidentOrder()
            Get
                Return Me.orderField
            End Get
            Set
                Me.orderField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("AccountsRecievable")>  _
        Public Property AccountsRecievable() As GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievable()
            Get
                Return Me.accountsRecievableField
            End Get
            Set
                Me.accountsRecievableField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouseResidentOrder
        
        Private idField As String
        
        Private statusField As String
        
        Private typeField As Integer
        
        Private typeDescriptionField As String
        
        '''<remarks/>
        Public Property ID() As String
            Get
                Return Me.idField
            End Get
            Set
                Me.idField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Status() As String
            Get
                Return Me.statusField
            End Get
            Set
                Me.statusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Type() As Integer
            Get
                Return Me.typeField
            End Get
            Set
                Me.typeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property TypeDescription() As String
            Get
                Return Me.typeDescriptionField
            End Get
            Set
                Me.typeDescriptionField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievable
        
        Private statementField As Integer
        
        Private currentBalanceField As Decimal
        
        Private delinquencyField As GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievableDelinquency
        
        '''<remarks/>
        Public Property Statement() As Integer
            Get
                Return Me.statementField
            End Get
            Set
                Me.statementField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CurrentBalance() As Decimal
            Get
                Return Me.currentBalanceField
            End Get
            Set
                Me.currentBalanceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Delinquency() As GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievableDelinquency
            Get
                Return Me.delinquencyField
            End Get
            Set
                Me.delinquencyField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouseResidentAccountsRecievableDelinquency
        
        Private statusField As String
        
        Private startDateField As String
        
        Private amountField As Decimal
        
        Private writeOffBalanceField As Decimal
        
        Private writeOffBalanceFieldSpecified As Boolean
        
        Private thirtyDaysField As Decimal
        
        Private thirtyDaysFieldSpecified As Boolean
        
        Private sixtyDaysField As Decimal
        
        Private sixtyDaysFieldSpecified As Boolean
        
        Private ninetyDaysField As Decimal
        
        Private ninetyDaysFieldSpecified As Boolean
        
        Private oneHundredTwentyDaysField As Decimal
        
        Private oneHundredTwentyDaysFieldSpecified As Boolean
        
        Private oneHundredFiftyDaysField As Decimal
        
        Private oneHundredFiftyDaysFieldSpecified As Boolean
        
        '''<remarks/>
        Public Property Status() As String
            Get
                Return Me.statusField
            End Get
            Set
                Me.statusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property StartDate() As String
            Get
                Return Me.startDateField
            End Get
            Set
                Me.startDateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Amount() As Decimal
            Get
                Return Me.amountField
            End Get
            Set
                Me.amountField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property WriteOffBalance() As Decimal
            Get
                Return Me.writeOffBalanceField
            End Get
            Set
                Me.writeOffBalanceField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property WriteOffBalanceSpecified() As Boolean
            Get
                Return Me.writeOffBalanceFieldSpecified
            End Get
            Set
                Me.writeOffBalanceFieldSpecified = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ThirtyDays() As Decimal
            Get
                Return Me.thirtyDaysField
            End Get
            Set
                Me.thirtyDaysField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property ThirtyDaysSpecified() As Boolean
            Get
                Return Me.thirtyDaysFieldSpecified
            End Get
            Set
                Me.thirtyDaysFieldSpecified = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property SixtyDays() As Decimal
            Get
                Return Me.sixtyDaysField
            End Get
            Set
                Me.sixtyDaysField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property SixtyDaysSpecified() As Boolean
            Get
                Return Me.sixtyDaysFieldSpecified
            End Get
            Set
                Me.sixtyDaysFieldSpecified = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property NinetyDays() As Decimal
            Get
                Return Me.ninetyDaysField
            End Get
            Set
                Me.ninetyDaysField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property NinetyDaysSpecified() As Boolean
            Get
                Return Me.ninetyDaysFieldSpecified
            End Get
            Set
                Me.ninetyDaysFieldSpecified = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property OneHundredTwentyDays() As Decimal
            Get
                Return Me.oneHundredTwentyDaysField
            End Get
            Set
                Me.oneHundredTwentyDaysField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property OneHundredTwentyDaysSpecified() As Boolean
            Get
                Return Me.oneHundredTwentyDaysFieldSpecified
            End Get
            Set
                Me.oneHundredTwentyDaysFieldSpecified = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property OneHundredFiftyDays() As Decimal
            Get
                Return Me.oneHundredFiftyDaysField
            End Get
            Set
                Me.oneHundredFiftyDaysField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()>  _
        Public Property OneHundredFiftyDaysSpecified() As Boolean
            Get
                Return Me.oneHundredFiftyDaysFieldSpecified
            End Get
            Set
                Me.oneHundredFiftyDaysFieldSpecified = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://charter.com/enterprise/orderservices/customerorders")>  _
    Partial Public Class GetCustomerOrderCriteriaResponseHouseLOB
        
        Private codeField As String
        
        Private statusField As String
        
        Private descriptionField As String
        
        '''<remarks/>
        Public Property Code() As String
            Get
                Return Me.codeField
            End Get
            Set
                Me.codeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Status() As String
            Get
                Return Me.statusField
            End Get
            Set
                Me.statusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Description() As String
            Get
                Return Me.descriptionField
            End Get
            Set
                Me.descriptionField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")>  _
    Public Delegate Sub GetCustomerOrderCriteriaCompletedEventHandler(ByVal sender As Object, ByVal e As GetCustomerOrderCriteriaCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class GetCustomerOrderCriteriaCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As GetCustomerOrderCriteriaResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),GetCustomerOrderCriteriaResponse)
            End Get
        End Property
    End Class
End Namespace
