'------------------------------------------------------------------------------
' <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 WSRedemptionServiceRedeem
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Web.Services.WebServiceBindingAttribute(Name:="RedemptionServiceSoap", [Namespace]:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx"),  _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(BusinessEntityBaseOfCustomerAddressRequest)),  _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(BusinessEntityBaseOfCouponRedemptionRequest))>  _
    Partial Public Class RedemptionService
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        Private RedeemCouponOperationCompleted As System.Threading.SendOrPostCallback
        
        Private GiftCardLookupOperationCompleted As System.Threading.SendOrPostCallback
        
        Private RedeemGiftCardOperationCompleted As System.Threading.SendOrPostCallback
        
        Private GetCustomerAddressOperationCompleted As System.Threading.SendOrPostCallback
        
        Private useDefaultCredentialsSetExplicitly As Boolean
        
        '''<remarks/>
        Public Sub New()
            MyBase.New
            Me.Url = Global.CouponProvider.My.MySettings.Default.CouponProvider_WSRedemptionServiceRedeem_RedemptionService
            If (Me.IsLocalFileSystemWebService(Me.Url) = true) Then
                Me.UseDefaultCredentials = true
                Me.useDefaultCredentialsSetExplicitly = false
            Else
                Me.useDefaultCredentialsSetExplicitly = true
            End If
        End Sub
        
        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 RedeemCouponCompleted As RedeemCouponCompletedEventHandler
        
        '''<remarks/>
        Public Event GiftCardLookupCompleted As GiftCardLookupCompletedEventHandler
        
        '''<remarks/>
        Public Event RedeemGiftCardCompleted As RedeemGiftCardCompletedEventHandler
        
        '''<remarks/>
        Public Event GetCustomerAddressCompleted As GetCustomerAddressCompletedEventHandler
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx/RedeemCoupon", RequestNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", ResponseNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function RedeemCoupon(ByVal couponRedemptionRequest As CouponRedemptionRequest) As CouponRedemptionResponse
            Dim results() As Object = Me.Invoke("RedeemCoupon", New Object() {couponRedemptionRequest})
            Return CType(results(0),CouponRedemptionResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub RedeemCouponAsync(ByVal couponRedemptionRequest As CouponRedemptionRequest)
            Me.RedeemCouponAsync(couponRedemptionRequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub RedeemCouponAsync(ByVal couponRedemptionRequest As CouponRedemptionRequest, ByVal userState As Object)
            If (Me.RedeemCouponOperationCompleted Is Nothing) Then
                Me.RedeemCouponOperationCompleted = AddressOf Me.OnRedeemCouponOperationCompleted
            End If
            Me.InvokeAsync("RedeemCoupon", New Object() {couponRedemptionRequest}, Me.RedeemCouponOperationCompleted, userState)
        End Sub
        
        Private Sub OnRedeemCouponOperationCompleted(ByVal arg As Object)
            If (Not (Me.RedeemCouponCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent RedeemCouponCompleted(Me, New RedeemCouponCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx/GiftCardLookup", RequestNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", ResponseNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function GiftCardLookup(ByVal couponRedemptionRequest As CouponRedemptionRequest) As GiftCardLookupResponse
            Dim results() As Object = Me.Invoke("GiftCardLookup", New Object() {couponRedemptionRequest})
            Return CType(results(0),GiftCardLookupResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub GiftCardLookupAsync(ByVal couponRedemptionRequest As CouponRedemptionRequest)
            Me.GiftCardLookupAsync(couponRedemptionRequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub GiftCardLookupAsync(ByVal couponRedemptionRequest As CouponRedemptionRequest, ByVal userState As Object)
            If (Me.GiftCardLookupOperationCompleted Is Nothing) Then
                Me.GiftCardLookupOperationCompleted = AddressOf Me.OnGiftCardLookupOperationCompleted
            End If
            Me.InvokeAsync("GiftCardLookup", New Object() {couponRedemptionRequest}, Me.GiftCardLookupOperationCompleted, userState)
        End Sub
        
        Private Sub OnGiftCardLookupOperationCompleted(ByVal arg As Object)
            If (Not (Me.GiftCardLookupCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent GiftCardLookupCompleted(Me, New GiftCardLookupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx/RedeemGiftCard", RequestNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", ResponseNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function RedeemGiftCard(ByVal giftcardRedemptionrequest As GiftCardRedemptionRequest) As GiftCardRedemptionResponse
            Dim results() As Object = Me.Invoke("RedeemGiftCard", New Object() {giftcardRedemptionrequest})
            Return CType(results(0),GiftCardRedemptionResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub RedeemGiftCardAsync(ByVal giftcardRedemptionrequest As GiftCardRedemptionRequest)
            Me.RedeemGiftCardAsync(giftcardRedemptionrequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub RedeemGiftCardAsync(ByVal giftcardRedemptionrequest As GiftCardRedemptionRequest, ByVal userState As Object)
            If (Me.RedeemGiftCardOperationCompleted Is Nothing) Then
                Me.RedeemGiftCardOperationCompleted = AddressOf Me.OnRedeemGiftCardOperationCompleted
            End If
            Me.InvokeAsync("RedeemGiftCard", New Object() {giftcardRedemptionrequest}, Me.RedeemGiftCardOperationCompleted, userState)
        End Sub
        
        Private Sub OnRedeemGiftCardOperationCompleted(ByVal arg As Object)
            If (Not (Me.RedeemGiftCardCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent RedeemGiftCardCompleted(Me, New RedeemGiftCardCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx/GetCustomerAddr"& _ 
            "ess", RequestNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", ResponseNamespace:="http://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function GetCustomerAddress(ByVal customerAddressRequest As CustomerAddressRequest) As CustomerAddressResponse
            Dim results() As Object = Me.Invoke("GetCustomerAddress", New Object() {customerAddressRequest})
            Return CType(results(0),CustomerAddressResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub GetCustomerAddressAsync(ByVal customerAddressRequest As CustomerAddressRequest)
            Me.GetCustomerAddressAsync(customerAddressRequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub GetCustomerAddressAsync(ByVal customerAddressRequest As CustomerAddressRequest, ByVal userState As Object)
            If (Me.GetCustomerAddressOperationCompleted Is Nothing) Then
                Me.GetCustomerAddressOperationCompleted = AddressOf Me.OnGetCustomerAddressOperationCompleted
            End If
            Me.InvokeAsync("GetCustomerAddress", New Object() {customerAddressRequest}, Me.GetCustomerAddressOperationCompleted, userState)
        End Sub
        
        Private Sub OnGetCustomerAddressOperationCompleted(ByVal arg As Object)
            If (Not (Me.GetCustomerAddressCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent GetCustomerAddressCompleted(Me, New GetCustomerAddressCompletedEventArgs(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.Xml.Serialization.XmlIncludeAttribute(GetType(GiftCardRedemptionRequest)),  _
     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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CouponRedemptionRequest
        Inherits BusinessEntityBaseOfCouponRedemptionRequest
        
        Private accountIdField As String
        
        Private couponIdField As String
        
        Private cSRIDField As String
        
        Private cSRLocationField As String
        
        Private cSRRoleField As String
        
        Private cSRFirstNameField As String
        
        Private cSRLastNameField As String
        
        Private cSROverrideFlagField As Char
        
        Private cSROverrideReasonField As String
        
        Private channelTypeField As ChannelType
        
        '''<remarks/>
        Public Property AccountId() As String
            Get
                Return Me.accountIdField
            End Get
            Set
                Me.accountIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponId() As String
            Get
                Return Me.couponIdField
            End Get
            Set
                Me.couponIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRID() As String
            Get
                Return Me.cSRIDField
            End Get
            Set
                Me.cSRIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLocation() As String
            Get
                Return Me.cSRLocationField
            End Get
            Set
                Me.cSRLocationField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRRole() As String
            Get
                Return Me.cSRRoleField
            End Get
            Set
                Me.cSRRoleField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRFirstName() As String
            Get
                Return Me.cSRFirstNameField
            End Get
            Set
                Me.cSRFirstNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLastName() As String
            Get
                Return Me.cSRLastNameField
            End Get
            Set
                Me.cSRLastNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSROverrideFlag() As Char
            Get
                Return Me.cSROverrideFlagField
            End Get
            Set
                Me.cSROverrideFlagField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSROverrideReason() As String
            Get
                Return Me.cSROverrideReasonField
            End Get
            Set
                Me.cSROverrideReasonField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ChannelType() As ChannelType
            Get
                Return Me.channelTypeField
            End Get
            Set
                Me.channelTypeField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Public Enum ChannelType
        
        '''<remarks/>
        CSR
        
        '''<remarks/>
        CharterDotCom
    End Enum
    
    '''<remarks/>
    <System.Xml.Serialization.XmlIncludeAttribute(GetType(CouponRedemptionRequest)),  _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(GiftCardRedemptionRequest)),  _
     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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public MustInherit Class BusinessEntityBaseOfCouponRedemptionRequest
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class AccountAddresses
        
        Private accountNumberField As String
        
        Private serviceAddressLine1Field As String
        
        Private serviceAddressLine2Field As String
        
        Private serviceCityField As String
        
        Private serviceStateField As String
        
        Private serviceZipField As String
        
        Private billingAddressLine1Field As String
        
        Private billingAddressLine2Field As String
        
        Private billingCityField As String
        
        Private billingStateField As String
        
        Private billingZipField As String
        
        '''<remarks/>
        Public Property AccountNumber() As String
            Get
                Return Me.accountNumberField
            End Get
            Set
                Me.accountNumberField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ServiceAddressLine1() As String
            Get
                Return Me.serviceAddressLine1Field
            End Get
            Set
                Me.serviceAddressLine1Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ServiceAddressLine2() As String
            Get
                Return Me.serviceAddressLine2Field
            End Get
            Set
                Me.serviceAddressLine2Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ServiceCity() As String
            Get
                Return Me.serviceCityField
            End Get
            Set
                Me.serviceCityField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ServiceState() As String
            Get
                Return Me.serviceStateField
            End Get
            Set
                Me.serviceStateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ServiceZip() As String
            Get
                Return Me.serviceZipField
            End Get
            Set
                Me.serviceZipField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingAddressLine1() As String
            Get
                Return Me.billingAddressLine1Field
            End Get
            Set
                Me.billingAddressLine1Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingAddressLine2() As String
            Get
                Return Me.billingAddressLine2Field
            End Get
            Set
                Me.billingAddressLine2Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingCity() As String
            Get
                Return Me.billingCityField
            End Get
            Set
                Me.billingCityField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingState() As String
            Get
                Return Me.billingStateField
            End Get
            Set
                Me.billingStateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property BillingZip() As String
            Get
                Return Me.billingZipField
            End Get
            Set
                Me.billingZipField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CustomerAddressResult
        
        Private customerAddressesField As AccountAddresses
        
        '''<remarks/>
        Public Property CustomerAddresses() As AccountAddresses
            Get
                Return Me.customerAddressesField
            End Get
            Set
                Me.customerAddressesField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CustomerAddressResponse
        
        Private resultField As Result
        
        Private customerAddressResultField As CustomerAddressResult
        
        '''<remarks/>
        Public Property Result() As Result
            Get
                Return Me.resultField
            End Get
            Set
                Me.resultField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CustomerAddressResult() As CustomerAddressResult
            Get
                Return Me.customerAddressResultField
            End Get
            Set
                Me.customerAddressResultField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    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.Xml.Serialization.XmlIncludeAttribute(GetType(CustomerAddressRequest)),  _
     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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public MustInherit Class BusinessEntityBaseOfCustomerAddressRequest
    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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CustomerAddressRequest
        Inherits BusinessEntityBaseOfCustomerAddressRequest
        
        Private accountNumberField As String
        
        '''<remarks/>
        Public Property AccountNumber() As String
            Get
                Return Me.accountNumberField
            End Get
            Set
                Me.accountNumberField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class GiftCardRedemptionResult
        
        Private accountIdField As String
        
        Private couponIdField As String
        
        Private couponDescriptionField As String
        
        Private cSRIDField As String
        
        Private redemptionStatusField As Char
        
        Private adjustmentAmountField As Decimal
        
        Private redemptionDateField As Date
        
        Private confirmationNumberField As String
        
        Private confirmationMessageField As String
        
        Private validationFailureMessageField As String
        
        Private cSRLocationField As String
        
        Private cSRRoleField As String
        
        Private cSRFirstNameField As String
        
        Private cSRLastNameField As String
        
        Private redeemedEventsField() As RedeemedEvent
        
        Private address1Field As String
        
        Private address2Field As String
        
        Private cityField As String
        
        Private stateField As String
        
        Private zipcodeField As String
        
        '''<remarks/>
        Public Property AccountId() As String
            Get
                Return Me.accountIdField
            End Get
            Set
                Me.accountIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponId() As String
            Get
                Return Me.couponIdField
            End Get
            Set
                Me.couponIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponDescription() As String
            Get
                Return Me.couponDescriptionField
            End Get
            Set
                Me.couponDescriptionField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRID() As String
            Get
                Return Me.cSRIDField
            End Get
            Set
                Me.cSRIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedemptionStatus() As Char
            Get
                Return Me.redemptionStatusField
            End Get
            Set
                Me.redemptionStatusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AdjustmentAmount() As Decimal
            Get
                Return Me.adjustmentAmountField
            End Get
            Set
                Me.adjustmentAmountField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedemptionDate() As Date
            Get
                Return Me.redemptionDateField
            End Get
            Set
                Me.redemptionDateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ConfirmationNumber() As String
            Get
                Return Me.confirmationNumberField
            End Get
            Set
                Me.confirmationNumberField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ConfirmationMessage() As String
            Get
                Return Me.confirmationMessageField
            End Get
            Set
                Me.confirmationMessageField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ValidationFailureMessage() As String
            Get
                Return Me.validationFailureMessageField
            End Get
            Set
                Me.validationFailureMessageField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLocation() As String
            Get
                Return Me.cSRLocationField
            End Get
            Set
                Me.cSRLocationField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRRole() As String
            Get
                Return Me.cSRRoleField
            End Get
            Set
                Me.cSRRoleField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRFirstName() As String
            Get
                Return Me.cSRFirstNameField
            End Get
            Set
                Me.cSRFirstNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLastName() As String
            Get
                Return Me.cSRLastNameField
            End Get
            Set
                Me.cSRLastNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedeemedEvents() As RedeemedEvent()
            Get
                Return Me.redeemedEventsField
            End Get
            Set
                Me.redeemedEventsField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Address1() As String
            Get
                Return Me.address1Field
            End Get
            Set
                Me.address1Field = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property Address2() As String
            Get
                Return Me.address2Field
            End Get
            Set
                Me.address2Field = 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 Zipcode() As String
            Get
                Return Me.zipcodeField
            End Get
            Set
                Me.zipcodeField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class RedeemedEvent
        
        Private eventCodeField As String
        
        Private eventTitleField As String
        
        Private isRedeemedField As Char
        
        Private transactionDateField As Date
        
        '''<remarks/>
        Public Property EventCode() As String
            Get
                Return Me.eventCodeField
            End Get
            Set
                Me.eventCodeField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property EventTitle() As String
            Get
                Return Me.eventTitleField
            End Get
            Set
                Me.eventTitleField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property IsRedeemed() As Char
            Get
                Return Me.isRedeemedField
            End Get
            Set
                Me.isRedeemedField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property TransactionDate() As Date
            Get
                Return Me.transactionDateField
            End Get
            Set
                Me.transactionDateField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class GiftCardRedemptionResponse
        
        Private resultField As Result
        
        Private giftcardRedemptionResultField As GiftCardRedemptionResult
        
        '''<remarks/>
        Public Property Result() As Result
            Get
                Return Me.resultField
            End Get
            Set
                Me.resultField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property GiftcardRedemptionResult() As GiftCardRedemptionResult
            Get
                Return Me.giftcardRedemptionResultField
            End Get
            Set
                Me.giftcardRedemptionResultField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class GiftCardLookupResult
        
        Private accountIdField As String
        
        Private couponIdField As String
        
        Private couponOrGiftCardField As String
        
        '''<remarks/>
        Public Property AccountId() As String
            Get
                Return Me.accountIdField
            End Get
            Set
                Me.accountIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponId() As String
            Get
                Return Me.couponIdField
            End Get
            Set
                Me.couponIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponOrGiftCard() As String
            Get
                Return Me.couponOrGiftCardField
            End Get
            Set
                Me.couponOrGiftCardField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class GiftCardLookupResponse
        
        Private resultField As Result
        
        Private giftcardLookupResultField As GiftCardLookupResult
        
        '''<remarks/>
        Public Property Result() As Result
            Get
                Return Me.resultField
            End Get
            Set
                Me.resultField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property GiftcardLookupResult() As GiftCardLookupResult
            Get
                Return Me.giftcardLookupResultField
            End Get
            Set
                Me.giftcardLookupResultField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CouponRedemptionResult
        
        Private accountIdField As String
        
        Private couponIdField As String
        
        Private couponDescriptionField As String
        
        Private cSRIDField As String
        
        Private redemptionStatusField As Char
        
        Private adjustmentAmountField As Decimal
        
        Private redemptionDateField As Date
        
        Private confirmationNumberField As String
        
        Private confirmationMessageField As String
        
        Private validationFailureMessageField As String
        
        Private cSRLocationField As String
        
        Private cSRRoleField As String
        
        Private cSRFirstNameField As String
        
        Private cSRLastNameField As String
        
        Private redeemedEventsField() As RedeemedEvent
        
        '''<remarks/>
        Public Property AccountId() As String
            Get
                Return Me.accountIdField
            End Get
            Set
                Me.accountIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponId() As String
            Get
                Return Me.couponIdField
            End Get
            Set
                Me.couponIdField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponDescription() As String
            Get
                Return Me.couponDescriptionField
            End Get
            Set
                Me.couponDescriptionField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRID() As String
            Get
                Return Me.cSRIDField
            End Get
            Set
                Me.cSRIDField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedemptionStatus() As Char
            Get
                Return Me.redemptionStatusField
            End Get
            Set
                Me.redemptionStatusField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property AdjustmentAmount() As Decimal
            Get
                Return Me.adjustmentAmountField
            End Get
            Set
                Me.adjustmentAmountField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedemptionDate() As Date
            Get
                Return Me.redemptionDateField
            End Get
            Set
                Me.redemptionDateField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ConfirmationNumber() As String
            Get
                Return Me.confirmationNumberField
            End Get
            Set
                Me.confirmationNumberField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ConfirmationMessage() As String
            Get
                Return Me.confirmationMessageField
            End Get
            Set
                Me.confirmationMessageField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property ValidationFailureMessage() As String
            Get
                Return Me.validationFailureMessageField
            End Get
            Set
                Me.validationFailureMessageField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLocation() As String
            Get
                Return Me.cSRLocationField
            End Get
            Set
                Me.cSRLocationField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRRole() As String
            Get
                Return Me.cSRRoleField
            End Get
            Set
                Me.cSRRoleField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRFirstName() As String
            Get
                Return Me.cSRFirstNameField
            End Get
            Set
                Me.cSRFirstNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CSRLastName() As String
            Get
                Return Me.cSRLastNameField
            End Get
            Set
                Me.cSRLastNameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property RedeemedEvents() As RedeemedEvent()
            Get
                Return Me.redeemedEventsField
            End Get
            Set
                Me.redeemedEventsField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class CouponRedemptionResponse
        
        Private resultField As Result
        
        Private couponRedemptionResultField As CouponRedemptionResult
        
        '''<remarks/>
        Public Property Result() As Result
            Get
                Return Me.resultField
            End Get
            Set
                Me.resultField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property CouponRedemptionResult() As CouponRedemptionResult
            Get
                Return Me.couponRedemptionResultField
            End Get
            Set
                Me.couponRedemptionResultField = 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://kstlmcrad01/CouponRedemptionService/RedemptionService.asmx")>  _
    Partial Public Class GiftCardRedemptionRequest
        Inherits CouponRedemptionRequest
        
        Private addressLine1Field As String
        
        Private addressLine2Field As String
        
        Private cityField As String
        
        Private stateField As String
        
        Private zipcodeField As String
        
        '''<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 Zipcode() As String
            Get
                Return Me.zipcodeField
            End Get
            Set
                Me.zipcodeField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")>  _
    Public Delegate Sub RedeemCouponCompletedEventHandler(ByVal sender As Object, ByVal e As RedeemCouponCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class RedeemCouponCompletedEventArgs
        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 CouponRedemptionResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),CouponRedemptionResponse)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")>  _
    Public Delegate Sub GiftCardLookupCompletedEventHandler(ByVal sender As Object, ByVal e As GiftCardLookupCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class GiftCardLookupCompletedEventArgs
        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 GiftCardLookupResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),GiftCardLookupResponse)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")>  _
    Public Delegate Sub RedeemGiftCardCompletedEventHandler(ByVal sender As Object, ByVal e As RedeemGiftCardCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class RedeemGiftCardCompletedEventArgs
        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 GiftCardRedemptionResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),GiftCardRedemptionResponse)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")>  _
    Public Delegate Sub GetCustomerAddressCompletedEventHandler(ByVal sender As Object, ByVal e As GetCustomerAddressCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class GetCustomerAddressCompletedEventArgs
        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 CustomerAddressResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),CustomerAddressResponse)
            End Get
        End Property
    End Class
End Namespace
