org.ota.hotel
Class AvailStatusMessage

java.lang.Object
  extended by org.ota.hotel.AvailStatusMessage
Direct Known Subclasses:
NotifReportRQ.NotifDetails.HotelNotifReport.AvailStatusMessages.AvailStatusMessage

public class AvailStatusMessage
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AvailStatusMessageType">
   <xs:sequence>
     <xs:element type="ns:StatusApplicationControlType" name="StatusApplicationControl" minOccurs="0"/>
     <xs:element type="ns:LengthsOfStayType" name="LengthsOfStay" minOccurs="0"/>
     <xs:element name="BestAvailableRates" minOccurs="0">
       <!-- Reference to inner class BestAvailableRates -->
     </xs:element>
     <xs:element name="HurdleRate" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="Delta" minOccurs="0">
       <!-- Reference to inner class Delta -->
     </xs:element>
     <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
     <xs:element name="RestrictionStatus" minOccurs="0">
       <!-- Reference to inner class RestrictionStatus -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:boolean" use="optional" name="Override"/>
   <xs:attribute use="optional" name="BookingLimitMessageType">
     <xs:simpleType>
       <!-- Reference to inner class BookingLimitMessage -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:int" use="optional" name="BookingLimit"/>
   <xs:attribute type="xs:string" use="optional" name="LocatorID"/>
 </xs:complexType>
 


Nested Class Summary
static class AvailStatusMessage.BestAvailableRates
          A collection of the best rates available.
static class AvailStatusMessage.BookingLimitMessage
          Schema fragment(s) for this class:
static class AvailStatusMessage.Delta
          Incremental amount added to the hurdle rate (e.g.
static class AvailStatusMessage.RestrictionStatus
          Availability status assigned to the room rate combination.
 
Constructor Summary
AvailStatusMessage()
           
 
Method Summary
 AvailStatusMessage.BestAvailableRates getBestAvailableRates()
          Get the 'BestAvailableRates' element value.
 java.lang.Integer getBookingLimit()
          Get the 'BookingLimit' attribute value.
 AvailStatusMessage.BookingLimitMessage getBookingLimitMessage()
          Get the 'BookingLimitMessageType' attribute value.
 AvailStatusMessage.Delta getDelta()
          Get the 'Delta' element value.
 CurrencyAmountGroup getHurdleRate()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 LengthsOfStay getLengthsOfStay()
          Get the 'LengthsOfStay' element value.
 java.lang.String getLocatorID()
          Get the 'LocatorID' attribute value.
 java.lang.Boolean getOverride()
          Get the 'Override' attribute value.
 AvailStatusMessage.RestrictionStatus getRestrictionStatus()
          Get the 'RestrictionStatus' element value.
 StatusApplicationControl getStatusApplicationControl()
          Get the 'StatusApplicationControl' element value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setBestAvailableRates(AvailStatusMessage.BestAvailableRates bestAvailableRates)
          Set the 'BestAvailableRates' element value.
 void setBookingLimit(java.lang.Integer bookingLimit)
          Set the 'BookingLimit' attribute value.
 void setBookingLimitMessage(AvailStatusMessage.BookingLimitMessage bookingLimitMessage)
          Set the 'BookingLimitMessageType' attribute value.
 void setDelta(AvailStatusMessage.Delta delta)
          Set the 'Delta' element value.
 void setHurdleRate(CurrencyAmountGroup hurdleRate)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setLengthsOfStay(LengthsOfStay lengthsOfStay)
          Set the 'LengthsOfStay' element value.
 void setLocatorID(java.lang.String locatorID)
          Set the 'LocatorID' attribute value.
 void setOverride(java.lang.Boolean override)
          Set the 'Override' attribute value.
 void setRestrictionStatus(AvailStatusMessage.RestrictionStatus restrictionStatus)
          Set the 'RestrictionStatus' element value.
 void setStatusApplicationControl(StatusApplicationControl statusApplicationControl)
          Set the 'StatusApplicationControl' element value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailStatusMessage

public AvailStatusMessage()
Method Detail

getStatusApplicationControl

public StatusApplicationControl getStatusApplicationControl()
Get the 'StatusApplicationControl' element value. Information on what the AvailStatus Message applies to (i.e. the combination of inventory and rate codes) and the period of application.

Returns:
value

setStatusApplicationControl

public void setStatusApplicationControl(StatusApplicationControl statusApplicationControl)
Set the 'StatusApplicationControl' element value. Information on what the AvailStatus Message applies to (i.e. the combination of inventory and rate codes) and the period of application.

Parameters:
statusApplicationControl -

getLengthsOfStay

public LengthsOfStay getLengthsOfStay()
Get the 'LengthsOfStay' element value. Collection of Length of Stay elements. These LOS elements indicate what LOS restrictions are to be added or removed. Some systems include this information directly with the Availability Status as opposed to the booking restriction.

Returns:
value

setLengthsOfStay

public void setLengthsOfStay(LengthsOfStay lengthsOfStay)
Set the 'LengthsOfStay' element value. Collection of Length of Stay elements. These LOS elements indicate what LOS restrictions are to be added or removed. Some systems include this information directly with the Availability Status as opposed to the booking restriction.

Parameters:
lengthsOfStay -

getBestAvailableRates

public AvailStatusMessage.BestAvailableRates getBestAvailableRates()
Get the 'BestAvailableRates' element value.

Returns:
value

setBestAvailableRates

public void setBestAvailableRates(AvailStatusMessage.BestAvailableRates bestAvailableRates)
Set the 'BestAvailableRates' element value.

Parameters:
bestAvailableRates -

getHurdleRate

public CurrencyAmountGroup getHurdleRate()
Get the 'CurrencyAmountGroup' attributeGroup value. Restriction based on the minimum rate to be considered for availability, ex. can sell weekend rate only if charging the hurdle rate or more.

Returns:
value

setHurdleRate

public void setHurdleRate(CurrencyAmountGroup hurdleRate)
Set the 'CurrencyAmountGroup' attributeGroup value. Restriction based on the minimum rate to be considered for availability, ex. can sell weekend rate only if charging the hurdle rate or more.

Parameters:
hurdleRate -

getDelta

public AvailStatusMessage.Delta getDelta()
Get the 'Delta' element value.

Returns:
value

setDelta

public void setDelta(AvailStatusMessage.Delta delta)
Set the 'Delta' element value.

Parameters:
delta -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. The unique identifier element allows the trading partners to uniquely identify each AvailStatusMessage, for tracing of transactions.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. The unique identifier element allows the trading partners to uniquely identify each AvailStatusMessage, for tracing of transactions.

Parameters:
uniqueID -

getRestrictionStatus

public AvailStatusMessage.RestrictionStatus getRestrictionStatus()
Get the 'RestrictionStatus' element value.

Returns:
value

setRestrictionStatus

public void setRestrictionStatus(AvailStatusMessage.RestrictionStatus restrictionStatus)
Set the 'RestrictionStatus' element value.

Parameters:
restrictionStatus -

getOverride

public java.lang.Boolean getOverride()
Get the 'Override' attribute value. Mechanism to allow the user to override settings at the reservation system and to allow the RMS to replace this overridden values: If value = "false", the reservations system may ignore the settings passed and keep values overridden by the user. If value = "true", the reservations system must replace values overridden by the user.

Returns:
value

setOverride

public void setOverride(java.lang.Boolean override)
Set the 'Override' attribute value. Mechanism to allow the user to override settings at the reservation system and to allow the RMS to replace this overridden values: If value = "false", the reservations system may ignore the settings passed and keep values overridden by the user. If value = "true", the reservations system must replace values overridden by the user.

Parameters:
override -

getBookingLimitMessage

public AvailStatusMessage.BookingLimitMessage getBookingLimitMessage()
Get the 'BookingLimitMessageType' attribute value. An enumerated type defining the function of the booking limit message. Values: RemoveLimit, SetLimit, AdjustLimit.

Returns:
value

setBookingLimitMessage

public void setBookingLimitMessage(AvailStatusMessage.BookingLimitMessage bookingLimitMessage)
Set the 'BookingLimitMessageType' attribute value. An enumerated type defining the function of the booking limit message. Values: RemoveLimit, SetLimit, AdjustLimit.

Parameters:
bookingLimitMessage -

getBookingLimit

public java.lang.Integer getBookingLimit()
Get the 'BookingLimit' attribute value. Number of units.

Returns:
value

setBookingLimit

public void setBookingLimit(java.lang.Integer bookingLimit)
Set the 'BookingLimit' attribute value. Number of units.

Parameters:
bookingLimit -

getLocatorID

public java.lang.String getLocatorID()
Get the 'LocatorID' attribute value. Can be used to communicate back to the sender exactly which transaction may have had a problem (e.g. "Message 214 had an invalid date range").

Returns:
value

setLocatorID

public void setLocatorID(java.lang.String locatorID)
Set the 'LocatorID' attribute value. Can be used to communicate back to the sender exactly which transaction may have had a problem (e.g. "Message 214 had an invalid date range").

Parameters:
locatorID -