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

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

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

Contains line item details about specific revenue transactions. 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" type="ns:RevenueDetailType" name="RevenueDetail" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RevenueDetailType">
   <xs:sequence>
     <xs:element type="ns:FolioIDsType" name="FolioIDs"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="ReferenceID"/>
   <xs:attribute type="xs:date" use="optional" name="TransactionDate"/>
   <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/>
   <xs:attribute type="xs:string" use="optional" name="Description"/>
   <xs:attribute type="xs:string" use="optional" name="PMSRevenueCode"/>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
 </xs:complexType>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FolioIDsType">
   <xs:sequence>
     <xs:element type="xs:string" name="FolioID" maxOccurs="99"/>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails.RevenueDetail()
           
 
Method Summary
 void addFolioID(java.lang.String item)
          Add a 'FolioID' element item.
 void clearFolioIDs()
          Remove all 'FolioID' element items.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getFolioID(int index)
          Get 'FolioID' element item by position.
 java.util.List<java.lang.String> getFolioIDs()
          Get the list of 'FolioID' element items.
 java.lang.String getPMSRevenueCode()
          Get the 'PMSRevenueCode' attribute value.
 java.lang.String getRatePlanCode()
          Get the 'RatePlanCode' attribute value.
 java.lang.String getReferenceID()
          Get the 'ReferenceID' attribute value.
 java.sql.Date getTransactionDate()
          Get the 'TransactionDate' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setFolioIDs(java.util.List<java.lang.String> list)
          Set the list of 'FolioID' element items.
 void setPMSRevenueCode(java.lang.String PMSRevenueCode)
          Set the 'PMSRevenueCode' attribute value.
 void setRatePlanCode(java.lang.String ratePlanCode)
          Set the 'RatePlanCode' attribute value.
 void setReferenceID(java.lang.String referenceID)
          Set the 'ReferenceID' attribute value.
 void setTransactionDate(java.sql.Date transactionDate)
          Set the 'TransactionDate' attribute value.
 int sizeFolioIDs()
          Get the number of 'FolioID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayInfos.StayInfo.RevenueCategories.RevenueCategory.RevenueDetails.RevenueDetail

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

getFolioIDs

public java.util.List<java.lang.String> getFolioIDs()
Get the list of 'FolioID' element items. Collection of strings (recommended length - 20 characters) indicating the PMS folio identifiers associated with this revenue detail item.

Returns:
list

setFolioIDs

public void setFolioIDs(java.util.List<java.lang.String> list)
Set the list of 'FolioID' element items. Collection of strings (recommended length - 20 characters) indicating the PMS folio identifiers associated with this revenue detail item.

Parameters:
list -

sizeFolioIDs

public int sizeFolioIDs()
Get the number of 'FolioID' element items.

Returns:
count

addFolioID

public void addFolioID(java.lang.String item)
Add a 'FolioID' element item.

Parameters:
item -

getFolioID

public java.lang.String getFolioID(int index)
Get 'FolioID' element item by position.

Parameters:
index -
Returns:
item

clearFolioIDs

public void clearFolioIDs()
Remove all 'FolioID' element items.


getReferenceID

public java.lang.String getReferenceID()
Get the 'ReferenceID' attribute value.

Returns:
value

setReferenceID

public void setReferenceID(java.lang.String referenceID)
Set the 'ReferenceID' attribute value.

Parameters:
referenceID -

getTransactionDate

public java.sql.Date getTransactionDate()
Get the 'TransactionDate' attribute value.

Returns:
value

setTransactionDate

public void setTransactionDate(java.sql.Date transactionDate)
Set the 'TransactionDate' attribute value.

Parameters:
transactionDate -

getRatePlanCode

public java.lang.String getRatePlanCode()
Get the 'RatePlanCode' attribute value.

Returns:
value

setRatePlanCode

public void setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value.

Parameters:
ratePlanCode -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value.

Returns:
value

setDescription

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

Parameters:
description -

getPMSRevenueCode

public java.lang.String getPMSRevenueCode()
Get the 'PMSRevenueCode' attribute value.

Returns:
value

setPMSRevenueCode

public void setPMSRevenueCode(java.lang.String PMSRevenueCode)
Set the 'PMSRevenueCode' attribute value.

Parameters:
PMSRevenueCode -

getCurrencyAmountGroup

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

Returns:
value

setCurrencyAmountGroup

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

Parameters:
currencyAmountGroup -