org.ota.hotel
Class RatePlanRQ.RatePlan

java.lang.Object
  extended by org.ota.hotel.RatePlanRQ.RatePlan
Enclosing class:
RatePlanRQ

public static class RatePlanRQ.RatePlan
extends java.lang.Object

Provides the criteria to identify the rate plan to be returned. 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="RatePlan" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="DateRange" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:DestinationSystemCodesType" name="DestinationSystemsCode" minOccurs="0"/>
       <xs:element type="ns:RatePlanCandidatesType" name="RatePlanCandidates" minOccurs="0"/>
       <xs:element name="Offers" minOccurs="0">
         <!-- Reference to inner class Offers -->
       </xs:element>
       <xs:element name="HotelRef" minOccurs="0">
         <!-- Reference to inner class HotelRef -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class RatePlanRQ.RatePlan.HotelRef
          Indicates the detail of hotel reference information.
static class RatePlanRQ.RatePlan.Offers
          Collection of requested offers.
 
Constructor Summary
RatePlanRQ.RatePlan()
           
 
Method Summary
 DateTimeSpanGroup getDateRange()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 DestinationSystemCodes getDestinationSystemsCode()
          Get the 'DestinationSystemsCode' element value.
 RatePlanRQ.RatePlan.HotelRef getHotelRef()
          Get the 'HotelRef' element value.
 RatePlanRQ.RatePlan.Offers getOffers()
          Get the 'Offers' element value.
 RatePlanCandidates getRatePlanCandidates()
          Get the 'RatePlanCandidates' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setDateRange(DateTimeSpanGroup dateRange)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDestinationSystemsCode(DestinationSystemCodes destinationSystemsCode)
          Set the 'DestinationSystemsCode' element value.
 void setHotelRef(RatePlanRQ.RatePlan.HotelRef hotelRef)
          Set the 'HotelRef' element value.
 void setOffers(RatePlanRQ.RatePlan.Offers offers)
          Set the 'Offers' element value.
 void setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
          Set the 'RatePlanCandidates' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatePlanRQ.RatePlan

public RatePlanRQ.RatePlan()
Method Detail

getDateRange

public DateTimeSpanGroup getDateRange()
Get the 'DateTimeSpanGroup' attributeGroup value. A date or range of dates for the rate plan.

Returns:
value

setDateRange

public void setDateRange(DateTimeSpanGroup dateRange)
Set the 'DateTimeSpanGroup' attributeGroup value. A date or range of dates for the rate plan.

Parameters:
dateRange -

getDestinationSystemsCode

public DestinationSystemCodes getDestinationSystemsCode()
Get the 'DestinationSystemsCode' element value. A collection of destination system codes. These are systems for which this rate plan is targeted.

Returns:
value

setDestinationSystemsCode

public void setDestinationSystemsCode(DestinationSystemCodes destinationSystemsCode)
Set the 'DestinationSystemsCode' element value. A collection of destination system codes. These are systems for which this rate plan is targeted.

Parameters:
destinationSystemsCode -

getRatePlanCandidates

public RatePlanCandidates getRatePlanCandidates()
Get the 'RatePlanCandidates' element value. Collection of requested rate plans

Returns:
value

setRatePlanCandidates

public void setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
Set the 'RatePlanCandidates' element value. Collection of requested rate plans

Parameters:
ratePlanCandidates -

getOffers

public RatePlanRQ.RatePlan.Offers getOffers()
Get the 'Offers' element value.

Returns:
value

setOffers

public void setOffers(RatePlanRQ.RatePlan.Offers offers)
Set the 'Offers' element value.

Parameters:
offers -

getHotelRef

public RatePlanRQ.RatePlan.HotelRef getHotelRef()
Get the 'HotelRef' element value.

Returns:
value

setHotelRef

public void setHotelRef(RatePlanRQ.RatePlan.HotelRef hotelRef)
Set the 'HotelRef' element value.

Parameters:
hotelRef -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -