org.ota.hotel
Class HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge
Enclosing class:
HotelDescriptiveContent.Policies.Policy.CheckoutCharges

public static class HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge
extends java.lang.Object

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" maxOccurs="2">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="Description" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <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 HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge.Type
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge()
           
 
Method Summary
 void addDescription(Paragraph item)
          Add a 'Description' element item.
 void clearDescriptions()
          Remove all 'Description' element items.
 java.lang.Boolean getBalanceOfStayInd()
          Get the 'BalanceOfStayInd' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 Paragraph getDescription(int index)
          Get 'Description' element item by position.
 java.util.List<Paragraph> getDescriptions()
          Get the list of 'Description' element items.
 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.
 HotelDescriptiveContent.Policies.Policy.CheckoutCharges.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 setDescriptions(java.util.List<Paragraph> list)
          Set the list of 'Description' element items.
 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(HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge.Type type)
          Set the 'Type' attribute value.
 int sizeDescriptions()
          Get the number of 'Description' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge

public HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge()
Method Detail

getDescriptions

public java.util.List<Paragraph> getDescriptions()
Get the list of 'Description' element items.

Returns:
list

setDescriptions

public void setDescriptions(java.util.List<Paragraph> list)
Set the list of 'Description' element items.

Parameters:
list -

sizeDescriptions

public int sizeDescriptions()
Get the number of 'Description' element items.

Returns:
count

addDescription

public void addDescription(Paragraph item)
Add a 'Description' element item.

Parameters:
item -

getDescription

public Paragraph getDescription(int index)
Get 'Description' element item by position.

Parameters:
index -
Returns:
item

clearDescriptions

public void clearDescriptions()
Remove all 'Description' element items.


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.

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value.

Parameters:
percent -

getType

public HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge.Type getType()
Get the 'Type' attribute value.

Returns:
value

setType

public void setType(HotelDescriptiveContent.Policies.Policy.CheckoutCharges.CheckoutCharge.Type type)
Set the 'Type' attribute value.

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 -