org.ota.hotel
Class RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion

java.lang.Object
  extended by org.ota.hotel.RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion
Enclosing class:
RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions

public static class RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion
extends java.lang.Object

A promotion that has similar date criteria as the meeting dates. 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="Promotion" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="AvailableDateRange">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:DateTimeSpanType">
               <xs:attribute type="xs:string" use="optional" name="DateRPH"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:DateTimeSpanType" name="OfferedDateRange"/>
       <xs:element type="ns:ParagraphType" name="Description"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="UserAcknowledgementIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="PromotionCode"/>
     <xs:attribute type="xs:int" use="optional" name="AdvertisedRoomQuantity"/>
     <xs:attribute type="xs:float" use="optional" name="AdvertisedHighAmount"/>
     <xs:attribute type="xs:float" use="optional" name="AdvertisedLowAmount"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion()
           
 
Method Summary
 java.lang.Float getAdvertisedHighAmount()
          Get the 'AdvertisedHighAmount' attribute value.
 java.lang.Float getAdvertisedLowAmount()
          Get the 'AdvertisedLowAmount' attribute value.
 java.lang.Integer getAdvertisedRoomQuantity()
          Get the 'AdvertisedRoomQuantity' attribute value.
 java.lang.String getAvailableDateRangeDateRPH()
          Get the 'DateRPH' attribute value.
 DateTimeSpan getAvailableDateRangeDateTimeSpan()
          Get the extension value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Paragraph getDescription()
          Get the 'Description' element value.
 DateTimeSpan getOfferedDateRange()
          Get the 'OfferedDateRange' element value.
 java.lang.String getPromotionCode()
          Get the 'PromotionCode' attribute value.
 java.lang.Boolean getUserAcknowledgementIndicator()
          Get the 'UserAcknowledgementIndicator' attribute value.
 void setAdvertisedHighAmount(java.lang.Float advertisedHighAmount)
          Set the 'AdvertisedHighAmount' attribute value.
 void setAdvertisedLowAmount(java.lang.Float advertisedLowAmount)
          Set the 'AdvertisedLowAmount' attribute value.
 void setAdvertisedRoomQuantity(java.lang.Integer advertisedRoomQuantity)
          Set the 'AdvertisedRoomQuantity' attribute value.
 void setAvailableDateRangeDateRPH(java.lang.String availableDateRangeDateRPH)
          Set the 'DateRPH' attribute value.
 void setAvailableDateRangeDateTimeSpan(DateTimeSpan availableDateRangeDateTimeSpan)
          Set the extension value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setDescription(Paragraph description)
          Set the 'Description' element value.
 void setOfferedDateRange(DateTimeSpan offeredDateRange)
          Set the 'OfferedDateRange' element value.
 void setPromotionCode(java.lang.String promotionCode)
          Set the 'PromotionCode' attribute value.
 void setUserAcknowledgementIndicator(java.lang.Boolean userAcknowledgementIndicator)
          Set the 'UserAcknowledgementIndicator' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion

public RFPMeetingRQ.RFPRequestSegment.Sites.Site.Promotions.Promotion()
Method Detail

getAvailableDateRangeDateTimeSpan

public DateTimeSpan getAvailableDateRangeDateTimeSpan()
Get the extension value.

Returns:
value

setAvailableDateRangeDateTimeSpan

public void setAvailableDateRangeDateTimeSpan(DateTimeSpan availableDateRangeDateTimeSpan)
Set the extension value.

Parameters:
availableDateRangeDateTimeSpan -

getAvailableDateRangeDateRPH

public java.lang.String getAvailableDateRangeDateRPH()
Get the 'DateRPH' attribute value. This reference place holder refers back to the applicable date range. This is used to link a particular promotion to a particular date range.

Returns:
value

setAvailableDateRangeDateRPH

public void setAvailableDateRangeDateRPH(java.lang.String availableDateRangeDateRPH)
Set the 'DateRPH' attribute value. This reference place holder refers back to the applicable date range. This is used to link a particular promotion to a particular date range.

Parameters:
availableDateRangeDateRPH -

getOfferedDateRange

public DateTimeSpan getOfferedDateRange()
Get the 'OfferedDateRange' element value. This is the date range for which the promotion is offered.

Returns:
value

setOfferedDateRange

public void setOfferedDateRange(DateTimeSpan offeredDateRange)
Set the 'OfferedDateRange' element value. This is the date range for which the promotion is offered.

Parameters:
offeredDateRange -

getDescription

public Paragraph getDescription()
Get the 'Description' element value. Used to describe a particular promotion.

Returns:
value

setDescription

public void setDescription(Paragraph description)
Set the 'Description' element value. Used to describe a particular promotion.

Parameters:
description -

getUserAcknowledgementIndicator

public java.lang.Boolean getUserAcknowledgementIndicator()
Get the 'UserAcknowledgementIndicator' attribute value. When true this notifies the receiving application that a user is requesting this promotion (e.g. internal rebates) if available.

Returns:
value

setUserAcknowledgementIndicator

public void setUserAcknowledgementIndicator(java.lang.Boolean userAcknowledgementIndicator)
Set the 'UserAcknowledgementIndicator' attribute value. When true this notifies the receiving application that a user is requesting this promotion (e.g. internal rebates) if available.

Parameters:
userAcknowledgementIndicator -

getPromotionCode

public java.lang.String getPromotionCode()
Get the 'PromotionCode' attribute value. A published code defining a specific site promotion that is proprietary to the organization.

Returns:
value

setPromotionCode

public void setPromotionCode(java.lang.String promotionCode)
Set the 'PromotionCode' attribute value. A published code defining a specific site promotion that is proprietary to the organization.

Parameters:
promotionCode -

getAdvertisedRoomQuantity

public java.lang.Integer getAdvertisedRoomQuantity()
Get the 'AdvertisedRoomQuantity' attribute value. This is the number of advertised rooms available for this promotion.

Returns:
value

setAdvertisedRoomQuantity

public void setAdvertisedRoomQuantity(java.lang.Integer advertisedRoomQuantity)
Set the 'AdvertisedRoomQuantity' attribute value. This is the number of advertised rooms available for this promotion.

Parameters:
advertisedRoomQuantity -

getAdvertisedHighAmount

public java.lang.Float getAdvertisedHighAmount()
Get the 'AdvertisedHighAmount' attribute value. If a rate range is advertised this is the high end.

Returns:
value

setAdvertisedHighAmount

public void setAdvertisedHighAmount(java.lang.Float advertisedHighAmount)
Set the 'AdvertisedHighAmount' attribute value. If a rate range is advertised this is the high end.

Parameters:
advertisedHighAmount -

getAdvertisedLowAmount

public java.lang.Float getAdvertisedLowAmount()
Get the 'AdvertisedLowAmount' attribute value. If a rate range is advertised this is the low end. If there is not a range, AdvertisedLowAmount should be used.

Returns:
value

setAdvertisedLowAmount

public void setAdvertisedLowAmount(java.lang.Float advertisedLowAmount)
Set the 'AdvertisedLowAmount' attribute value. If a rate range is advertised this is the low end. If there is not a range, AdvertisedLowAmount should be used.

Parameters:
advertisedLowAmount -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. This applies to the high and low advertised amounts to indicate the currency type.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. This applies to the high and low advertised amounts to indicate the currency type.

Parameters:
currencyCodeGroup -