org.ota.shared
Class DiscountInfoGroup

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

public class DiscountInfoGroup
extends java.lang.Object

Used to provide details of either the discount or promotion. 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="DiscountInfoGroup">
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   <xs:attribute type="xs:float" use="optional" name="Percent"/>
   <xs:attribute type="xs:string" use="optional" name="ID"/>
   <xs:attribute type="xs:string" use="optional" name="Description"/>
 </xs:attributeGroup>
 


Constructor Summary
DiscountInfoGroup()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscountInfoGroup

public DiscountInfoGroup()
Method Detail

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The discount amount.

Returns:
value

setCurrencyAmountGroup

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

Parameters:
currencyAmountGroup -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. The discount as a percent.

Returns:
value

setPercent

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

Parameters:
percent -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifier for the discount.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifier for the discount.

Parameters:
ID -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. Textual information regarding the discount.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. Textual information regarding the discount.

Parameters:
description -