ReversalResponse
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
version="1.0"
elementFormDefault="qualified"
attributeFormDefault="qualified">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="classpath:schemas/xmldsig-core-schema.xsd"/>
<xs:element name="ReversalResponse" type="reversalResponse"/>
<xs:complexType name="reversalResponse">
<xs:all>
<xs:element name="TrackingId" type="xs:string"/>
<xs:element name="Status" type="status"/>
<xs:element name="ReversalResult" type="tranResult"/>
<xs:element ref="ds:Signature" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="status">
<xs:all>
<xs:element name="Code" type="xs:string"/>
<xs:element name="Message" type="xs:string"/>
</xs:all>
</xs:complexType>
<xs:complexType name="tranResult">
<xs:sequence>
<xs:element name="Date" type="xs:string"/>
<xs:element name="CVResult" type="xs:string" minOccurs="0"/>
<xs:element name="MerchantCliche" type="tranCliche" minOccurs="0"/>
<xs:element name="ApprovalCode" type="xs:string"/>
<xs:element name="AuthCode" type="xs:string"/>
<xs:element name="RRN" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="tranCliche">
<xs:sequence>
<xs:element name="MerchantId" type="xs:string"/>
<xs:element name="TerminalId" type="xs:string"/>
<xs:element name="MCC" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>