org.ota.hotel
Class RatePlanRQ.RatePlan.Offers

java.lang.Object
  extended by org.ota.hotel.RatePlanRQ.RatePlan.Offers
Enclosing class:
RatePlanRQ.RatePlan

public static class RatePlanRQ.RatePlan.Offers
extends java.lang.Object

Collection of requested offers. 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="Offers" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Offer" maxOccurs="unbounded">
         <!-- Reference to inner class Offer -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="SendData"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RatePlanRQ.RatePlan.Offers.Offer
          Requested offer.
 
Constructor Summary
RatePlanRQ.RatePlan.Offers()
           
 
Method Summary
 void addOffer(RatePlanRQ.RatePlan.Offers.Offer item)
          Add a 'Offer' element item.
 void clearOffers()
          Remove all 'Offer' element items.
 RatePlanRQ.RatePlan.Offers.Offer getOffer(int index)
          Get 'Offer' element item by position.
 java.util.List<RatePlanRQ.RatePlan.Offers.Offer> getOffers()
          Get the list of 'Offer' element items.
 java.lang.Boolean getSendData()
          Get the 'SendData' attribute value.
 void setOffers(java.util.List<RatePlanRQ.RatePlan.Offers.Offer> list)
          Set the list of 'Offer' element items.
 void setSendData(java.lang.Boolean sendData)
          Set the 'SendData' attribute value.
 int sizeOffers()
          Get the number of 'Offer' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatePlanRQ.RatePlan.Offers

public RatePlanRQ.RatePlan.Offers()
Method Detail

getOffers

public java.util.List<RatePlanRQ.RatePlan.Offers.Offer> getOffers()
Get the list of 'Offer' element items.

Returns:
list

setOffers

public void setOffers(java.util.List<RatePlanRQ.RatePlan.Offers.Offer> list)
Set the list of 'Offer' element items.

Parameters:
list -

sizeOffers

public int sizeOffers()
Get the number of 'Offer' element items.

Returns:
count

addOffer

public void addOffer(RatePlanRQ.RatePlan.Offers.Offer item)
Add a 'Offer' element item.

Parameters:
item -

getOffer

public RatePlanRQ.RatePlan.Offers.Offer getOffer(int index)
Get 'Offer' element item by position.

Parameters:
index -
Returns:
item

clearOffers

public void clearOffers()
Remove all 'Offer' element items.


getSendData

public java.lang.Boolean getSendData()
Get the 'SendData' attribute value. When true, send all offer data.

Returns:
value

setSendData

public void setSendData(java.lang.Boolean sendData)
Set the 'SendData' attribute value. When true, send all offer data.

Parameters:
sendData -