Value With Attributes: LengthOfStay (1.0.0)

Library: HospitalityStrawman (http://www.opentravel.org/Sandbox/product/hospitality/v1)


    • Description

      A pattern defining allowable lengths of stay (LOS).
Property Value
Parent Type:  Empty  

Attribute Name Type Description
time  integer   Used in conjunction with the MinMaxMessageType and the TimeUnit to define the length of stay requirements.
timeUnit  TimeUnit_Enum A time unit used to apply this status message to other inventory, and with more granularity than daily. Values: Year, Month, Week, Day, Hour, Minute, Second.
minMaxMessageType  LengthsOfStay_Enum Values: Set Minimum LOS, Remove Minimum LOS, Set Maximum LOS, Remove Maximum LOS, Set Forward Minimum Stay, Remove Forward Minimum Stay, Set Forward Maximum Stay, Remove Forward Maximum Stay.
lengthOfStayPattern  StringTiny This may be used when MinMaxMessageType is FullPatternLOS to identify the open and closed status by LOS (e.g., if LengthsOfStay@FixedPatternLength="5" then FullPatternLOS="YYNYY" or FullPatternLOS="11011").