org.ota.hotel
Class RatePlanCandidates.RatePlanCandidate

java.lang.Object
  extended by org.ota.hotel.RatePlanCandidates.RatePlanCandidate
Enclosing class:
RatePlanCandidates

public static class RatePlanCandidates.RatePlanCandidate
extends java.lang.Object

Element used to identify available products and rates. 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="RatePlanCandidate" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="HotelRefs" minOccurs="0">
         <!-- Reference to inner class HotelRefs -->
       </xs:element>
       <xs:element name="MealsIncluded" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:MealsIncludedGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="ArrivalPolicy" minOccurs="0">
         <!-- Reference to inner class ArrivalPolicy -->
       </xs:element>
       <xs:element name="RatePlanCommission" minOccurs="0">
         <!-- Reference to inner class RatePlanCommission -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:RatePlanGroup"/>
     <xs:attribute type="xs:string" use="optional" name="RPH"/>
     <xs:attribute use="optional" name="PrepaidQualifier">
       <xs:simpleType>
         <!-- Reference to inner class PrepaidQualifier -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RatePlanCandidates.RatePlanCandidate.ArrivalPolicy
          Defines policy types for this rate plan.
static class RatePlanCandidates.RatePlanCandidate.HotelRefs
          A collection of hotel identifiers to which the rate plan applies.
static class RatePlanCandidates.RatePlanCandidate.PrepaidQualifier
          Schema fragment(s) for this class:
static class RatePlanCandidates.RatePlanCandidate.RatePlanCommission
          Defines commission attributes for this rate plan.
 
Constructor Summary
RatePlanCandidates.RatePlanCandidate()
           
 
Method Summary
 RatePlanCandidates.RatePlanCandidate.ArrivalPolicy getArrivalPolicy()
          Get the 'ArrivalPolicy' element value.
 RatePlanCandidates.RatePlanCandidate.HotelRefs getHotelRefs()
          Get the 'HotelRefs' element value.
 MealsIncludedGroup getMealsIncluded()
          Get the 'MealsIncludedGroup' attributeGroup value.
 RatePlanCandidates.RatePlanCandidate.PrepaidQualifier getPrepaidQualifier()
          Get the 'PrepaidQualifier' attribute value.
 RatePlanCandidates.RatePlanCandidate.RatePlanCommission getRatePlanCommission()
          Get the 'RatePlanCommission' element value.
 RatePlanGroup getRatePlanGroup()
          Get the 'RatePlanGroup' attributeGroup value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setArrivalPolicy(RatePlanCandidates.RatePlanCandidate.ArrivalPolicy arrivalPolicy)
          Set the 'ArrivalPolicy' element value.
 void setHotelRefs(RatePlanCandidates.RatePlanCandidate.HotelRefs hotelRefs)
          Set the 'HotelRefs' element value.
 void setMealsIncluded(MealsIncludedGroup mealsIncluded)
          Set the 'MealsIncludedGroup' attributeGroup value.
 void setPrepaidQualifier(RatePlanCandidates.RatePlanCandidate.PrepaidQualifier prepaidQualifier)
          Set the 'PrepaidQualifier' attribute value.
 void setRatePlanCommission(RatePlanCandidates.RatePlanCandidate.RatePlanCommission ratePlanCommission)
          Set the 'RatePlanCommission' element value.
 void setRatePlanGroup(RatePlanGroup ratePlanGroup)
          Set the 'RatePlanGroup' attributeGroup value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatePlanCandidates.RatePlanCandidate

public RatePlanCandidates.RatePlanCandidate()
Method Detail

getHotelRefs

public RatePlanCandidates.RatePlanCandidate.HotelRefs getHotelRefs()
Get the 'HotelRefs' element value.

Returns:
value

setHotelRefs

public void setHotelRefs(RatePlanCandidates.RatePlanCandidate.HotelRefs hotelRefs)
Set the 'HotelRefs' element value.

Parameters:
hotelRefs -

getMealsIncluded

public MealsIncludedGroup getMealsIncluded()
Get the 'MealsIncludedGroup' attributeGroup value. Defines which meals are included with this rate plan.

Returns:
value

setMealsIncluded

public void setMealsIncluded(MealsIncludedGroup mealsIncluded)
Set the 'MealsIncludedGroup' attributeGroup value. Defines which meals are included with this rate plan.

Parameters:
mealsIncluded -

getArrivalPolicy

public RatePlanCandidates.RatePlanCandidate.ArrivalPolicy getArrivalPolicy()
Get the 'ArrivalPolicy' element value.

Returns:
value

setArrivalPolicy

public void setArrivalPolicy(RatePlanCandidates.RatePlanCandidate.ArrivalPolicy arrivalPolicy)
Set the 'ArrivalPolicy' element value.

Parameters:
arrivalPolicy -

getRatePlanCommission

public RatePlanCandidates.RatePlanCandidate.RatePlanCommission getRatePlanCommission()
Get the 'RatePlanCommission' element value.

Returns:
value

setRatePlanCommission

public void setRatePlanCommission(RatePlanCandidates.RatePlanCandidate.RatePlanCommission ratePlanCommission)
Set the 'RatePlanCommission' element value.

Parameters:
ratePlanCommission -

getRatePlanGroup

public RatePlanGroup getRatePlanGroup()
Get the 'RatePlanGroup' attributeGroup value.

Returns:
value

setRatePlanGroup

public void setRatePlanGroup(RatePlanGroup ratePlanGroup)
Set the 'RatePlanGroup' attributeGroup value.

Parameters:
ratePlanGroup -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. A unique identifier for this rate plan candidate.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. A unique identifier for this rate plan candidate.

Parameters:
RPH -

getPrepaidQualifier

public RatePlanCandidates.RatePlanCandidate.PrepaidQualifier getPrepaidQualifier()
Get the 'PrepaidQualifier' attribute value. Qualifies whether the response should include prepaid rates, exclude prepaid rates, or include prepaid rates only.

Returns:
value

setPrepaidQualifier

public void setPrepaidQualifier(RatePlanCandidates.RatePlanCandidate.PrepaidQualifier prepaidQualifier)
Set the 'PrepaidQualifier' attribute value. Qualifies whether the response should include prepaid rates, exclude prepaid rates, or include prepaid rates only.

Parameters:
prepaidQualifier -