org.ota.hotel
Class CommissionEvent

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

public class CommissionEvent
extends java.lang.Object

The CommissionEvent element is used to identify the commission to be paid to a central server. The Commission Event is initiated on the schedule that the hotel typically pays commissions (e.g.: following night audit), and a CommissionEvent occurs for every check out. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommissionEventType">
   <xs:sequence>
     <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
     <xs:element type="ns:ProfileCertificationType" name="ProfileCertification" minOccurs="0"/>
     <xs:element name="Profiles" minOccurs="0">
       <!-- Reference to inner class Profiles -->
     </xs:element>
     <xs:element type="ns:PersonNameType" name="Payee" minOccurs="0"/>
     <xs:element type="ns:AddressType" name="PayeeAddress" minOccurs="0"/>
     <xs:element type="ns:CommissionsType" name="Commissions" minOccurs="0"/>
     <xs:element name="GuestNames" minOccurs="0">
       <!-- Reference to inner class GuestNames -->
     </xs:element>
     <xs:element name="HotelReference" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ConfirmationID"/>
   <xs:attribute type="xs:string" use="optional" name="ConfirmationOriginatorCode"/>
   <xs:attribute type="xs:string" use="optional" name="CommissionOriginatorCode"/>
   <xs:attribute type="xs:string" use="optional" name="ReservationID"/>
   <xs:attribute type="xs:date" use="optional" name="OriginalBookingDate"/>
   <xs:attribute type="xs:string" use="optional" name="PreferredPaymentCurrency"/>
   <xs:attribute type="xs:string" use="optional" name="MarketCode"/>
   <xs:attribute type="xs:string" use="optional" name="BookingSource"/>
   <xs:attribute type="xs:int" use="optional" name="NumberOfRooms"/>
   <xs:attribute type="xs:string" use="optional" name="RoomInventoryCode"/>
   <xs:attribute type="xs:string" use="optional" name="PromotionCode"/>
 </xs:complexType>
 


Nested Class Summary
static class CommissionEvent.GuestNames
          A collection of guest names.
static class CommissionEvent.Profiles
          A collection of profiles.
 
Constructor Summary
CommissionEvent()
           
 
Method Summary
 java.lang.String getBookingSource()
          Get the 'BookingSource' attribute value.
 java.lang.String getCommissionOriginatorCode()
          Get the 'CommissionOriginatorCode' attribute value.
 Commissions getCommissions()
          Get the 'Commissions' element value.
 java.lang.String getConfirmationID()
          Get the 'ConfirmationID' attribute value.
 java.lang.String getConfirmationOriginatorCode()
          Get the 'ConfirmationOriginatorCode' attribute value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 CommissionEvent.GuestNames getGuestNames()
          Get the 'GuestNames' element value.
 HotelReferenceGroup getHotelReference()
          Get the 'HotelReferenceGroup' attributeGroup value.
 java.lang.String getMarketCode()
          Get the 'MarketCode' attribute value.
 java.lang.Integer getNumberOfRooms()
          Get the 'NumberOfRooms' attribute value.
 java.sql.Date getOriginalBookingDate()
          Get the 'OriginalBookingDate' attribute value.
 PersonName getPayee()
          Get the 'Payee' element value.
 Address getPayeeAddress()
          Get the 'PayeeAddress' element value.
 java.lang.String getPreferredPaymentCurrency()
          Get the 'PreferredPaymentCurrency' attribute value.
 ProfileCertification getProfileCertification()
          Get the 'ProfileCertification' element value.
 CommissionEvent.Profiles getProfiles()
          Get the 'Profiles' element value.
 java.lang.String getPromotionCode()
          Get the 'PromotionCode' attribute value.
 java.lang.String getReservationID()
          Get the 'ReservationID' attribute value.
 java.lang.String getRoomInventoryCode()
          Get the 'RoomInventoryCode' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setBookingSource(java.lang.String bookingSource)
          Set the 'BookingSource' attribute value.
 void setCommissionOriginatorCode(java.lang.String commissionOriginatorCode)
          Set the 'CommissionOriginatorCode' attribute value.
 void setCommissions(Commissions commissions)
          Set the 'Commissions' element value.
 void setConfirmationID(java.lang.String confirmationID)
          Set the 'ConfirmationID' attribute value.
 void setConfirmationOriginatorCode(java.lang.String confirmationOriginatorCode)
          Set the 'ConfirmationOriginatorCode' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setGuestNames(CommissionEvent.GuestNames guestNames)
          Set the 'GuestNames' element value.
 void setHotelReference(HotelReferenceGroup hotelReference)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setMarketCode(java.lang.String marketCode)
          Set the 'MarketCode' attribute value.
 void setNumberOfRooms(java.lang.Integer numberOfRooms)
          Set the 'NumberOfRooms' attribute value.
 void setOriginalBookingDate(java.sql.Date originalBookingDate)
          Set the 'OriginalBookingDate' attribute value.
 void setPayee(PersonName payee)
          Set the 'Payee' element value.
 void setPayeeAddress(Address payeeAddress)
          Set the 'PayeeAddress' element value.
 void setPreferredPaymentCurrency(java.lang.String preferredPaymentCurrency)
          Set the 'PreferredPaymentCurrency' attribute value.
 void setProfileCertification(ProfileCertification profileCertification)
          Set the 'ProfileCertification' element value.
 void setProfiles(CommissionEvent.Profiles profiles)
          Set the 'Profiles' element value.
 void setPromotionCode(java.lang.String promotionCode)
          Set the 'PromotionCode' attribute value.
 void setReservationID(java.lang.String reservationID)
          Set the 'ReservationID' attribute value.
 void setRoomInventoryCode(java.lang.String roomInventoryCode)
          Set the 'RoomInventoryCode' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommissionEvent

