'Namespace G2BServicesProviderVB
Class Constant
    Public Const COMMERCEENGINE_CONNECTIONSTRING As String = "Charter.Website.WS.CommerceEngineConnectionString"

#Region "Stored Procedures"
    Public Const STOREDPROC_CREATE_ADDRESS As String = "ORDER.CREATE_ADDRESS"
    Public Const STOREDPROC_CREATE_CREDITCARD As String = "ORDER.CREATE_CREDITCARD"
    Public Const STOREDPROC_CREATE_CUSTOMIZATION As String = "ORDER.CREATE_CUSTOMIZATION"
    Public Const STOREDPROC_CREATE_DISCOUNT As String = "ORDER.CREATE_DISCOUNT"
    Public Const STOREDPROC_CREATE_ITEM As String = "ORDER.CREATE_ITEM"
    Public Const STOREDPROC_CREATE_OFFERORDER As String = "ORDER.CREATE_OFFERORDER"
    Public Const STOREDPROC_CREATE_ORDER As String = "ORDER.CREATE_ORDER"
    Public Const STOREDPROC_GETMULTIPLE_CONTENT As String = "CONTENT.GetMultipleContent"
#End Region

#Region "CONFIGURATION"
    Public Const CONFIG_PROVIDERDATA As String = "providerData"
    Public Const CONFIG_AUTHENTICATIONREQUIRED As String = "authenticationRequired"
    Public Const CONFIG_USER As String = "user"
    Public Const CONFIG_PASSWORD As String = "password"
    Public Const CONFIG_BASIC As String = "Basic"
    Public Const CONFIG_CANCELORDERWEBSERVICE As String = "CANCELORDERWEBSERVICE"
    Public Const CONFIG_SUBMITORDERWEBSERVICE As String = "SUBMITORDERWEBSERVICE"
    Public Const CONFIG_SCHEDULEINSTALLWEBSERVICE As String = "SCHEDULEINSTALLWEBSERVICE"
    Public Const CONFIG_QUERYOFFERSWEBSERVICE As String = "QUERYOFFERSWEBSERVICE"
#End Region

#Region "Affliate"
    Public Const AFFLIATE_ID As Integer = 118700
    Public Const AFFILIATE_NAME As String = "CHARTER"
    ' 10/2007 jwg changed for G2B 4.1
    Public Const AFFLIATE_G2BVERSION As Decimal = 4.1D
    Public Const LANGUAGE As String = "en-us"
    Public Const PHONE As String = "" '"3036619100"
#End Region
#Region "URI"
    'public const string URI_SUBMITORDER = "http://www.mso.go2broadband.com/SubmitOrder/SubmitOrder.asmx?wsdl"; 
    'public const string URI_CANCELORDER = "http://www.mso.go2broadband.com/CancelOrder/CancelOrder.asmx?wsdl"; 
    'public const string URI_QUERYOFFERS = "http://www.mso.go2broadband.com/QueryOffers/QueryOffers.asmx?WSDL"; 
    'public const string URI_SCHEDULEINSTALL = "http://www.mso.go2broadband.com/ScheduleInstall/ScheduleInstall.asmx?WSDL"; 
#End Region
#Region "Exceptions"
    Public Const EXCEPTION_CONFIGURATION As String = "Incorrect coniguration of G2BOrder Provider"
    Public Const EXCEPTION_NO_RESULT As String = "Web service did not return any result"
    '9/2007 jwg added.  These are the full-text code messages, corresponding to the
    ' codes listed in the next section.  The Error Provider will use these as defaults
    ' if nothing exists in the Error message database.
    Public Const EXCEPTION_NO_RESULT_SUBMITORDER As String = "SubmitOrder Web service did not return any result"
    Public Const EXCEPTION_NO_RESULT_QUERYOFFERS As String = "QueryOffers Web service did not return any result"
    Public Const EXCEPTION_NO_RESULT_QUERYOFFERSRESUBMIT As String = "QueryOffersResubmit Web service did not return any result"
    Public Const EXCEPTION_NO_RESULT_CANCELORDER As String = "CancelOrder Web service did not return any result"
    Public Const EXCEPTION_NO_RESULT_SCHEDULEINSTALL As String = "ScheduleInstall Web service did not return any result"
    Public Const EXCEPTION_NO_RESULT_AUTHENTICATE As String = "Authenticate Web service did not return any result"

    Public Const EXCEPTION_INVALID_INPUT As String = "Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_SUBMITORDER As String = "SubmitOrder message received Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_CANCELORDER As String = "CancelOrder message received Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_SCHEDULEINSTALL As String = "ScheduleInstall message received Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_QUERYOFFERS As String = "QueryOffers message received Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_QUERYOFFERSRESUBMIT As String = "QueryOffersResubmit message received Invalid Input"
    Public Const EXCEPTION_INVALID_INPUT_AUTHENTICATE As String = "Authenticate message received Invalid Input"

    Public Const EXCEPTION_INVALID_Request As String = "Invalid Request"
    Public Const EXCEPTION_INVALID_Request_SUBMITORDER As String = "SubmitOrder message received Invalid or missing Request"
    Public Const EXCEPTION_INVALID_Request_CANCELORDER As String = "CancelOrder message received Invalid or missing Request"
    Public Const EXCEPTION_INVALID_Request_SCHEDULEINSTALL As String = "ScheduleInstall message received Invalid or missing Request"
    Public Const EXCEPTION_INVALID_Request_QUERYOFFERS As String = "QueryOffers message received Invalid or missing Request"
    Public Const EXCEPTION_INVALID_Request_QUERYOFFERSRESUBMIT As String = "QueryOffersResubmit message received Invalid or missing Request"
    Public Const EXCEPTION_INVALID_Request_AUTHENTICATE As String = "Authenticate message received Invalid or missing Request"

    Public Const EXCEPTION_INVALID_RESPONSE As String = "Invalid Response"
    Public Const EXCEPTION_INVALID_RESPONSE_SUBMITORDER As String = "SubmitOrder message received Invalid or missing Response"
    Public Const EXCEPTION_INVALID_RESPONSE_CANCELORDER As String = "CancelOrder message received Invalid or missing Response"
    Public Const EXCEPTION_INVALID_RESPONSE_SCHEDULEINSTALL As String = "ScheduleInstall message received Invalid or missing Response"
    Public Const EXCEPTION_INVALID_RESPONSE_QUERYOFFERS As String = "QueryOffers message received Invalid or missing Response"
    Public Const EXCEPTION_INVALID_RESPONSE_QUERYOFFERSRESUBMIT As String = "QueryOffersResubmit message received Invalid or missing Response"
    Public Const EXCEPTION_INVALID_RESPONSE_AUTHENTICATE As String = "Authenticate message received Invalid or missing Response"

    Public Const EXCEPTION_CHOOSEOPTIONS As String = "Choose Options"
    Public Const EXCEPTION_BUILDYOUROWN As String = "Build Your Own"
    Public Const EXCEPTION_SHOWPRICE As String = "Show Price List"

    Public Const EXCEPTION_SERVICEPLAN_NOTFOUND As String = "Service Plan in Bundle does not exist in the collection of Service Plans. OfferID = "
    Public Const EXCEPTION_PROMOTION_NOTFOUND As String = "The promotion is not found"

    '9/2007 jwg added
    ' These are the code numbers sent to the error mapping provider to look up
    ' Charter-Friendly error messages for displaying back to the customer.  These
    ' numbers are keys to the table to look up the message.
    Public Const EXCEPTION_NO_RESULT_SUBMITORDER_CODE As String = "5000"
    Public Const EXCEPTION_NO_RESULT_QUERYOFFERS_CODE As String = "5001"
    Public Const EXCEPTION_NO_RESULT_QUERYOFFERSRESUBMIT_CODE As String = "5002"
    Public Const EXCEPTION_NO_RESULT_CANCELORDER_CODE As String = "5003"
    Public Const EXCEPTION_NO_RESULT_SCHEDULEINSTALL_CODE As String = "5004"
    Public Const EXCEPTION_NO_RESULT_AUTHENTICATE_CODE As String = "5005"

    Public Const EXCEPTION_INVALID_INPUT_CODE As String = "5006"
    Public Const EXCEPTION_INVALID_INPUT_SUBMITORDER_CODE As String = "5007"
    Public Const EXCEPTION_INVALID_INPUT_CANCELORDER_CODE As String = "5008"
    Public Const EXCEPTION_INVALID_INPUT_SCHEDULEINSTALL_CODE As String = "5009"
    Public Const EXCEPTION_INVALID_INPUT_QUERYOFFERS_CODE As String = "5010"

    Public Const EXCEPTION_INVALID_INPUT_QUERYOFFERSRESUBMIT_CODE As String = "5011"
    Public Const EXCEPTION_INVALID_INPUT_AUTHENTICATE_CODE As String = "5012"
    Public Const EXCEPTION_INVALID_Request_CODE As String = "5013"
    Public Const EXCEPTION_INVALID_Request_SUBMITORDER_CODE As String = "5014"
    Public Const EXCEPTION_INVALID_Request_CANCELORDER_CODE As String = "5015"

    Public Const EXCEPTION_INVALID_Request_SCHEDULEINSTALL_CODE As String = "5016"
    Public Const EXCEPTION_INVALID_Request_QUERYOFFERS_CODE As String = "5017"
    Public Const EXCEPTION_INVALID_Request_QUERYOFFERSRESUBMIT_CODE As String = "5018"
    Public Const EXCEPTION_INVALID_Request_AUTHENTICATE_CODE As String = "5019"
    Public Const EXCEPTION_INVALID_RESPONSE_CODE As String = "5020"

    Public Const EXCEPTION_INVALID_RESPONSE_SUBMITORDER_CODE As String = "5021"
    Public Const EXCEPTION_INVALID_RESPONSE_CANCELORDER_CODE As String = "5022"
    Public Const EXCEPTION_INVALID_RESPONSE_SCHEDULEINSTALL_CODE As String = "5023"
    Public Const EXCEPTION_INVALID_RESPONSE_QUERYOFFERS_CODE As String = "5024"
    Public Const EXCEPTION_INVALID_RESPONSE_QUERYOFFERSRESUBMIT_CODE As String = "5025"

    Public Const EXCEPTION_INVALID_RESPONSE_AUTHENTICATE_CODE As String = "5026"

    Public Const EXCEPTION_CHOOSEOPTIONS_CODE As String = "5027"
    Public Const EXCEPTION_BUILDYOUROWN_CODE As String = "5028"
    Public Const EXCEPTION_SHOWPRICE_CODE As String = "5029"
    Public Const EXCEPTION_SERVICEPLAN_NOTFOUND_CODE As String = "5030"
    Public Const EXCEPTION_PROMOTION_NOTFOUND_CODE As String = "5031"

