org.ota.hotel
Class BookingRules.BookingRule.CheckoutCharge

java.lang.Object
  extended by org.ota.hotel.BookingRules.BookingRule.CheckoutCharge
Enclosing class:
BookingRules.BookingRule

public static class BookingRules.BookingRule.CheckoutCharge
extends java.lang.Object

The charges that may apply to an early or late checkout. 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="CheckoutCharge" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="xs:float" use="optional" name="Percent"/>
     <xs:attribute use="optional" name="Type">
       <xs:simpleType>
         <!-- Reference to inner class Type -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:int" use="optional" name="NmbrOfNights"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="BalanceOfStayInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class BookingRules.BookingRule.CheckoutCharge.Type
          Schema fragment(s) for this class:
 
Constructor Summary
BookingRules.BookingRule.CheckoutCharge()
           
 
Method Summary
 java.lang.Boolean getBalanceOfStayInd()
          Get the 'BalanceOfStayInd' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 java.lang.Integer getNmbrOfNights()
          Get the 'NmbrOfNights' attribute value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 BookingRules.BookingRule.CheckoutCharge.Type getType()
          Get the 'Type' attribute value.
 void setBalanceOfStayInd(java.lang.Boolean balanceOfStayInd)
          Set the 'BalanceOfStayInd' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setNmbrOfNights(java.lang.Integer nmbrOfNights)
          Set the 'NmbrOfNights' attribute value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 void setType(BookingRules.BookingRule.CheckoutCharge.Type type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingRules.BookingRule.CheckoutCharge

public BookingRules.BookingRule.CheckoutCharge()
Method Detail

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
currencyAmountGroup -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. The percentage of the room rate that applies to an early/late checkout.

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. The percentage of the room rate that applies to an early/late checkout.

Parameters:
percent -

getType

public BookingRules.BookingRule.CheckoutCharge.Type getType()
Get the 'Type' attribute value. To specify if the charge applies to early or late checkout.

Returns:
value

setType

public void setType(BookingRules.BookingRule.CheckoutCharge.Type type)
Set the 'Type' attribute value. To specify if the charge applies to early or late checkout.

Parameters:
type -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the enumerated list or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the enumerated list or to remove an obsolete item.

Parameters:
codeInfoGroup -

getNmbrOfNights

public java.lang.Integer getNmbrOfNights()
Get the 'NmbrOfNights' attribute value. The number of nights used to calculate the fee amount.

Returns:
value

setNmbrOfNights

public void setNmbrOfNights(java.lang.Integer nmbrOfNights)
Set the 'NmbrOfNights' attribute value. The number of nights used to calculate the fee amount.

Parameters:
nmbrOfNights -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the checkout charge applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Type.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the checkout charge applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Type.

Parameters:
existsCode -

getBalanceOfStayInd

public java.lang.Boolean getBalanceOfStayInd()
Get the 'BalanceOfStayInd' attribute value. If true the charge for early checkout is the amount that would be charged for the remaining time of the original reservation.

Returns:
value

setBalanceOfStayInd

public void setBalanceOfStayInd(java.lang.Boolean balanceOfStayInd)
Set the 'BalanceOfStayInd' attribute value. If true the charge for early checkout is the amount that would be charged for the remaining time of the original reservation.

Parameters:
balanceOfStayInd -