|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.TravelerInfoSummary
public class TravelerInfoSummary
Specify passenger numbers and types Schema fragment(s) for this class:
<xs:complexType xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TravelerInfoSummaryType"> <xs:sequence> <xs:element type="xs:int" name="SeatsRequested" minOccurs="0" maxOccurs="99"/> <xs:element type="TravelerInformationType" name="AirTravelerAvail" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class AirTravelerAvail --> </xs:element> <xs:element name="PriceRequestInformation" minOccurs="0"> <!-- Reference to inner class PriceRequestInformation --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
TravelerInfoSummary.AirTravelerAvail
Specifies passenger numbers and types. |
static class |
TravelerInfoSummary.PriceRequestInformation
Identifies pricing source, if negotiated fares are requested and if it is a reprice request. |
Constructor Summary | |
---|---|
TravelerInfoSummary()
|
Method Summary | |
---|---|
void |
addAirTravelerAvail(TravelerInfoSummary.AirTravelerAvail item)
Add a 'AirTravelerAvail' element item. |
void |
addSeatsRequested(java.lang.Integer item)
Add a 'SeatsRequested' element item. |
void |
clearAirTravelerAvails()
Remove all 'AirTravelerAvail' element items. |
void |
clearSeatsRequesteds()
Remove all 'SeatsRequested' element items. |
TravelerInfoSummary.AirTravelerAvail |
getAirTravelerAvail(int index)
Get 'AirTravelerAvail' element item by position. |
java.util.List<TravelerInfoSummary.AirTravelerAvail> |
getAirTravelerAvails()
Get the list of 'AirTravelerAvail' element items. |
TravelerInfoSummary.PriceRequestInformation |
getPriceRequestInformation()
Get the 'PriceRequestInformation' element value. |
java.lang.Integer |
getSeatsRequested(int index)
Get 'SeatsRequested' element item by position. |
java.util.List<java.lang.Integer> |
getSeatsRequesteds()
Get the list of 'SeatsRequested' element items. |
void |
setAirTravelerAvails(java.util.List<TravelerInfoSummary.AirTravelerAvail> list)
Set the list of 'AirTravelerAvail' element items. |
void |
setPriceRequestInformation(TravelerInfoSummary.PriceRequestInformation priceRequestInformation)
Set the 'PriceRequestInformation' element value. |
void |
setSeatsRequesteds(java.util.List<java.lang.Integer> list)
Set the list of 'SeatsRequested' element items. |
int |
sizeAirTravelerAvails()
Get the number of 'AirTravelerAvail' element items. |
int |
sizeSeatsRequesteds()
Get the number of 'SeatsRequested' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TravelerInfoSummary()
Method Detail |
---|
public java.util.List<java.lang.Integer> getSeatsRequesteds()
public void setSeatsRequesteds(java.util.List<java.lang.Integer> list)
list
- public int sizeSeatsRequesteds()
public void addSeatsRequested(java.lang.Integer item)
item
- public java.lang.Integer getSeatsRequested(int index)
index
-
public void clearSeatsRequesteds()
public java.util.List<TravelerInfoSummary.AirTravelerAvail> getAirTravelerAvails()
public void setAirTravelerAvails(java.util.List<TravelerInfoSummary.AirTravelerAvail> list)
list
- public int sizeAirTravelerAvails()
public void addAirTravelerAvail(TravelerInfoSummary.AirTravelerAvail item)
item
- public TravelerInfoSummary.AirTravelerAvail getAirTravelerAvail(int index)
index
-
public void clearAirTravelerAvails()
public TravelerInfoSummary.PriceRequestInformation getPriceRequestInformation()
public void setPriceRequestInformation(TravelerInfoSummary.PriceRequestInformation priceRequestInformation)
priceRequestInformation
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |