org.ota.pkg
Class AgentCommissionGroup

java.lang.Object
  extended by org.ota.pkg.AgentCommissionGroup

public class AgentCommissionGroup
extends java.lang.Object

Defines the fee earned by the agent for the booking. 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="AgentCommissionGroup">
   <xs:attribute type="xs:string" use="optional" name="Description"/>
   <xs:attribute type="xs:float" use="optional" name="Rate"/>
   <xs:attribute use="optional" name="CommissionType">
     <xs:simpleType>
       <!-- Reference to inner class Commission -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class AgentCommissionGroup.Commission
          Schema fragment(s) for this class:
 
Constructor Summary
AgentCommissionGroup()
           
 
Method Summary
 AgentCommissionGroup.Commission getCommission()
          Get the 'CommissionType' attribute value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.Float getRate()
          Get the 'Rate' attribute value.
 void setCommission(AgentCommissionGroup.Commission commission)
          Set the 'CommissionType' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setRate(java.lang.Float rate)
          Set the 'Rate' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentCommissionGroup

public AgentCommissionGroup()
Method Detail

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. A description for a commission item.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. A description for a commission item.

Parameters:
description -

getRate

public java.lang.Float getRate()
Get the 'Rate' attribute value. Value of commission as a percentage - present when Rate Code indicates a percentage.

Returns:
value

setRate

public void setRate(java.lang.Float rate)
Set the 'Rate' attribute value. Value of commission as a percentage - present when Rate Code indicates a percentage.

Parameters:
rate -

getCommission

public AgentCommissionGroup.Commission getCommission()
Get the 'CommissionType' attribute value. Indicates whether the Rate is a percentage (P) or a value (V).

Returns:
value

setCommission

public void setCommission(AgentCommissionGroup.Commission commission)
Set the 'CommissionType' attribute value. Indicates whether the Rate is a percentage (P) or a value (V).

Parameters:
commission -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Identifies the currency in which the commission is calculated.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Identifies the currency in which the commission is calculated.

Parameters:
currencyAmountGroup -