<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://charter.com/enterprise/billing/csg/payments" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://charter.com/enterprise/billing/csg/payments" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://charter.com/enterprise/billing/csg/payments">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="AddCardPaymentRequest">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CsgHeaderInfo" type="tns:CsgHeaderInfo" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="Payment" type="tns:CardPaymentRequest" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="CsgHeaderInfo">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Region" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RoutingArea" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ConversationId" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CardPaymentRequest">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="CsgHeaderInfo" type="tns:CsgHeaderInfo" />
          <s:element minOccurs="0" maxOccurs="1" name="AccountId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Batch" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PIN" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="eCommerceIdentifier">
            <s:simpleType>
              <s:restriction base="s:string">
                <s:enumeration value="NotSpecified" />
                <s:enumeration value="Visa" />
                <s:enumeration value="Mastercard" />
              </s:restriction>
            </s:simpleType>
          </s:element>
          <s:element minOccurs="0" maxOccurs="1" name="CreditCard">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="1" maxOccurs="1" name="Type">
                  <s:simpleType>
                    <s:restriction base="s:string">
                      <s:enumeration value="NotSpecified" />
                      <s:enumeration value="Visa" />
                      <s:enumeration value="Mastercard" />
                      <s:enumeration value="Discover" />
                      <s:enumeration value="American Express" />
                    </s:restriction>
                  </s:simpleType>
                </s:element>
                <s:element minOccurs="0" maxOccurs="1" name="Number" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="SecurityCode" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="SecurityCodeOverride" type="s:boolean" />
                <s:element minOccurs="0" maxOccurs="1" name="ExpirationDate" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:sequence>
      </s:complexType>
      <s:element name="AddCardPaymentResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Result" type="tns:Result" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="Payment" type="tns:CardPaymentResponse" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Result">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="ReturnCode" type="tns:ResultReturnCode" />
          <s:element minOccurs="0" maxOccurs="1" name="ReferenceCode" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:ResultType" />
          <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="DateTime" type="s:dateTime" />
          <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Server" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ExceptionInfo" type="tns:ResultExceptionInfo" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="StatusMessages" type="tns:CsgStatusMessage" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="ResultReturnCode">
        <s:restriction base="s:string">
          <s:enumeration value="Success" />
          <s:enumeration value="NoDataFound" />
          <s:enumeration value="InvalidXml" />
          <s:enumeration value="BusinessRuleNotMet" />
          <s:enumeration value="Exception" />
          <s:enumeration value="DatabaseError" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="ResultType">
        <s:restriction base="s:string">
          <s:enumeration value="Informational" />
          <s:enumeration value="Error" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ResultExceptionInfo">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="StackTrace" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CsgStatusMessage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CardPaymentResponse">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="AccountId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Result" type="tns:MultiCallResult" />
          <s:element minOccurs="0" maxOccurs="1" name="Authorization">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="Response" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="Number" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
                <s:element minOccurs="0" maxOccurs="1" name="RejectReason" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="DebitCardIndicator" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="SecurityVerification">
                  <s:complexType>
                    <s:sequence>
                      <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
                    </s:sequence>
                  </s:complexType>
                </s:element>
                <s:element minOccurs="0" maxOccurs="1" name="AddressVerification">
                  <s:complexType>
                    <s:sequence>
                      <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
                    </s:sequence>
                  </s:complexType>
                </s:element>
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:sequence>
      </s:complexType>
      <s:complexType name="MultiCallResult">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="wasAttempted" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="ExceptionInfo" type="tns:ResultExceptionInfo" />
        </s:sequence>
      </s:complexType>
      <s:element name="CharterHeaderInfo" type="tns:CharterHeaderInfo" />
      <s:complexType name="CharterHeaderInfo">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="TranId" type="s1:guid" />
          <s:element minOccurs="1" maxOccurs="1" name="LogOnly" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="DataSourceOverride" type="tns:DataSourceOverrideType" />
        </s:sequence>
        <s:anyAttribute />
      </s:complexType>
      <s:simpleType name="DataSourceOverrideType">
        <s:restriction base="s:string">
          <s:enumeration value="NoOverride" />
          <s:enumeration value="OverrideToDatabase" />
          <s:enumeration value="OverrideToRemoteSystem" />
        </s:restriction>
      </s:simpleType>
      <s:element name="AddEFTPaymentRequest">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CsgHeaderInfo" type="tns:CsgHeaderInfo" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="Payment" type="tns:EFTPaymentRequest" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="EFTPaymentRequest">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="CsgHeaderInfo" type="tns:CsgHeaderInfo" />
          <s:element minOccurs="0" maxOccurs="1" name="AccountId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="BankAccount">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="Number" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="RoutingNumber" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="Type">
                  <s:simpleType>
                    <s:restriction base="s:string">
                      <s:enumeration value="NotSpecified" />
                      <s:enumeration value="Checking" />
                      <s:enumeration value="Savings" />
                    </s:restriction>
                  </s:simpleType>
                </s:element>
                <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
                <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:sequence>
      </s:complexType>
      <s:element name="AddEFTPaymentResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Result" type="tns:Result" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="Payment" type="tns:EFTPaymentResponse" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="EFTPaymentResponse">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="AccountId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Batch" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="BatchDetailNumber" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Result" type="tns:MultiCallResult" />
        </s:sequence>
      </s:complexType>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="AddCardPaymentSoapIn">
    <wsdl:part name="addCardPaymentRequest" element="tns:AddCardPaymentRequest" />
  </wsdl:message>
  <wsdl:message name="AddCardPaymentSoapOut">
    <wsdl:part name="AddCardPaymentResult" element="tns:AddCardPaymentResponse" />
  </wsdl:message>
  <wsdl:message name="AddCardPaymentCharterHeaderInfo">
    <wsdl:part name="CharterHeaderInfo" element="tns:CharterHeaderInfo" />
  </wsdl:message>
  <wsdl:message name="AddEFTPaymentSoapIn">
    <wsdl:part name="addEFTPaymentRequest" element="tns:AddEFTPaymentRequest" />
  </wsdl:message>
  <wsdl:message name="AddEFTPaymentSoapOut">
    <wsdl:part name="AddEFTPaymentResult" element="tns:AddEFTPaymentResponse" />
  </wsdl:message>
  <wsdl:message name="AddEFTPaymentCharterHeaderInfo">
    <wsdl:part name="CharterHeaderInfo" element="tns:CharterHeaderInfo" />
  </wsdl:message>
  <wsdl:portType name="PaymentService">
    <wsdl:operation name="AddCardPayment">
      <wsdl:input message="tns:AddCardPaymentSoapIn" />
      <wsdl:output message="tns:AddCardPaymentSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="AddEFTPayment">
      <wsdl:input message="tns:AddEFTPaymentSoapIn" />
      <wsdl:output message="tns:AddEFTPaymentSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PaymentService" type="tns:PaymentService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="AddCardPayment">
      <soap:operation soapAction="http://charter.com/enterprise/billing/csg/payments:addCardPaymentIn" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:AddCardPaymentCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddEFTPayment">
      <soap:operation soapAction="http://charter.com/enterprise/billing/csg/payments:addEFTPaymentIn" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:AddEFTPaymentCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PaymentService1" type="tns:PaymentService">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="AddCardPayment">
      <soap12:operation soapAction="http://charter.com/enterprise/billing/csg/payments:addCardPaymentIn" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:AddCardPaymentCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddEFTPayment">
      <soap12:operation soapAction="http://charter.com/enterprise/billing/csg/payments:addEFTPaymentIn" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:AddEFTPaymentCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PaymentServicePort">
    <wsdl:port name="PaymentService" binding="tns:PaymentService">
      <soap:address location="http://ebs-test.corp.chartercom.com/csg/2.03/paymentservice.asmx" />
    </wsdl:port>
    <wsdl:port name="PaymentService1" binding="tns:PaymentService1">
      <soap12:address location="http://ebs-test.corp.chartercom.com/csg/2.03/paymentservice.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>