Definition Type: ComplexType
Name: OrdersType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Provides the details of one or more orders.
Collapse XSD Schema Diagram:
Drilldown into Order in schema ota_commontypes_xsd Drilldown into OrderID in schema ota_commontypes_xsd1 Drilldown into VendorPurchaseOrderID in schema ota_commontypes_xsd1 Drilldown into DiscountCode in schema ota_commontypes_xsd1 Drilldown into OrderType in schema ota_commontypes_xsd1XSD Diagram of OrdersType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="OrdersType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Provides the details of one or more orders.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="Order" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">Information pertaining to a specific order.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Products" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">A collection of products.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Product" minOccurs="0" maxOccurs="99">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The details associated to a specific product.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:attribute name="ProductIssueDate" type="DateOrDateTimeType" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The date or date and time that the product was issued.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="ProductID" type="StringLength1to32" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">An identification number associated to the specific product.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="ProductType" type="StringLength1to64" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Identifies the type of product being purchased.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="ProductQuantity" type="xs:nonNegativeInteger" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The number of the specific product being purchased.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="ProductSerialNumber" type="StringLength1to32" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The serial number of the specific product.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="DiscountCode" type="StringLength1to16" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The discount code that applies to the specific product.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attributeGroup ref="CurrencyAmountGroup">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The amount related to the specific item (e.g., if the item being purchased is a gift certificate, and only one item is being purchased the full amount is applied to the gift certificate).</xs:documentation>
                                            </xs:annotation>
                                        </xs:attributeGroup>
                                        <xs:attribute name="Status" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The status of the product.  This attribute would primarily be used in the response message to identify the status of the item being purchased.</xs:documentation>
                                            </xs:annotation>
                                            <xs:simpleType>
                                                <xs:restriction base="xs:NMTOKEN">
                                                    <xs:enumeration value="OrderPending">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The order has been submitted, but has not yet been confirmed.</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:enumeration>
                                                    <xs:enumeration value="BackOrder">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The product being purchased is on back order.</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:enumeration>
                                                    <xs:enumeration value="Unavailable">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The product being purchased is unavailable.</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:enumeration>
                                                    <xs:enumeration value="Confirmed">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The order has been confirmed.</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:enumeration>
                                                </xs:restriction>
                                            </xs:simpleType>
                                        </xs:attribute>
                                        <xs:attribute name="ListOfRecipientRPH" type="ListOfRPH" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The recipient(s) to whom the product pertains.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="OrderType" type="StringLength1to16" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Identifies the type of order.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="OrderID" type="StringLength1to32" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The identification number associated to the orders.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ListOfRecipientRPH" type="ListOfRPH" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The recipient(s) to whom the order pertains.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="OrderType" type="StringLength1to16" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Identifies the type of orders.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DiscountCode" type="StringLength1to16" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">A discount code that applies to the orders.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="VendorPurchaseOrderID" type="StringLength1to32" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The purchase order number of a sales intermediary.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrderID" type="StringLength1to32" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The identification number associated to the orders.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Order Order 0 99
Collapse Child Attributes:
Name Type Default Value Use
OrderType OrderType Optional
DiscountCode DiscountCode Optional
VendorPurchaseOrderID VendorPurchaseOrderID Optional
OrderID OrderID Optional
Collapse Derivation Tree:
  • OrdersType
    • Unresolved link to orders
    • Unresolved link to orders1
Collapse References:
Unresolved link to orders, Unresolved link to orders1