#End Region
#Region "General"
    Public Const RESPONSE_SUCCESS As String = "SUCCESS"
#End Region

    Public Const G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE_AUTHENTICATIONREQUIRED As String = "G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE.AUTHENTICATIONREQUIRED"
    Public Const G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE_PASSWORD As String = "G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE.PASSWORD"
    Public Const G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE_URL As String = "G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE.URL"
    Public Const G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE_USER As String = "G2BSERVICESPROVIDER_CANCELORDERWEBSERVICE.USER"
    Public Const G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE_AUTHENTICATIONREQUIRED As String = "G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE.AUTHENTICATIONREQUIRED"
    Public Const G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE_PASSWORD As String = "G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE.PASSWORD"
    Public Const G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE_URL As String = "G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE.URL"
    Public Const G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE_USER As String = "G2BSERVICESPROVIDER_QUERYOFFERSWEBSERVICE.USER"
    Public Const G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE_AUTHENTICATIONREQUIRED As String = "G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE.AUTHENTICATIONREQUIRED"
    Public Const G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE_PASSWORD As String = "G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE.PASSWORD"
    Public Const G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE_URL As String = "G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE.URL"
    Public Const G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE_USER As String = "G2BSERVICESPROVIDER_SCHEDULEINSTALLWEBSERVICE.USER"
    Public Const G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE_AUTHENTICATIONREQUIRED As String = "G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE.AUTHENTICATIONREQUIRED"
    Public Const G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE_PASSWORD As String = "G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE.PASSWORD"
    Public Const G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE_URL As String = "G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE.URL"
    Public Const G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE_USER As String = "G2BSERVICESPROVIDER_SUBMITORDERWEBSERVICE.USER"

    ' 8/2007 jwg added for G2B 4.1 
    Public Const G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE_URL As String = "G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE.URL"
    Public Const G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE_USER As String = "G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE.USER"
    Public Const G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE_AUTHENTICATIONREQUIRED As String = "G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE.AUTHENTICATIONREQUIRED"
    Public Const G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE_PASSWORD As String = "G2BSERVICESPROVIDER_AUTHENTICATEWEBSERVICE.PASSWORD"


End Class
'End Namespace