org.ota.hotel
Class StayInfos.StayInfo.LoyaltyPointsAccruals

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

public static class StayInfos.StayInfo.LoyaltyPointsAccruals
extends java.lang.Object

A collection of loyalty points accruals. 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:LoyaltyPointsAccrualsType" name="LoyaltyPointsAccruals" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LoyaltyPointsAccrualsType">
   <xs:sequence>
     <xs:element name="SelectedLoyalty" maxOccurs="99">
       <xs:complexType>
         <xs:attributeGroup ref="ns:SelectedLoyaltyGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
StayInfos.StayInfo.LoyaltyPointsAccruals()
           
 
Method Summary
 void addSelectedLoyalty(SelectedLoyaltyGroup item)
          Add a 'SelectedLoyalty' element item.
 void clearSelectedLoyalties()
          Remove all 'SelectedLoyalty' element items.
 java.util.List<SelectedLoyaltyGroup> getSelectedLoyalties()
          Get the list of 'SelectedLoyalty' element items.
 SelectedLoyaltyGroup getSelectedLoyalty(int index)
          Get 'SelectedLoyalty' element item by position.
 void setSelectedLoyalties(java.util.List<SelectedLoyaltyGroup> list)
          Set the list of 'SelectedLoyalty' element items.
 int sizeSelectedLoyalties()
          Get the number of 'SelectedLoyalty' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayInfos.StayInfo.LoyaltyPointsAccruals

public StayInfos.StayInfo.LoyaltyPointsAccruals()
Method Detail

getSelectedLoyalties

public java.util.List<SelectedLoyaltyGroup> getSelectedLoyalties()
Get the list of 'SelectedLoyalty' element items. A collection of SelectedLoyalty classes that are used to report earned bonuses.

Returns:
list

setSelectedLoyalties

public void setSelectedLoyalties(java.util.List<SelectedLoyaltyGroup> list)
Set the list of 'SelectedLoyalty' element items. A collection of SelectedLoyalty classes that are used to report earned bonuses.

Parameters:
list -

sizeSelectedLoyalties

public int sizeSelectedLoyalties()
Get the number of 'SelectedLoyalty' element items.

Returns:
count

addSelectedLoyalty

public void addSelectedLoyalty(SelectedLoyaltyGroup item)
Add a 'SelectedLoyalty' element item.

Parameters:
item -

getSelectedLoyalty

public SelectedLoyaltyGroup getSelectedLoyalty(int index)
Get 'SelectedLoyalty' element item by position.

Parameters:
index -
Returns:
item

clearSelectedLoyalties

public void clearSelectedLoyalties()
Remove all 'SelectedLoyalty' element items.