<xsd:complexType name="Amount">
<xsd:annotation>
<xsd:documentation source="Description">Price of an item and information on how this price was calculated, for example, a daily rate multiplied by the number of players, a percentage, etc.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Amount</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="Total" type="ota2-0400:CurrencyAmount">
<xsd:annotation>
<xsd:documentation source="Description">The total for a specific item in a calculation.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}Money</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="ChargeUnit" type="ota2-0300:ChargeUnit_Enum">
<xsd:annotation>
<xsd:documentation source="Description">Used to indicate what the cost is based on (per room, per room per night, etc).</xsd:documentation>
<xsd:documentation source="Implementer">LocalAnonymousType: TeeTimeType_Applicability</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="ota2:ExtensionPoint_Summary" />
</xsd:sequence>
<xsd:attribute name="unitPrice" type="ota2-0400:Money" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">This is used in conjunction with UnitName to specify the charge per unit as defined by UnitName (e.g., if UnitCharge=&quot;100&quot; and UnitName=&quot;day&quot; the result is 100 dollars per day).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}Money</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitName" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The UnitName attribute provides the unit on which an item charge may be based when purchasing a round of golf.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to32</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="quantity" type="ota2-0400:NonNegativeInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">This is used in conjunction with UnitName to specify the quantity of units as defined by UnitName (e.g., if Quantity=&quot;5&quot; and UnitName=&quot;day&quot; the result is 5 days).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}Numeric1to99</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="percentage" type="ota2-0400:Percent" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Provides the ability to define a particular percentage.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}Percentage</xsd:documentation>
<xsd:appinfo>
<otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">10</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="description" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Description of the priced item.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
|