public CommissionEvent()
Method Detail

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value.

Parameters:
uniqueID -

getProfileCertification

public ProfileCertification getProfileCertification()
Get the 'ProfileCertification' element value. The ProfileCertification element identifies the travel agency to be paid by providing the IATA number or ARC certifying number. (Implementation note: This attribute is optional, but if it is not set, the Profile attribute must be set.)

Returns:
value

setProfileCertification

public void setProfileCertification(ProfileCertification profileCertification)
Set the 'ProfileCertification' element value. The ProfileCertification element identifies the travel agency to be paid by providing the IATA number or ARC certifying number. (Implementation note: This attribute is optional, but if it is not set, the Profile attribute must be set.)

Parameters:
profileCertification -

getProfiles

public CommissionEvent.Profiles getProfiles()
Get the 'Profiles' element value.

Returns:
value

setProfiles

public void setProfiles(CommissionEvent.Profiles profiles)
Set the 'Profiles' element value.

Parameters:
profiles -

getPayee

public PersonName getPayee()
Get the 'Payee' element value.

Returns:
value

setPayee

public void setPayee(PersonName payee)
Set the 'Payee' element value.

Parameters:
payee -

getPayeeAddress

public Address getPayeeAddress()
Get the 'PayeeAddress' element value.

Returns:
value

setPayeeAddress

public void setPayeeAddress(Address payeeAddress)
Set the 'PayeeAddress' element value.

Parameters:
payeeAddress -

getCommissions

public Commissions getCommissions()
Get the 'Commissions' element value. A collection of Commission elements.

Returns:
value

setCommissions

public void setCommissions(Commissions commissions)
Set the 'Commissions' element value. A collection of Commission elements.

Parameters:
commissions -

getGuestNames

public CommissionEvent.GuestNames getGuestNames()
Get the 'GuestNames' element value.

Returns:
value

setGuestNames

public void setGuestNames(CommissionEvent.GuestNames guestNames)
Set the 'GuestNames' element value.

Parameters:
guestNames -

getHotelReference

public HotelReferenceGroup getHotelReference()
Get the 'HotelReferenceGroup' attributeGroup value. The hotel reference identifies the specific hotel for which the commission applies.

