org.ota.hotel
Class StayInfos.StayInfo.RevenueCategories.RevenueCategory

java.lang.Object
  extended by org.ota.hotel.StayInfos.StayInfo.RevenueCategories.RevenueCategory
Enclosing class:
StayInfos.StayInfo.RevenueCategories

public static class StayInfos.StayInfo.RevenueCategories.RevenueCategory
extends java.lang.Object

The classifications of revenue data associated with the StayInfo report. A RevenueCategory provide a way to classify guest financial stay data and analyze guest spending for a certain category (e.g., food and beverage, room, etc.) Schema fragment(s) for this class:

 <xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="RevenueCategoryType" name="RevenueCategory" maxOccurs="99"/>
 
 <xs:complexType xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RevenueCategoryType">
   <xs:sequence>
     <xs:element name="SummaryAmount" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="CurrencyAmountGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="RevenueDetailsType" name="RevenueDetails" minOccurs="0">
       <!-- Reference to inner class RevenueDetails -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="RevenueCategoryCode"/>
 </xs:complexType>
 


Nested Class Summary
static class StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails
          A collection of revenue details.
 
Constructor Summary
StayInfos.StayInfo.RevenueCategories.RevenueCategory()
           
 
Method Summary
 java.lang.String getRevenueCategoryCode()
          Get the 'RevenueCategoryCode' attribute value.
 StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails getRevenueDetails()
          Get the 'RevenueDetails' element value.
 CurrencyAmountGroup getSummaryAmount()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 void setRevenueCategoryCode(java.lang.String revenueCategoryCode)
          Set the 'RevenueCategoryCode' attribute value.
 void setRevenueDetails(StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails revenueDetails)
          Set the 'RevenueDetails' element value.
 void setSummaryAmount(CurrencyAmountGroup summaryAmount)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayInfos.StayInfo.RevenueCategories.RevenueCategory

public StayInfos.StayInfo.RevenueCategories.RevenueCategory()
Method Detail

getSummaryAmount

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

Returns:
value

setSummaryAmount

public void setSummaryAmount(CurrencyAmountGroup summaryAmount)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
summaryAmount -

getRevenueDetails

public StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails getRevenueDetails()
Get the 'RevenueDetails' element value. The classifications of revenue data associated with the StayInfo report. A RevenueCategory provide a way to classify guest financial stay data and analyze guest spending for a certain category (e.g., food and beverage, room, etc.)

Returns:
value

setRevenueDetails

public void setRevenueDetails(StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails revenueDetails)
Set the 'RevenueDetails' element value. The classifications of revenue data associated with the StayInfo report. A RevenueCategory provide a way to classify guest financial stay data and analyze guest spending for a certain category (e.g., food and beverage, room, etc.)

Parameters:
revenueDetails -

getRevenueCategoryCode

public java.lang.String getRevenueCategoryCode()
Get the 'RevenueCategoryCode' attribute value. Describes the type of revenue generated. Refer to OpenTravel Code List Revenue Category Code (RCC).

Returns:
value

setRevenueCategoryCode

public void setRevenueCategoryCode(java.lang.String revenueCategoryCode)
Set the 'RevenueCategoryCode' attribute value. Describes the type of revenue generated. Refer to OpenTravel Code List Revenue Category Code (RCC).

Parameters:
revenueCategoryCode -