<!--
 Copyright (c) 2000-2021 Ericsson Telecom AB
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v2.0
 which accompanies this distribution, and is available at
 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html

 Contributors:
  Balasko, Jeno
  Raduly, Csaba
-->
<xsd:schema elementFormDefault="qualified" 

xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:parlayx_common_xsd="http://www.csapi.org/schema/parlayx/common/v2_0"
xmlns:parlayx_payment_xsd="http://www.csapi.org/schema/parlayx/payment/v2_0"
xmlns:parlayx_payment_amount_charging_local_xsd="http://www.csapi.org/schema/parlayx/payment/amount_charging/v2_0/local"

targetNamespace="http://www.csapi.org/schema/parlayx/payment/amount_charging/v2_0/local">

<xsd:import namespace="http://www.csapi.org/schema/parlayx/payment/v2_0" schemaLocation="parlayx_payment_types_2_0.xsd"/>
<xsd:import namespace="http://www.csapi.org/schema/parlayx/common/v2_0" schemaLocation="parlayx_common_types_2_0.xsd"/> 


         <xsd:element name="chargeAmount" type="parlayx_payment_amount_charging_local_xsd:chargeAmount"/>
         <xsd:complexType name="chargeAmount">
            <xsd:sequence>
               <xsd:element name="endUserIdentifier" type="xsd:anyURI"/>
               <xsd:element name="amount" type="xsd:decimal"/>
               <xsd:element name="billingText" type="xsd:string"/>
               <xsd:element name="referenceCode" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>

         <xsd:element name="chargeAmountResponse" type="parlayx_payment_amount_charging_local_xsd:chargeAmountResponse"/>
         <xsd:complexType name="chargeAmountResponse">
            <xsd:sequence/>
         </xsd:complexType>

         <xsd:element name="refundAmount" type="parlayx_payment_amount_charging_local_xsd:refundAmount"/>
         <xsd:complexType name="refundAmount">
            <xsd:sequence>
               <xsd:element name="endUserIdentifier" type="xsd:anyURI"/>
               <xsd:element name="amount" type="xsd:decimal"/>
               <xsd:element name="billingText" type="xsd:string"/>
               <xsd:element name="referenceCode" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>

         <xsd:element name="refundAmountResponse" type="parlayx_payment_amount_charging_local_xsd:refundAmountResponse"/>
         <xsd:complexType name="refundAmountResponse">
            <xsd:sequence/>
         </xsd:complexType>
      </xsd:schema>
