<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Eugene (Home) -->
<xs:schema xmlns="http://www.ibillingclient.org/schema/edi" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ibillingclient.org/schema/edi" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<xs:element name="request">
		<xs:annotation>
			<xs:documentation>Root element for client requests</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element name="findCustomerAccount" type="QueryCustomerAccount">
					<xs:annotation>
						<xs:documentation>Represents request for search of CustomerAccounts</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="findPaymentOption" type="QueryPaymentOption">
					<xs:annotation>
						<xs:documentation>Represents request for search of PaymentOptions</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="findPaymentPlan" type="QueryPaymentOption">
					<xs:annotation>
						<xs:documentation>Represents request for search of PaymentPlans</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="findAccountTransaction" type="QueryAccountTransaction">
					<xs:annotation>
						<xs:documentation>Represents request for search of AccountTransactions (Asset or Revenue)</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="customerAccount" type="CustomerAccount">
					<xs:annotation>
						<xs:documentation>Presence of this element implies save operation (of the defined CustomerAccount)</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="required">
				<xs:annotation>
					<xs:documentation>Intrannuity assigned Merchant Code (value divisible by 1000)</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="password" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>Password assigned to the merchant's account</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="response">
		<xs:annotation>
			<xs:documentation>Root element for server responses</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice minOccurs="0">
				<xs:annotation>
					<xs:documentation>In case of find operations, if nothing is found, the response object will be empty</xs:documentation>
				</xs:annotation>
				<xs:element name="customerAccount" type="CustomerAccount" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>In case of save operation, represents the server representation of the persisted object. In case of find request, represents (multiple occurences possible) all objects that matched the criteria</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="paymentOption" type="PaymentOption" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Represents (multiple occurences possible) all objects that matched the search criteria</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="paymentPlan" type="PaymentPlan" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Represents (multiple occurences possible) all objects that matched the search criteria</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice maxOccurs="unbounded">
					<xs:element name="assetTransaction" type="AssetTransaction">
						<xs:annotation>
							<xs:documentation>Represents (multiple occurences possible) all objects that matched the search criteria</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="revenueTransaction" type="RevenueTransaction">
						<xs:annotation>
							<xs:documentation>Represents (multiple occurences possible) all objects that matched the search criteria</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="exception" type="xs:string">
		<xs:annotation>
			<xs:documentation>Root element for server responses when server-side error occurs</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:simpleType name="MerchantAccountCode">
		<xs:annotation>
			<xs:documentation>Represents merchant account code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:int"/>
	</xs:simpleType>
	<xs:simpleType name="Date">
		<xs:annotation>
			<xs:documentation>Reresents a date, the format is yyyymmdd</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:date">
			<xs:pattern value="\d\d\d\d\d\d\d\d"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="AccountActivity" abstract="true">
		<xs:annotation>
			<xs:documentation>Abstract class for objects that represent CustomerAccount relatedfinancial activity. For example, invoice, payment, paper statement are all types of AccountActivity</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="accountActivityType" type="AccountActivityType" use="optional">
					<xs:annotation>
						<xs:documentation>accountActivityType: Type of activity, e.g. invoice, payment</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="customerAccount" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>customerAccount: Reference to the CustomerAccount affected by this activity.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="AccountActivityType">
		<xs:annotation>
			<xs:documentation>Enumerates possible types of AccountActivity.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="RI">
				<xs:annotation>
					<xs:documentation>Invoice: Request for payment from CustomerAccount.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RC">
				<xs:annotation>
					<xs:documentation>Credit: Reversal (usually partial) of an existing invoice.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RR">
				<xs:annotation>
					<xs:documentation>Reversal: Full reversal of an existing invoice.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RF">
				<xs:annotation>
					<xs:documentation>Fee: Request for payment of a Fee (usually due to billing Decline).</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AP">
				<xs:annotation>
					<xs:documentation>Payment: Payment from the party represented by a CustomerAccount.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AV">
				<xs:annotation>
					<xs:documentation>Void: Full reversal of an existing payment.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AR">
				<xs:annotation>
					<xs:documentation>Refund: Reversal (usually partial) of an existing payment.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AC">
				<xs:annotation>
					<xs:documentation>Claim: Request for payment generated by Invoicing process Should not be used increation of new object (reserved for server).</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AD">
				<xs:annotation>
					<xs:documentation>Decline: Reversal of payment due to decline (CC or ACH).</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AG">
				<xs:annotation>
					<xs:documentation>Chargeback: Reversal of payment due to chargeback (CC or late ACH).</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="S">
				<xs:annotation>
					<xs:documentation>Statement: Represents paper statement generate as a request for payment.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="AccountTransaction" abstract="true">
		<xs:annotation>
			<xs:documentation>
				<p>Represents financial transaction posted to CustomerAccount. All financialtransaction have fixed amount, carry balance and affect CustomerAccount'soverall balance. Examples of AccountTransaction are payment, invoice, credit,refund.</p>
				<p>Invoice, Void and Refund - increase CustomerAccount balance<br/>Payment, Credit and Reversal - decrease CustomerAccount balance</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="AccountActivity">
				<xs:attribute name="amount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>amount: Initial (fixed) amount of the transaction.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="balance" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>balance: Current balance of the transaction.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="note" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>note: Optional text note (description).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="creatorCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>creatorCode: Optional free-hand code, can be used to identify creator of thetransaction (usually in external client system).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="sellerCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>sellerCode: Optional free-hand code, can be used to identify seller associated withthe transaction (usually in external client system).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="shiftCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>shiftCode: Optional free-hand code, can be used to identify POS shift that generatedthis transaction (usually in external client system).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="terminalCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>terminalCode: Optional free-hand code, can be used to identify POS terminal thatgenerated this transaction (usually in external client system).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="taxAmount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>taxAmount: Amount of the tax (part of amount).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="dueDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>dueDate: Date when the transaction becomes effective (applied to CustomerAccount).Before the due date, iBilling's balancing process will not apply anybalance on the transaction</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="adjustmentTransaction" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>adjustmentTransaction: Reference to a transaction that reversed this transaction. Normally,Invoice or Fee can be reversed with Reversal, Payment or Claim with Voidor Decline</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="Adjustment">
		<xs:annotation>
			<xs:documentation>Represents a change made to a PaymentPlan. Adjustment captures the reasonbehind the changes.<p/>The following changes are possible:<ul>
					<li>Amount - changes billing amount of the plan</li>
					<li>PaymentOption - changes payment option used for electronic billing</li>
					<li>BillingCycle - changes date when invoices are generated</li>
					<li>Cancellation - cancels some or all charges within a plan</li>
					<li>Add - adds new billing charges to a plan</li>
					<li>Freeze - adds new freeze (skip-billing) charges to a plan</li>
				</ul>
			</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="notes" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>notes: Textual description of the adjustment reasons.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="adjustmentReasonCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>adjustmentReasonCode: Predefined code explaining the reason for the changes.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="customerAccount" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>customerAccount: Reference to CustomerAccount that owns the plans affected by the change.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="AssetTransaction">
		<xs:annotation>
			<xs:documentation>A type of AccountTransaction that represents movement of money (assets) onthe account. Payment, Void and Refund are main examples of AssetTransaction.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="AccountTransaction">
				<xs:sequence>
					<xs:element name="captureInfo" type="CaptureInfo" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Store transaction processing information for CC/EFT transactions</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
				<xs:attribute name="transactionType" type="AssetTransactionType" use="optional">
					<xs:annotation>
						<xs:documentation>transactionType: Type of AssetTransaction, e.g. Cash, Visa, Checking</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="isPrepayment" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isPrepayment: If true, this transaction was created as a prepayment against charge(future invoice).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="accountNumber" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>accountNumber: For credit card related transactions - number on the card <br/> For bankaccount related transactions - number of the account<br/> For checkrelated transactions - check number<br/> Not used otherwise.<br/>
						</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="accessory" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>accessory: For credit card related transactions - expiration date - MMyy <br/> Forbank account related transactions - routing number <br/> Not usedotherwise.<br/>
						</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="maskedAccountNumber" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>maskedAccountNumber: For credit card related transactions - masked number on the card e.g.5******3452 <br/> For bank account related transactions - masked numberof the account e.g. C******4435<br/> For check related transactions -check number<br/> Not used otherwise.<br/>
						</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="maskedAccessory" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>maskedAccessory: For credit card related transactions - expiration date - MMyy <br/> Forbank account related transactions - masked routing number e.g. ***6675<br/>Not used otherwise.<br/>
						</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="captureInfo" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>captureInfo: Reference to the object representing processing related info. Onlyavailable when transaction is of electronic type (credit card or ACH)</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="AssetTransactionType">
		<xs:annotation>
			<xs:documentation>Defines possible sources of money for an AssetTransaction.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="K">
				<xs:annotation>
					<xs:documentation>Cash: Cash.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="H">
				<xs:annotation>
					<xs:documentation>Check: Check.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="L">
				<xs:annotation>
					<xs:documentation>Allowance: Discount (waiver).</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="CaptureInfo">
		<xs:annotation>
			<xs:documentation>Represents electronic processor related info. Used for credit card and ACHprocessing transactions.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="requestDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>requestDate: Date when the request was sent to processor.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="responseDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>responseDate: Date when the response from the processor was received.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="holderName" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>holderName: Name on the credit card or bank account's holder's name.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="taxAmount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>taxAmount: Tax amount if available (part of total amount).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street: Street of the billing address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="city" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>city: City of the billing address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="state" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>state: State (two-letter code) of the billing address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="phone" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>phone: Phone of the billing address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="zipCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>zipCode: ZipCode of the billing address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="email" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>email: E-mail associated with holder of the card/bank account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="returnType" type="ReturnType" use="optional">
					<xs:annotation>
						<xs:documentation>returnType: Code defining response type generated by the processor.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="approvalCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>approvalCode: Approval reference code generated by the processor in case of successfulauthorization (credit card only).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="referenceNumber" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>referenceNumber: Reference number of the transaction represented by this CaptureInfo inthe processor's system (used to issue same-day voids).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="accountNumber" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>accountNumber: Credit card number if credit card; bank account number if bank account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="accessory" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>accessory: Expiration date (MMyy) if credit card; routing number if bank account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="transactionType" type="AssetTransactionType" use="optional">
					<xs:annotation>
						<xs:documentation>transactionType: Type of the transaction.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="cvv2" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>cvv2: Security code on the back of a credit card (credit card only).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="trackData" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>trackData: Copy of the data from credit card's magnetic tape (credit card only).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="Charge">
		<xs:annotation>
			<xs:documentation>Represents a future invoice within a PaymentPlan. Each time when billing isprocessed (Invoicing processing is executed) a charge is processed. Fixed andPerpetual charges are converted into invoices. Complimentary charges areconverted into invoices that are immediately balanced out with allowances.Freezes and Deferment produce no invoices.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="processedDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>processedDate: Date when the charge was processed by the invoicing process.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="isPrepaid" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isPrepaid: If true, payment was taken against this charge. This doesn't guaranteethat the invoice created from this charge will be automatically paid</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="type" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>type: TYpe of charge.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="index" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>index: Sequential number of the charge within PaymentPlan. 0 indicates that thecharge will be processed in the next billing process, 1 - the one afterthe next and so on</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="paymentPlan" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>paymentPlan: Reference to the PaymentPlan holding the charges.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="ChargeType">
		<xs:annotation>
			<xs:documentation>Enumerates possible types of Charges.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="D">
				<xs:annotation>
					<xs:documentation>Deferred: No invoice is generated when invoicing is run; unlike freeze, can only beused before any invoice is generated from the plan. Usually used to delaybilling after the initial sale</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R">
				<xs:annotation>
					<xs:documentation>Freeze: No invoice is generated when invoicing is run, skip-billing.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ClaimType">
		<xs:annotation>
			<xs:documentation>The Interface ClaimType.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="T">
				<xs:annotation>
					<xs:documentation>Statement: The Statement.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="P">
				<xs:annotation>
					<xs:documentation>Prepayment: The Prepayment.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="E">
				<xs:annotation>
					<xs:documentation>Decline: The Decline.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="O">
				<xs:annotation>
					<xs:documentation>Complimentary: The Complimentary.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="ClientObject" abstract="true">
		<xs:annotation>
			<xs:documentation>Base class for all classes representing business entities within the library.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="id" type="xs:ID" use="required">
			<xs:annotation>
				<xs:documentation>id: System generated identifier.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="createDate" type="Date" use="optional">
			<xs:annotation>
				<xs:documentation>createDate: Date the transaction was created.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="code" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation>code: User assigned identifier. (if not specified, id is used)</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="required">
			<xs:annotation>
				<xs:documentation>merchantAccountCode: Merchant account code.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="CustomerAccount">
		<xs:annotation>
			<xs:documentation>Represents a party (person or organization) making/responsible for invoicing,payments, plans in the system.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="firstName" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>firstName: If person - first name, not used otherwise.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="lastName" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>lastName: If person - last name, if organization - organization's name.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="middleName" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>middleName: If person - middle name, not used otherwise.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="title" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>title: If person - title, not used otherwise.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="suffix" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>suffix: If person - suffix, not used otherwise.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="type" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>type: Type of the account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="isActive" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isActive: If false, account has no active payment option or payment plans.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="homePhone" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>homePhone: Home phone number.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="workPhone" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>workPhone: Work phone number/contact number if organization.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="cellPhone" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>cellPhone: Cell phone number.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="email" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>email: Contact e-mail.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street1" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street1: Street1 of the address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street2" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street2: Street2 of the address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="city" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>city: City of the address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="state" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>state: State of the address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="zipCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>zipCode: Zip code of the address.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="balance" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>balance: Current balance on the account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="beneficiaryInfo" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>beneficiaryInfo: Buyer's information (if somebody else is responsible for payments).Contains full name and contact info</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="customerAccountGroupCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>customerAccountGroupCode: Predefined classification code for this account (to simplifysearching/reporting).</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="isVerified" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isVerified: Not Used. Reserved for future use.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="notes" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>notes: Any notes associated with the account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="lastUpdateDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>lastUpdateDate: Last time the account was updated.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="birthDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>birthDate: If person - date of birth, not used otherwise.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="CustomerAccountType">
		<xs:annotation>
			<xs:documentation>Enumerates possible CustomerAccount types.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="M">
				<xs:annotation>
					<xs:documentation>Male: Male.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="F">
				<xs:annotation>
					<xs:documentation>Female: Female.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="O">
				<xs:annotation>
					<xs:documentation>Organization: Organization.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="PaymentOption">
		<xs:annotation>
			<xs:documentation>The Class PaymentOption.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:attribute name="isActive" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isActive: The is active.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="holderName" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>holderName: The holder name.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="number" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>number: The number.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="accessory" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>accessory: The accessory.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street1" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street1: The street1.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street2" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street2: The street2.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="city" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>city: The city.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="state" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>state: The state.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="zipCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>zipCode: The zip code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="type" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>type: The type.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="lastUpdateDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>lastUpdateDate: The last update date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="issue" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>issue: The issue.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="cvv2" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>cvv2: The cvv2.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="maskedNumber" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>maskedNumber: The masked number.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="maskedAccessory" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>maskedAccessory: The masked accessory.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="customerAccount" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>customerAccount: The customer account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="PaymentOptionType">
		<xs:annotation>
			<xs:documentation>The Interface PaymentOptionType.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="A">
				<xs:annotation>
					<xs:documentation>Amex: The Amex.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C">
				<xs:annotation>
					<xs:documentation>Checking: The Checking.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D">
				<xs:annotation>
					<xs:documentation>Discover: The Discover.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="S">
				<xs:annotation>
					<xs:documentation>Savings: The Savings.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="V">
				<xs:annotation>
					<xs:documentation>Visa: The Visa.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="M">
				<xs:annotation>
					<xs:documentation>MasterCard: The Master card.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="PaymentPlan">
		<xs:annotation>
			<xs:documentation>The Class PaymentPlan.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ClientObject">
				<xs:sequence>
					<xs:element name="adjustment" type="Adjustment" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Adjustment explaining reasons behind payment plan changes</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="charge" type="Charge" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation>Represents a single charge within a payment plan</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
				<xs:attribute name="lastInvocingDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>lastInvocingDate: The last invocing date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="lastProcessingDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>lastProcessingDate: The last processing date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="sellerCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>sellerCode: The seller code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="length" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>length: The length.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="value" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>value: The value.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="deferredLength" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>deferredLength: The deferred length.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="deferredValue" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>deferredValue: The deferred value.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="amount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>amount: The amount.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode1" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode1: The group code1.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode2" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode2: The group code2.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode3" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode3: The group code3.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode4" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode4: The group code4.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode5" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode5: The group code5.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode6" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode6: The group code6.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode7" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode7: The group code7.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="groupCode8" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>groupCode8: The group code8.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="type" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>type: The type.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="firstBillingDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>firstBillingDate: The first billing date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="nextBillingDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>nextBillingDate: The next billing date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="billingCycleCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>billingCycleCode: The billing cycle code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="itemCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>itemCode: The item code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="taxCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>taxCode: The tax code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="lastUpdateDate" type="Date" use="optional">
					<xs:annotation>
						<xs:documentation>lastUpdateDate: The last update date.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="status" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>status: The status.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="linkAccount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>linkAccount: The link account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="paymentOption" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>paymentOption: The payment option.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="customerAccount" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>customerAccount: The customer account.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="linkParentPlan" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>linkParentPlan: The link parent plan.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="PaymentPlanStatus">
		<xs:annotation>
			<xs:documentation>Enumerates possible payment plans statuses</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="D">
				<xs:annotation>
					<xs:documentation>Deferred: The plan has been processed at least once, but was never billedNo invoices were ever generated for this plan</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C">
				<xs:annotation>
					<xs:documentation>Current: The plan has been processed and invoiced in last billing</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="F">
				<xs:annotation>
					<xs:documentation>Freeze: The plan has been processed in last billing and had Freeze charge.No invoice was generated in last billing process.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="N">
				<xs:annotation>
					<xs:documentation>Cancelled: The plan has been cancelled. The plan contains no charges.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="E">
				<xs:annotation>
					<xs:documentation>Expired: The plan has expired. The plan contains no more charges.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="U">
				<xs:annotation>
					<xs:documentation>Unbilled: The plan has neve been processed and was probably recently created.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PaymentPlanType">
		<xs:annotation>
			<xs:documentation>Ennumerates possible PaymentPlan types</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="F">
				<xs:annotation>
					<xs:documentation>Fixed: The plan has fixed (defined) length and will expire after all chargesin the plan are processed</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="P">
				<xs:annotation>
					<xs:documentation>Perpetual: The plan has no (defined) length and will be generating invoicesuntil explicitly cancelled</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C">
				<xs:annotation>
					<xs:documentation>Complimentary: The plan is a perpetual plan, however, every generated invoice will beautomatically waived by issuing adjustment (AssetTransaction) against it</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReturnType">
		<xs:annotation>
			<xs:documentation>Ennumerates possible return codes.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="C01">
				<xs:annotation>
					<xs:documentation>C01: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C02">
				<xs:annotation>
					<xs:documentation>C02: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C03">
				<xs:annotation>
					<xs:documentation>C03: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C04">
				<xs:annotation>
					<xs:documentation>C04: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C05">
				<xs:annotation>
					<xs:documentation>C05: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C06">
				<xs:annotation>
					<xs:documentation>C06: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C07">
				<xs:annotation>
					<xs:documentation>C07: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C08">
				<xs:annotation>
					<xs:documentation>C08: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C09">
				<xs:annotation>
					<xs:documentation>C09: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C10">
				<xs:annotation>
					<xs:documentation>C10: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C11">
				<xs:annotation>
					<xs:documentation>C11: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C12">
				<xs:annotation>
					<xs:documentation>C12: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C13">
				<xs:annotation>
					<xs:documentation>C13: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C61">
				<xs:annotation>
					<xs:documentation>C61: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C62">
				<xs:annotation>
					<xs:documentation>C62: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C63">
				<xs:annotation>
					<xs:documentation>C63: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C64">
				<xs:annotation>
					<xs:documentation>C64: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C65">
				<xs:annotation>
					<xs:documentation>C65: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C66">
				<xs:annotation>
					<xs:documentation>C66: Soft Decline.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C67">
				<xs:annotation>
					<xs:documentation>C67: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C68">
				<xs:annotation>
					<xs:documentation>C68: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C69">
				<xs:annotation>
					<xs:documentation>C69: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R01">
				<xs:annotation>
					<xs:documentation>R01: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R02">
				<xs:annotation>
					<xs:documentation>R02: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R03">
				<xs:annotation>
					<xs:documentation>R03: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R04">
				<xs:annotation>
					<xs:documentation>R04: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R06">
				<xs:annotation>
					<xs:documentation>R06: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R07">
				<xs:annotation>
					<xs:documentation>R07: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R08">
				<xs:annotation>
					<xs:documentation>R08: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R09">
				<xs:annotation>
					<xs:documentation>R09: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R10">
				<xs:annotation>
					<xs:documentation>R10: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R11">
				<xs:annotation>
					<xs:documentation>R11: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R12">
				<xs:annotation>
					<xs:documentation>R12: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R13">
				<xs:annotation>
					<xs:documentation>R13: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R14">
				<xs:annotation>
					<xs:documentation>R14: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R15">
				<xs:annotation>
					<xs:documentation>R15: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R16">
				<xs:annotation>
					<xs:documentation>R16: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R17">
				<xs:annotation>
					<xs:documentation>R17: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R18">
				<xs:annotation>
					<xs:documentation>R18: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R19">
				<xs:annotation>
					<xs:documentation>R19: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R20">
				<xs:annotation>
					<xs:documentation>R20: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R21">
				<xs:annotation>
					<xs:documentation>R21: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R22">
				<xs:annotation>
					<xs:documentation>R22: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R23">
				<xs:annotation>
					<xs:documentation>R23: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R24">
				<xs:annotation>
					<xs:documentation>R24: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R25">
				<xs:annotation>
					<xs:documentation>R25: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R26">
				<xs:annotation>
					<xs:documentation>R26: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R27">
				<xs:annotation>
					<xs:documentation>R27: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R28">
				<xs:annotation>
					<xs:documentation>R28: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R29">
				<xs:annotation>
					<xs:documentation>R29: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R30">
				<xs:annotation>
					<xs:documentation>R30: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R31">
				<xs:annotation>
					<xs:documentation>R31: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R32">
				<xs:annotation>
					<xs:documentation>R32: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R33">
				<xs:annotation>
					<xs:documentation>R33: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R34">
				<xs:annotation>
					<xs:documentation>R34: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R35">
				<xs:annotation>
					<xs:documentation>R35: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R36">
				<xs:annotation>
					<xs:documentation>R36: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R37">
				<xs:annotation>
					<xs:documentation>R37: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R50">
				<xs:annotation>
					<xs:documentation>R50: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R51">
				<xs:annotation>
					<xs:documentation>R51: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R52">
				<xs:annotation>
					<xs:documentation>R52: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R53">
				<xs:annotation>
					<xs:documentation>R53: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R61">
				<xs:annotation>
					<xs:documentation>R61: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R62">
				<xs:annotation>
					<xs:documentation>R62: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R63">
				<xs:annotation>
					<xs:documentation>R63: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R64">
				<xs:annotation>
					<xs:documentation>R64: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R65">
				<xs:annotation>
					<xs:documentation>R65: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R66">
				<xs:annotation>
					<xs:documentation>R66: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R67">
				<xs:annotation>
					<xs:documentation>R67: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R68">
				<xs:annotation>
					<xs:documentation>R68: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R69">
				<xs:annotation>
					<xs:documentation>R69: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R70">
				<xs:annotation>
					<xs:documentation>R70: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R71">
				<xs:annotation>
					<xs:documentation>R71: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R72">
				<xs:annotation>
					<xs:documentation>R72: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R73">
				<xs:annotation>
					<xs:documentation>R73: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R74">
				<xs:annotation>
					<xs:documentation>R74: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R80">
				<xs:annotation>
					<xs:documentation>R80: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R81">
				<xs:annotation>
					<xs:documentation>R81: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R82">
				<xs:annotation>
					<xs:documentation>R82: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R83">
				<xs:annotation>
					<xs:documentation>R83: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R84">
				<xs:annotation>
					<xs:documentation>R84: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A01">
				<xs:annotation>
					<xs:documentation>A01: Good</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A02">
				<xs:annotation>
					<xs:documentation>A02: Good</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A03">
				<xs:annotation>
					<xs:documentation>A03: Good</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D01">
				<xs:annotation>
					<xs:documentation>D01: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D02">
				<xs:annotation>
					<xs:documentation>D02: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D03">
				<xs:annotation>
					<xs:documentation>D03: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D04">
				<xs:annotation>
					<xs:documentation>D04: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D05">
				<xs:annotation>
					<xs:documentation>D05: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D06">
				<xs:annotation>
					<xs:documentation>D06: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D07">
				<xs:annotation>
					<xs:documentation>D07: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D08">
				<xs:annotation>
					<xs:documentation>D08: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D09">
				<xs:annotation>
					<xs:documentation>D09: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D10">
				<xs:annotation>
					<xs:documentation>D10: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D11">
				<xs:annotation>
					<xs:documentation>D11: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D12">
				<xs:annotation>
					<xs:documentation>D12: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D13">
				<xs:annotation>
					<xs:documentation>D13: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D14">
				<xs:annotation>
					<xs:documentation>D14: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="E01">
				<xs:annotation>
					<xs:documentation>E01: Hard Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="E02">
				<xs:annotation>
					<xs:documentation>E02: Soft Decline</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="RevenueTransaction">
		<xs:annotation>
			<xs:documentation>The Class RevenueTransaction.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="AccountTransaction">
				<xs:attribute name="itemCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>itemCode: The item code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="isComplimentary" type="xs:boolean" use="optional">
					<xs:annotation>
						<xs:documentation>isComplimentary: The is complimentary.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="paymentOption" type="xs:IDREF" use="optional">
					<xs:annotation>
						<xs:documentation>paymentOption: The payment option.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="QueryCustomerAccount">
		<xs:annotation>
			<xs:documentation>Defines query against CustomerAccount records using specified criteria.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="optional"/>
		<xs:attribute name="code" type="xs:string" use="optional"/>
		<xs:attribute name="firstName" type="xs:string" use="optional"/>
		<xs:attribute name="lastName" type="xs:string" use="optional"/>
		<xs:attribute name="middleName" type="xs:string" use="optional"/>
		<xs:attribute name="title" type="xs:string" use="optional"/>
		<xs:attribute name="suffix" type="xs:string" use="optional"/>
		<xs:attribute name="isActive" type="xs:boolean" use="optional"/>
		<xs:attribute name="fromCreateDate" type="Date" use="optional"/>
		<xs:attribute name="toCreateDate" type="Date" use="optional"/>
		<xs:attribute name="phone" type="xs:string" use="optional"/>
		<xs:attribute name="email" type="xs:string" use="optional"/>
		<xs:attribute name="zipCode" type="xs:string" use="optional"/>
		<xs:attribute name="creditCardNumber" type="xs:string" use="optional"/>
		<xs:attribute name="bankAccountNumber" type="xs:string" use="optional"/>
		<xs:attribute name="fromBalance" type="xs:int" use="optional"/>
		<xs:attribute name="toBalance" type="xs:int" use="optional"/>
		<xs:attribute name="customerAccountGroupCode" type="xs:string" use="optional"/>
	</xs:complexType>
	<xs:complexType name="QueryPaymentOption">
		<xs:annotation>
			<xs:documentation>Defines query against PaymentOption records using specified criteria.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="optional"/>
		<xs:attribute name="code" type="xs:string" use="optional"/>
		<xs:attribute name="isActive" type="xs:boolean" use="optional"/>
		<xs:attribute name="fromCreateDate" type="Date" use="optional"/>
		<xs:attribute name="toCreateDate" type="Date" use="optional"/>
		<xs:attribute name="holderName" type="xs:string" use="optional"/>
		<xs:attribute name="number" type="xs:string" use="optional"/>
		<xs:attribute name="accessory" type="xs:string" use="optional"/>
		<xs:attribute name="city" type="xs:string" use="optional"/>
		<xs:attribute name="state" type="xs:string" use="optional"/>
		<xs:attribute name="zipCode" type="xs:string" use="optional"/>
		<xs:attribute name="paymentOptionType" type="PaymentOptionType" use="optional"/>
		<xs:attribute name="customerAccountCode" type="xs:string" use="optional"/>
		<xs:attribute name="street1" type="xs:string" use="optional"/>
		<xs:attribute name="street2" type="xs:string" use="optional"/>
	</xs:complexType>
	<xs:complexType name="QueryPaymentPlan">
		<xs:annotation>
			<xs:documentation>findPaymentPlan method.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="optional"/>
		<xs:attribute name="code" type="xs:string" use="optional"/>
		<xs:attribute name="fromCreateDate" type="Date" use="optional"/>
		<xs:attribute name="toCreateDate" type="Date" use="optional"/>
		<xs:attribute name="fromNextBillingDate" type="Date" use="optional"/>
		<xs:attribute name="toNextBillingDate" type="Date" use="optional"/>
		<xs:attribute name="fromFirstBillingDate" type="Date" use="optional"/>
		<xs:attribute name="toFirstBillingDate" type="Date" use="optional"/>
		<xs:attribute name="status" type="xs:string" use="optional"/>
		<xs:attribute name="fromAmount" type="xs:int" use="optional"/>
		<xs:attribute name="toAmount" type="xs:int" use="optional"/>
		<xs:attribute name="itemCode" type="xs:string" use="optional"/>
		<xs:attribute name="sellerCode" type="xs:string" use="optional"/>
		<xs:attribute name="billingCycleCode" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode1" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode2" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode3" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode4" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode5" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode6" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode7" type="xs:string" use="optional"/>
		<xs:attribute name="groupCode8" type="xs:string" use="optional"/>
		<xs:attribute name="customerAccountCode" type="xs:string" use="optional"/>
	</xs:complexType>
	<xs:complexType name="QueryAccountTransaction">
		<xs:annotation>
			<xs:documentation>findAccountTransaction method.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="merchantAccountCode" type="MerchantAccountCode" use="optional"/>
		<xs:attribute name="code" type="xs:string" use="optional"/>
		<xs:attribute name="accountActivityType" type="AccountActivityType" use="optional"/>
		<xs:attribute name="fromCreateDate" type="Date" use="optional"/>
		<xs:attribute name="toCreateDate" type="Date" use="optional"/>
		<xs:attribute name="customerAccountCode" type="xs:string" use="optional"/>
		<xs:attribute name="customerAccountName" type="xs:string" use="optional"/>
		<xs:attribute name="isActiveCustomerAccount" type="xs:boolean" use="optional"/>
		<xs:attribute name="itemCode" type="xs:string" use="optional"/>
		<xs:attribute name="accountNumber" type="xs:string" use="optional"/>
		<xs:attribute name="fromAmount" type="xs:int" use="optional"/>
		<xs:attribute name="toAmount" type="xs:int" use="optional"/>
		<xs:attribute name="fromBalance" type="xs:int" use="optional"/>
		<xs:attribute name="toBalance" type="xs:int" use="optional"/>
	</xs:complexType>
	<xs:complexType name="Statement">
		<xs:annotation>
			<xs:documentation>The Class Statement.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="AccountActivity">
				<xs:attribute name="name" type="xs:string" use="required">
					<xs:annotation>
						<xs:documentation>name: The name.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="totalAmount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>totalAmount: The total amount.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="taxAmount" type="xs:int" use="optional">
					<xs:annotation>
						<xs:documentation>taxAmount: The tax amount.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="street" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>street: The street.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="state" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>state: The state.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="phone" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>phone: The phone.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="email" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>email: The email.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="city" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>city: The city.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="zipCode" type="xs:string" use="optional">
					<xs:annotation>
						<xs:documentation>zipCode: The zip code.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>

