202 lines
10 KiB
XML
202 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (C) Revenue Collection Systems France S.A.S. - 2018-2025 ALL RIGHTS RESERVED
|
|
|
|
-->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns="http://www.thales.dc/RefundPaymentAudit"
|
|
targetNamespace="http://www.thales.dc/RefundPaymentAudit"
|
|
version="1.1.1">
|
|
|
|
<!-- Annotate all modification of the xsd file according to version -->
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>Version List</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>08/08/2023 - Version 1.1</xs:documentation>
|
|
<xs:documentation>
|
|
Add payment response (APPROVED, DECLINED)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>sprint 186 - 23/08/2023 - Version 1.1.1</xs:documentation>
|
|
<xs:documentation>
|
|
change versioning and add documentation to respect XSD versioning format
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:element name="RefundPaymentAudit" type="RefundPaymentAudit"/>
|
|
|
|
<!-- Description of the RefundPaymentAuditExchange structure -->
|
|
<xs:complexType name="RefundPaymentAudit">
|
|
<xs:annotation>
|
|
<xs:documentation>This audit will be produced after the sending of the payment refund</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="MediaSerialNumber" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The serial number of the media</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ContractSerialNumber" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The serial number of the contract to refund</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ContractStatus" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The status of the contract (DISABLE, CLOSED, ...)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ProductCode" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The code of the product on the catalog</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundOrderId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The unique identifier of the refund order</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundOrderStatus" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The status of the refund order (NOT_REQUEST, PENDING, COMPLETED, CANCELED)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundStatusOccurrenceDate" type="xs:dateTime" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The date of this status</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="InitialRefundAmount" type="xs:decimal" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The initial refund amount calculated by CSS</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="FinalRefundAmount" type="xs:decimal" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The final refund amount calculated by MAM</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundFee" type="xs:decimal" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The fee applicate to refund a product</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="FinalRefundAmountFlag" type="xs:boolean" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>If we have a final refund amount</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundPaymentStatus" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The payment status (READY, TRIGGERED, COMPLETED, IN_ERROR, DECLINED)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentMethod" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The type of the payment means (CASH, EMV_CP (EMV retail Card Present - CP), EMV_CNP (EMV retail Card Non Present - CNP), INTERNAL/EXTERNAL PURSE, PAYMENT_AGREMENT)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="TransactionId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The unique identifier of the transaction</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="AuthorizationCode" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>That corresponds to the financial transaction result of this refund</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RetailToken" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>That Retail token corresponds to the ID of the payment medium used during refund if used</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ExpiryDate" type="xs:dateTime" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>For EMV retail cards and ABT media with internal/external purse. Not applicable for Cash</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentAmount" type="xs:decimal" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The refund amount requested</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="TruncatedPan" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Used for EMV</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentSchemeIdentification" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>EMV (VISA, AMEX, ....)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentAccountReference" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Payment account reference</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="MerchantId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The unique identifier about merchant</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentReference2" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The identifier of the approved payment order</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentEffectiveDate" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Date and time of the financial transaction recorded at the payment domain</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="Currency" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Currency code according to ISO 4217</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="UniqueMessageRefundId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Unique Message refund identification</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ResponseMessageDate" type="xs:dateTime" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Response message creation date and time provided by the payment domain</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ResponseCode" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>2 digit codes explaining the response from the payment domain</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="Response" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The payment response (APPROVED, DECLINED)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ReconciliationID" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>reconciliation ID or Payment Gateway reference</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|