Returns:
value

setHotelReference

public void setHotelReference(HotelReferenceGroup hotelReference)
Set the 'HotelReferenceGroup' attributeGroup value. The hotel reference identifies the specific hotel for which the commission applies.

Parameters:
hotelReference -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

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

Parameters:
currencyAmountGroup -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getConfirmationID

public java.lang.String getConfirmationID()
Get the 'ConfirmationID' attribute value.

Returns:
value

setConfirmationID

public void setConfirmationID(java.lang.String confirmationID)
Set the 'ConfirmationID' attribute value.

Parameters:
confirmationID -

getConfirmationOriginatorCode

public java.lang.String getConfirmationOriginatorCode()
Get the 'ConfirmationOriginatorCode' attribute value.

Returns:
value

setConfirmationOriginatorCode

public void setConfirmationOriginatorCode(java.lang.String confirmationOriginatorCode)
Set the 'ConfirmationOriginatorCode' attribute value.

Parameters:
confirmationOriginatorCode -

getCommissionOriginatorCode

public java.lang.String getCommissionOriginatorCode()
Get the 'CommissionOriginatorCode' attribute value.

Returns:
value

setCommissionOriginatorCode

public void setCommissionOriginatorCode(java.lang.String commissionOriginatorCode)
Set the 'CommissionOriginatorCode' attribute value.

Parameters:
commissionOriginatorCode -

getReservationID

public java.lang.String getReservationID()
Get the 'ReservationID' attribute value.

Returns:
value

setReservationID

public void setReservationID(java.lang.String reservationID)
Set the 'ReservationID' attribute value.

Parameters:
reservationID -

getOriginalBookingDate

public java.sql.Date getOriginalBookingDate()
Get the 'OriginalBookingDate' attribute value.

Returns:
value

setOriginalBookingDate

public void setOriginalBookingDate(java.sql.Date originalBookingDate)
Set the 'OriginalBookingDate' attribute value.

Parameters:
originalBookingDate -

getPreferredPaymentCurrency

public java.lang.String getPreferredPaymentCurrency()
Get the 'PreferredPaymentCurrency' attribute value. Indicates the preferred currency of the commission to be paid.

Returns:
value

setPreferredPaymentCurrency

public void setPreferredPaymentCurrency(java.lang.String preferredPaymentCurrency)
Set the 'PreferredPaymentCurrency' attribute value. Indicates the preferred currency of the commission to be paid.

Parameters:
preferredPaymentCurrency -

getMarketCode

public java.lang.String getMarketCode()
Get the 'MarketCode' attribute value.

Returns:
value

setMarketCode

public void setMarketCode(java.lang.String marketCode)
Set the 'MarketCode' attribute value.

Parameters:
marketCode -

getBookingSource

public java.lang.String getBookingSource()
Get the 'BookingSource' attribute value.

Returns:
value

setBookingSource

public void setBookingSource(java.lang.String bookingSource)
Set the 'BookingSource' attribute value.

Parameters:
bookingSource -

getNumberOfRooms

public java.lang.Integer getNumberOfRooms()
Get the 'NumberOfRooms' attribute value.

Returns:
value

setNumberOfRooms

public void setNumberOfRooms(java.lang.Integer numberOfRooms)
Set the 'NumberOfRooms' attribute value.

Parameters:
numberOfRooms -

getRoomInventoryCode

public java.lang.String getRoomInventoryCode()
Get the 'RoomInventoryCode' attribute value.

Returns:
value

setRoomInventoryCode

public void setRoomInventoryCode(java.lang.String roomInventoryCode)
Set the 'RoomInventoryCode' attribute value.

Parameters:
roomInventoryCode -

getPromotionCode

public java.lang.String getPromotionCode()
Get the 'PromotionCode' attribute value.

Returns:
value

setPromotionCode

public void setPromotionCode(java.lang.String promotionCode)
Set the 'PromotionCode' attribute value.

Parameters:
promotionCode -