org.ota.hotel
Class DerivedRatePlanGroup

java.lang.Object
  extended by org.ota.hotel.DerivedRatePlanGroup

public class DerivedRatePlanGroup
extends java.lang.Object

Provides detailed information for how this rate is derived. 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="DerivedRatePlanGroup">
   <xs:attribute type="xs:string" use="optional" name="BaseRatePlanCode"/>
   <xs:attribute type="xs:float" use="optional" name="AdjustedAmount"/>
   <xs:attribute type="xs:float" use="optional" name="AdjustedPercentage"/>
   <xs:attribute type="xs:float" use="optional" name="FloorAmount"/>
   <xs:attribute type="xs:float" use="optional" name="CeilingAmount"/>
   <xs:attribute type="xs:boolean" use="optional" name="AdjustUpIndicator"/>
 </xs:attributeGroup>
 


Constructor Summary
DerivedRatePlanGroup()
           
 
Method Summary
 java.lang.Float getAdjustedAmount()
          Get the 'AdjustedAmount' attribute value.
 java.lang.Float getAdjustedPercentage()
          Get the 'AdjustedPercentage' attribute value.
 java.lang.Boolean getAdjustUpIndicator()
          Get the 'AdjustUpIndicator' attribute value.
 java.lang.String getBaseRatePlanCode()
          Get the 'BaseRatePlanCode' attribute value.
 java.lang.Float getCeilingAmount()
          Get the 'CeilingAmount' attribute value.
 java.lang.Float getFloorAmount()
          Get the 'FloorAmount' attribute value.
 void setAdjustedAmount(java.lang.Float adjustedAmount)
          Set the 'AdjustedAmount' attribute value.
 void setAdjustedPercentage(java.lang.Float adjustedPercentage)
          Set the 'AdjustedPercentage' attribute value.
 void setAdjustUpIndicator(java.lang.Boolean adjustUpIndicator)
          Set the 'AdjustUpIndicator' attribute value.
 void setBaseRatePlanCode(java.lang.String baseRatePlanCode)
          Set the 'BaseRatePlanCode' attribute value.
 void setCeilingAmount(java.lang.Float ceilingAmount)
          Set the 'CeilingAmount' attribute value.
 void setFloorAmount(java.lang.Float floorAmount)
          Set the 'FloorAmount' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerivedRatePlanGroup

public DerivedRatePlanGroup()
Method Detail

getBaseRatePlanCode

public java.lang.String getBaseRatePlanCode()
Get the 'BaseRatePlanCode' attribute value. The rate plan this rate plan is derived from.

Returns:
value

setBaseRatePlanCode

public void setBaseRatePlanCode(java.lang.String baseRatePlanCode)
Set the 'BaseRatePlanCode' attribute value. The rate plan this rate plan is derived from.

Parameters:
baseRatePlanCode -

getAdjustedAmount

public java.lang.Float getAdjustedAmount()
Get the 'AdjustedAmount' attribute value. The amount which should be added to the base rate plan to determine the price of this derived rate plan.

Returns:
value

setAdjustedAmount

public void setAdjustedAmount(java.lang.Float adjustedAmount)
Set the 'AdjustedAmount' attribute value. The amount which should be added to the base rate plan to determine the price of this derived rate plan.

Parameters:
adjustedAmount -

getAdjustedPercentage

public java.lang.Float getAdjustedPercentage()
Get the 'AdjustedPercentage' attribute value. The percentage off the base rate plan amount used to determine the price of this derived rate plan.

Returns:
value

setAdjustedPercentage

public void setAdjustedPercentage(java.lang.Float adjustedPercentage)
Set the 'AdjustedPercentage' attribute value. The percentage off the base rate plan amount used to determine the price of this derived rate plan.

Parameters:
adjustedPercentage -

getFloorAmount

public java.lang.Float getFloorAmount()
Get the 'FloorAmount' attribute value. The lowest amount for which this derived rate plan should be sold.

Returns:
value

setFloorAmount

public void setFloorAmount(java.lang.Float floorAmount)
Set the 'FloorAmount' attribute value. The lowest amount for which this derived rate plan should be sold.

Parameters:
floorAmount -

getCeilingAmount

public java.lang.Float getCeilingAmount()
Get the 'CeilingAmount' attribute value. The highest amount for which this derived rate plan should be sold.

Returns:
value

setCeilingAmount

public void setCeilingAmount(java.lang.Float ceilingAmount)
Set the 'CeilingAmount' attribute value. The highest amount for which this derived rate plan should be sold.

Parameters:
ceilingAmount -

getAdjustUpIndicator

public java.lang.Boolean getAdjustUpIndicator()
Get the 'AdjustUpIndicator' attribute value. When true, the adjusted amount or adjusted percentage is added to the amount specified for the base rate plan to determine the derived rate amount. When false, the adjusted amount or adjusted percentage is subtracted from the amount specified for the base rate plan to determine the derived rate amount.

Returns:
value

setAdjustUpIndicator

public void setAdjustUpIndicator(java.lang.Boolean adjustUpIndicator)
Set the 'AdjustUpIndicator' attribute value. When true, the adjusted amount or adjusted percentage is added to the amount specified for the base rate plan to determine the derived rate amount. When false, the adjusted amount or adjusted percentage is subtracted from the amount specified for the base rate plan to determine the derived rate amount.

Parameters:
adjustUpIndicator -