org.ota.hotel
Class RatePlanGroup

java.lang.Object
  extended by org.ota.hotel.RatePlanGroup

public class RatePlanGroup
extends java.lang.Object

The RatePlanCode assigned by the receiving system for the inventory item in response to a new rate plan notification. (Implementation Notes: This would only be returned when the notification is of type New and the sender is translating RatePlanCode values. On subsequent transactions for this rate plan, the sender would populate the RatePlanCode attribute with this value returned by the receiver.) Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RatePlanGroup">
   <xs:attribute type="xs:string" use="optional" name="RatePlanType"/>
   <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/>
   <xs:attribute type="xs:string" use="optional" name="RatePlanID"/>
   <xs:attribute type="xs:boolean" use="optional" name="RatePlanQualifier"/>
   <xs:attributeGroup ref="ns:PromotionCodeGroup"/>
   <xs:attribute type="xs:string" use="optional" name="RatePlanCategory"/>
 </xs:attributeGroup>
 


Constructor Summary
RatePlanGroup()
           
 
Method Summary
 PromotionCodeGroup getPromotionCodeGroup()
          Get the 'PromotionCodeGroup' attributeGroup value.
 java.lang.String getRatePlan()
          Get the 'RatePlanType' attribute value.
 java.lang.String getRatePlanCategory()
          Get the 'RatePlanCategory' attribute value.
 java.lang.String getRatePlanCode()
          Get the 'RatePlanCode' attribute value.
 java.lang.String getRatePlanID()
          Get the 'RatePlanID' attribute value.
 java.lang.Boolean getRatePlanQualifier()
          Get the 'RatePlanQualifier' attribute value.
 void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
          Set the 'PromotionCodeGroup' attributeGroup value.
 void setRatePlan(java.lang.String ratePlan)
          Set the 'RatePlanType' attribute value.
 void setRatePlanCategory(java.lang.String ratePlanCategory)
          Set the 'RatePlanCategory' attribute value.
 void setRatePlanCode(java.lang.String ratePlanCode)
          Set the 'RatePlanCode' attribute value.
 void setRatePlanID(java.lang.String ratePlanID)
          Set the 'RatePlanID' attribute value.
 void setRatePlanQualifier(java.lang.Boolean ratePlanQualifier)
          Set the 'RatePlanQualifier' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatePlanGroup

public RatePlanGroup()
Method Detail

getRatePlan

public java.lang.String getRatePlan()
Get the 'RatePlanType' attribute value. An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OpenTravel Code List Rate Plan Type (RPT).

Returns:
value

setRatePlan

public void setRatePlan(java.lang.String ratePlan)
Set the 'RatePlanType' attribute value. An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OpenTravel Code List Rate Plan Type (RPT).

Parameters:
ratePlan -

getRatePlanCode

public java.lang.String getRatePlanCode()
Get the 'RatePlanCode' attribute value. A string value may be used to request a particular code or an ID if the guest qualifies for a specific rate, such as AARP, AAA, a corporate rate, etc., or to specify a negotiated code as a result of a negotiated rate.

Returns:
value

setRatePlanCode

public void setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value. A string value may be used to request a particular code or an ID if the guest qualifies for a specific rate, such as AARP, AAA, a corporate rate, etc., or to specify a negotiated code as a result of a negotiated rate.

Parameters:
ratePlanCode -

getRatePlanID

public java.lang.String getRatePlanID()
Get the 'RatePlanID' attribute value. A text field used to indicate a special ID code that is associated with the rate and is essential in the reservation request in order to obtain the rate. Examples are Corporate ID.

Returns:
value

setRatePlanID

public void setRatePlanID(java.lang.String ratePlanID)
Set the 'RatePlanID' attribute value. A text field used to indicate a special ID code that is associated with the rate and is essential in the reservation request in order to obtain the rate. Examples are Corporate ID.

Parameters:
ratePlanID -

getRatePlanQualifier

public java.lang.Boolean getRatePlanQualifier()
Get the 'RatePlanQualifier' attribute value. The Rate Plan Qualifier is used to control the sort order of RatePlans. Those Rate Plans that are not qualified will appear first, those that are qualified will appear last.

Returns:
value

setRatePlanQualifier

public void setRatePlanQualifier(java.lang.Boolean ratePlanQualifier)
Set the 'RatePlanQualifier' attribute value. The Rate Plan Qualifier is used to control the sort order of RatePlans. Those Rate Plans that are not qualified will appear first, those that are qualified will appear last.

Parameters:
ratePlanQualifier -

getPromotionCodeGroup

public PromotionCodeGroup getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value.

Returns:
value

setPromotionCodeGroup

public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value.

Parameters:
promotionCodeGroup -

getRatePlanCategory

public java.lang.String getRatePlanCategory()
Get the 'RatePlanCategory' attribute value. Hotel systems often group multiple rate plans into a single category. This refers to that category that is specific to the hotel CRS/PMS and should not be confused with a GDS rate category.

Returns:
value

setRatePlanCategory

public void setRatePlanCategory(java.lang.String ratePlanCategory)
Set the 'RatePlanCategory' attribute value. Hotel systems often group multiple rate plans into a single category. This refers to that category that is specific to the hotel CRS/PMS and should not be confused with a GDS rate category.

Parameters:
ratePlanCategory -