org.ota.shared
Class ChargeUnitGroup

java.lang.Object
  extended by org.ota.shared.ChargeUnitGroup

public class ChargeUnitGroup
extends java.lang.Object

Specifies charge information by unit (e.g., room, person, item) and frequency (e.g., daily, weekly, stay). Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ChargeUnitGroup">
   <xs:attribute type="xs:string" use="optional" name="ChargeUnit"/>
   <xs:attribute type="xs:string" use="optional" name="ChargeFrequency"/>
   <xs:attribute type="xs:string" use="optional" name="ChargeUnitExempt"/>
   <xs:attribute type="xs:string" use="optional" name="ChargeFrequencyExempt"/>
   <xs:attribute type="xs:string" use="optional" name="MaxChargeUnitApplies"/>
   <xs:attribute type="xs:string" use="optional" name="MaxChargeFrequencyApplies"/>
 </xs:attributeGroup>
 


Constructor Summary
ChargeUnitGroup()
           
 
Method Summary
 java.lang.String getChargeFrequency()
          Get the 'ChargeFrequency' attribute value.
 java.lang.String getChargeFrequencyExempt()
          Get the 'ChargeFrequencyExempt' attribute value.
 java.lang.String getChargeUnit()
          Get the 'ChargeUnit' attribute value.
 java.lang.String getChargeUnitExempt()
          Get the 'ChargeUnitExempt' attribute value.
 java.lang.String getMaxChargeFrequencyApplies()
          Get the 'MaxChargeFrequencyApplies' attribute value.
 java.lang.String getMaxChargeUnitApplies()
          Get the 'MaxChargeUnitApplies' attribute value.
 void setChargeFrequency(java.lang.String chargeFrequency)
          Set the 'ChargeFrequency' attribute value.
 void setChargeFrequencyExempt(java.lang.String chargeFrequencyExempt)
          Set the 'ChargeFrequencyExempt' attribute value.
 void setChargeUnit(java.lang.String chargeUnit)
          Set the 'ChargeUnit' attribute value.
 void setChargeUnitExempt(java.lang.String chargeUnitExempt)
          Set the 'ChargeUnitExempt' attribute value.
 void setMaxChargeFrequencyApplies(java.lang.String maxChargeFrequencyApplies)
          Set the 'MaxChargeFrequencyApplies' attribute value.
 void setMaxChargeUnitApplies(java.lang.String maxChargeUnitApplies)
          Set the 'MaxChargeUnitApplies' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargeUnitGroup

public ChargeUnitGroup()
Method Detail

getChargeUnit

public java.lang.String getChargeUnit()
Get the 'ChargeUnit' attribute value. This is the unit for which the charge applies (e.g. room, person, seat). Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setChargeUnit

public void setChargeUnit(java.lang.String chargeUnit)
Set the 'ChargeUnit' attribute value. This is the unit for which the charge applies (e.g. room, person, seat). Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
chargeUnit -

getChargeFrequency

public java.lang.String getChargeFrequency()
Get the 'ChargeFrequency' attribute value. This is the timeframe used to apply the charge during the course of the reservation (e.g. Daily, Weekly, Stay). Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setChargeFrequency

public void setChargeFrequency(java.lang.String chargeFrequency)
Set the 'ChargeFrequency' attribute value. This is the timeframe used to apply the charge during the course of the reservation (e.g. Daily, Weekly, Stay). Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
chargeFrequency -

getChargeUnitExempt

public java.lang.String getChargeUnitExempt()
Get the 'ChargeUnitExempt' attribute value. Number of units permitted before charges are applied (e.g., more than 4 persons).

Returns:
value

setChargeUnitExempt

public void setChargeUnitExempt(java.lang.String chargeUnitExempt)
Set the 'ChargeUnitExempt' attribute value. Number of units permitted before charges are applied (e.g., more than 4 persons).

Parameters:
chargeUnitExempt -

getChargeFrequencyExempt

public java.lang.String getChargeFrequencyExempt()
Get the 'ChargeFrequencyExempt' attribute value. ChargeFrequency exemptions before charges are applied (e.g. after 2 nights).

Returns:
value

setChargeFrequencyExempt

public void setChargeFrequencyExempt(java.lang.String chargeFrequencyExempt)
Set the 'ChargeFrequencyExempt' attribute value. ChargeFrequency exemptions before charges are applied (e.g. after 2 nights).

Parameters:
chargeFrequencyExempt -

getMaxChargeUnitApplies

public java.lang.String getMaxChargeUnitApplies()
Get the 'MaxChargeUnitApplies' attribute value. Maximum number of Units for which the charge will be applied (e.g., waive charges above 10 rooms).

Returns:
value

setMaxChargeUnitApplies

public void setMaxChargeUnitApplies(java.lang.String maxChargeUnitApplies)
Set the 'MaxChargeUnitApplies' attribute value. Maximum number of Units for which the charge will be applied (e.g., waive charges above 10 rooms).

Parameters:
maxChargeUnitApplies -

getMaxChargeFrequencyApplies

public java.lang.String getMaxChargeFrequencyApplies()
Get the 'MaxChargeFrequencyApplies' attribute value. Maximum number of times the charge will be applied (e.g. waive charges above 30 nights).

Returns:
value

setMaxChargeFrequencyApplies

public void setMaxChargeFrequencyApplies(java.lang.String maxChargeFrequencyApplies)
Set the 'MaxChargeFrequencyApplies' attribute value. Maximum number of times the charge will be applied (e.g. waive charges above 30 nights).

Parameters:
maxChargeFrequencyApplies -