org.ota.hotel
Class Amount.Discount

java.lang.Object
  extended by org.ota.shared.Total
      extended by org.ota.hotel.Discount
          extended by org.ota.hotel.Amount.Discount
Enclosing class:
Amount

public static class Amount.Discount
extends Discount

Discount percentage and/or Amount, code and textual reason for discount Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Discount" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DiscountType">
         <xs:attribute use="optional" name="AppliesTo">
           <xs:simpleType>
             <!-- Reference to inner class AppliesTo -->
           </xs:simpleType>
         </xs:attribute>
         <xs:attribute type="xs:string" use="optional" name="ItemRPH"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Amount.Discount.AppliesTo
          Schema fragment(s) for this class:
 
Constructor Summary
Amount.Discount()
           
 
Method Summary
 Amount.Discount.AppliesTo getAppliesTo()
          Get the 'AppliesTo' attribute value.
 java.lang.String getItemRPH()
          Get the 'ItemRPH' attribute value.
 void setAppliesTo(Amount.Discount.AppliesTo appliesTo)
          Set the 'AppliesTo' attribute value.
 void setItemRPH(java.lang.String itemRPH)
          Set the 'ItemRPH' attribute value.
 
Methods inherited from class org.ota.hotel.Discount
getDiscountCode, getDiscountReason, getPercent, getRestrictedDisplayIndicator, getTaxInclusive, setDiscountCode, setDiscountReason, setPercent, setRestrictedDisplayIndicator, setTaxInclusive
 
Methods inherited from class org.ota.shared.Total
getAdditionalFeesExcludedIndicator, getAmountAfterTax, getAmountBeforeTax, getCurrencyCodeGroup, getTaxes, setAdditionalFeesExcludedIndicator, setAmountAfterTax, setAmountBeforeTax, setCurrencyCodeGroup, setTaxes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Amount.Discount

public Amount.Discount()
Method Detail

getAppliesTo

public Amount.Discount.AppliesTo getAppliesTo()
Get the 'AppliesTo' attribute value. Used to identify the monetary amount to which the discount applies.

Returns:
value

setAppliesTo

public void setAppliesTo(Amount.Discount.AppliesTo appliesTo)
Set the 'AppliesTo' attribute value. Used to identify the monetary amount to which the discount applies.

Parameters:
appliesTo -

getItemRPH

public java.lang.String getItemRPH()
Get the 'ItemRPH' attribute value. Used to identify the specific item referred to by the AppliesTo attribute.

Returns:
value

setItemRPH

public void setItemRPH(java.lang.String itemRPH)
Set the 'ItemRPH' attribute value. Used to identify the specific item referred to by the AppliesTo attribute.

Parameters:
itemRPH -