org.ota.hotel
Class EventCharge.EventChargeInner

java.lang.Object
  extended by org.ota.hotel.EventCharge.EventChargeInner
Enclosing class:
EventCharge

public static class EventCharge.EventChargeInner
extends java.lang.Object

A specific charge associated to an event. 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="EventCharge" maxOccurs="999">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:TaxesType" name="Taxes"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="EventCharge"/>
     <xs:attribute type="xs:string" use="optional" name="PrimaryChargeType"/>
     <xs:attribute type="xs:string" use="optional" name="SecondaryChargeType"/>
     <xs:attribute type="xs:string" use="optional" name="AppliedPercentageEventCharge"/>
     <xs:attribute type="xs:string" use="optional" name="MinChargeAmount"/>
     <xs:attribute type="xs:string" use="optional" name="MaxChargeAmount"/>
     <xs:attribute type="xs:string" use="optional" name="AverageChargeAmount"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
EventCharge.EventChargeInner()
           
 
Method Summary
 java.lang.String getAppliedPercentageEventCharge()
          Get the 'AppliedPercentageEventCharge' attribute value.
 java.lang.String getAverageChargeAmount()
          Get the 'AverageChargeAmount' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 java.lang.String getEventCharge()
          Get the 'EventCharge' attribute value.
 java.lang.String getMaxChargeAmount()
          Get the 'MaxChargeAmount' attribute value.
 java.lang.String getMinChargeAmount()
          Get the 'MinChargeAmount' attribute value.
 java.lang.String getPrimaryCharge()
          Get the 'PrimaryChargeType' attribute value.
 java.lang.String getSecondaryCharge()
          Get the 'SecondaryChargeType' attribute value.
 Taxes getTaxes()
          Get the 'Taxes' element value.
 void setAppliedPercentageEventCharge(java.lang.String appliedPercentageEventCharge)
          Set the 'AppliedPercentageEventCharge' attribute value.
 void setAverageChargeAmount(java.lang.String averageChargeAmount)
          Set the 'AverageChargeAmount' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setEventCharge(java.lang.String eventCharge)
          Set the 'EventCharge' attribute value.
 void setMaxChargeAmount(java.lang.String maxChargeAmount)
          Set the 'MaxChargeAmount' attribute value.
 void setMinChargeAmount(java.lang.String minChargeAmount)
          Set the 'MinChargeAmount' attribute value.
 void setPrimaryCharge(java.lang.String primaryCharge)
          Set the 'PrimaryChargeType' attribute value.
 void setSecondaryCharge(java.lang.String secondaryCharge)
          Set the 'SecondaryChargeType' attribute value.
 void setTaxes(Taxes taxes)
          Set the 'Taxes' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventCharge.EventChargeInner

public EventCharge.EventChargeInner()
Method Detail

getTaxes

public Taxes getTaxes()
Get the 'Taxes' element value. Taxes associated to this event charge.

Returns:
value

setTaxes

public void setTaxes(Taxes taxes)
Set the 'Taxes' element value. Taxes associated to this event charge.

Parameters:
taxes -

getEventCharge

public java.lang.String getEventCharge()
Get the 'EventCharge' attribute value. This describes charges related to an event (e.g. set-up; room rental; break-out; breakfast; lunch; dinner; miscellaneous). Refer to OpenTravel Code List Event Charge (EVT).

Returns:
value

setEventCharge

public void setEventCharge(java.lang.String eventCharge)
Set the 'EventCharge' attribute value. This describes charges related to an event (e.g. set-up; room rental; break-out; breakfast; lunch; dinner; miscellaneous). Refer to OpenTravel Code List Event Charge (EVT).

Parameters:
eventCharge -

getPrimaryCharge

public java.lang.String getPrimaryCharge()
Get the 'PrimaryChargeType' attribute value. This is used to indicate the basis of the charge (e.g. per person). Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setPrimaryCharge

public void setPrimaryCharge(java.lang.String primaryCharge)
Set the 'PrimaryChargeType' attribute value. This is used to indicate the basis of the charge (e.g. per person). Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
primaryCharge -

getSecondaryCharge

public java.lang.String getSecondaryCharge()
Get the 'SecondaryChargeType' attribute value. This is used in conjunction with the PrimaryChargeType to indicate the basis of the charge (e.g. per person, per day, where per person is the PrimaryChargeType and per day is the SecondaryChargeType). Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setSecondaryCharge

public void setSecondaryCharge(java.lang.String secondaryCharge)
Set the 'SecondaryChargeType' attribute value. This is used in conjunction with the PrimaryChargeType to indicate the basis of the charge (e.g. per person, per day, where per person is the PrimaryChargeType and per day is the SecondaryChargeType). Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
secondaryCharge -

getAppliedPercentageEventCharge

public java.lang.String getAppliedPercentageEventCharge()
Get the 'AppliedPercentageEventCharge' attribute value. This is used when MinChargeAmount and MaxChargeAmount are percentages and it refers to what the percentage is applied. For example, the EventCharge may be gratuity, the AppliedPercentageEventCharge is Food and Beverage, and the MinChargeAmount is 15%, indicating the 15% gratutity applies to all Food and Beverage charges. Refer to OpenTravel Code List Event Charge (EVT).

Returns:
value

setAppliedPercentageEventCharge

public void setAppliedPercentageEventCharge(java.lang.String appliedPercentageEventCharge)
Set the 'AppliedPercentageEventCharge' attribute value. This is used when MinChargeAmount and MaxChargeAmount are percentages and it refers to what the percentage is applied. For example, the EventCharge may be gratuity, the AppliedPercentageEventCharge is Food and Beverage, and the MinChargeAmount is 15%, indicating the 15% gratutity applies to all Food and Beverage charges. Refer to OpenTravel Code List Event Charge (EVT).

Parameters:
appliedPercentageEventCharge -

getMinChargeAmount

public java.lang.String getMinChargeAmount()
Get the 'MinChargeAmount' attribute value. The minimum possible amount or percent as related to the EventCharge.

Returns:
value

setMinChargeAmount

public void setMinChargeAmount(java.lang.String minChargeAmount)
Set the 'MinChargeAmount' attribute value. The minimum possible amount or percent as related to the EventCharge.

Parameters:
minChargeAmount -

getMaxChargeAmount

public java.lang.String getMaxChargeAmount()
Get the 'MaxChargeAmount' attribute value. The maximum possible charge for the event in the requested date range.

Returns:
value

setMaxChargeAmount

public void setMaxChargeAmount(java.lang.String maxChargeAmount)
Set the 'MaxChargeAmount' attribute value. The maximum possible charge for the event in the requested date range.

Parameters:
maxChargeAmount -

getAverageChargeAmount

public java.lang.String getAverageChargeAmount()
Get the 'AverageChargeAmount' attribute value.

Returns:
value

setAverageChargeAmount

public void setAverageChargeAmount(java.lang.String averageChargeAmount)
Set the 'AverageChargeAmount' attribute value.

Parameters:
averageChargeAmount -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -