org.ota.hotel
Class HotelSearchCriterion.HotelAmenity

java.lang.Object
  extended by org.ota.hotel.HotelSearchCriterion.HotelAmenity
Enclosing class:
HotelSearchCriterion

public static class HotelSearchCriterion.HotelAmenity
extends java.lang.Object

Hotel level amenities for searches. 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="HotelAmenity" minOccurs="0" maxOccurs="10">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:boolean" use="optional" name="ComplimentaryInd"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelSearchCriterion.HotelAmenity()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.Boolean getComplimentaryInd()
          Get the 'ComplimentaryInd' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setComplimentaryInd(java.lang.Boolean complimentaryInd)
          Set the 'ComplimentaryInd' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelSearchCriterion.HotelAmenity

public HotelSearchCriterion.HotelAmenity()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Parameters:
code -

getComplimentaryInd

public java.lang.Boolean getComplimentaryInd()
Get the 'ComplimentaryInd' attribute value. When true, there is no charge for the amenity. When false, there is a fee associated with the amenity.

Returns:
value

setComplimentaryInd

public void setComplimentaryInd(java.lang.Boolean complimentaryInd)
Set the 'ComplimentaryInd' attribute value. When true, there is no charge for the amenity. When false, there is a fee associated with the amenity.

Parameters:
complimentaryInd -