<xsd:complexType name="Voucher">
<xsd:annotation>
<xsd:documentation source="Description">A form of payment using a voucher or coupon.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Voucher</otm:OTA2Entity>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">VoucherGroup</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2:Empty">
<xsd:attribute name="seriesCode" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Identification of a series of coupons or vouchers identified by serial number(s).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to32</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SeriesCode</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">87462746283</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="effectiveDate" type="xsd:date" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Indicates the starting date.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}date</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">EffectiveDate</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">1999-07-16</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expireDate" type="xsd:date" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Indicates the ending date.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}date</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ExpireDate</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2022-07-16</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="billingNumber" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Reference of the billing account which handles the payment transaction.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">BillingNumber</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">234872648</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="supplierIdentifier" type="ota2-0400:GUID" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Unique identifier of the electronic voucher, created by the supplier.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SupplierIdentifier</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">6473243874</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="identifier" type="xsd:ID" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Unique identifier of the electronic voucher.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Identifier</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="valueType" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Defines the type of voucher (e.g., full credit or partial credit).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to32</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ValueType</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Full</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="url" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Uri of the creating system. The URI should be an URL and be globally unique. Should only be omitted when the context is clearly implied for the containing document.</xsd:documentation>
<xsd:documentation source="Implementer">Identifier provides the ability to create a globally unique identifier. For the identifier to be globally unique it must have a system provided identifier and the system must be identified using a global naming authority. System identification uses the domain naming system (DNS) to assure they are globally unique and should be an URL. The system provided ID will typically be a primary or surrogate key in a database.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="system" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Name or identifier for the creating system.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">sysABC3344</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="organization" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Name of the company that manages the reference system.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Acme</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="groupDaysApplyInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">When true, specifies the Group Days Apply Value can be used for this Voucher Billing Account. This indicator is used to allow the usage of a car rental days voucher when part of an inclusive tour.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="electronicIndicatorInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">When true, indicates the voucher is electronic. An E-voucher is a value document issued by the Travel Agent for the customer. The e-voucher can be used as a proof of reservation, but more normally, as a full-payment or partial payment.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expireDateExclusiveInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">When true, indicates that the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|