|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.AvailRQ
public class AvailRQ
The Availability Request message requests Flight Availability for a city pair on a specific date for a specific number and type of passengers. Optional request information can include: - Time / Time Window - Connecting cities. - Client Preferences (airlines, cabin, flight types etc.) The request can be narrowed to request availability for a specific airline, specific flight, or specific booking class on a specific flight. The availability request message contains similar information to a standard Airline CRS or GDS availability request message. 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="OTA_AirAvailRQ">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:POS_Type" name="POS"/>
<xs:element name="ProcessingInfo" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:AirProcessingInfoGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="OriginDestinationInformation" maxOccurs="99">
<!-- Reference to inner class OriginDestinationInformation -->
</xs:element>
<xs:element type="ns:SpecificFlightInfoType" name="SpecificFlightInfo" minOccurs="0"/>
<xs:element type="ns:AirSearchPrefsType" name="TravelPreferences" minOccurs="0"/>
<xs:element type="ns:TravelerInfoSummaryType" name="TravelerInfoSummary" minOccurs="0"/>
<xs:element type="ns:BookFlightSegmentType" name="BookedFlightSegment" minOccurs="0" maxOccurs="99"/>
</xs:sequence>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
<xs:attributeGroup ref="ns:MaxResponsesGroup"/>
<xs:attributeGroup ref="ns:DirectAndStopsGroup"/>
</xs:complexType>
</xs:element>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup">
<xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
</xs:attributeGroup>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DirectAndStopsGroup">
<xs:attribute type="xs:boolean" use="optional" name="DirectFlightsOnly"/>
<xs:attribute type="xs:int" use="optional" name="NumberStops"/>
</xs:attributeGroup>
| Nested Class Summary | |
|---|---|
static class |
AvailRQ.OriginDestinationInformation
Information on the locations between which availability is to be checked. |
| Constructor Summary | |
|---|---|
AvailRQ()
|
|
| Method Summary | |
|---|---|
void |
addBookedFlightSegment(BookFlightSegment item)
Add a 'BookedFlightSegment' element item. |
void |
addOriginDestinationInformation(AvailRQ.OriginDestinationInformation item)
Add a 'OriginDestinationInformation' element item. |
void |
clearBookedFlightSegments()
Remove all 'BookedFlightSegment' element items. |
void |
clearOriginDestinationInformations()
Remove all 'OriginDestinationInformation' element items. |
BookFlightSegment |
getBookedFlightSegment(int index)
Get 'BookedFlightSegment' element item by position. |
java.util.List<BookFlightSegment> |
getBookedFlightSegments()
Get the list of 'BookedFlightSegment' element items. |
java.lang.Boolean |
getDirectFlightsOnly()
Get the 'DirectFlightsOnly' attribute value. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute value. |
java.lang.Integer |
getNumberStops()
Get the 'NumberStops' attribute value. |
AvailRQ.OriginDestinationInformation |
getOriginDestinationInformation(int index)
Get 'OriginDestinationInformation' element item by position. |
java.util.List<AvailRQ.OriginDestinationInformation> |
getOriginDestinationInformations()
Get the list of 'OriginDestinationInformation' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
AirProcessingInfoGroup |
getProcessingInfo()
Get the 'AirProcessingInfoGroup' attributeGroup value. |
SpecificFlightInfo |
getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value. |
TravelerInfoSummary |
getTravelerInfoSummary()
Get the 'TravelerInfoSummary' element value. |
AirSearchPrefs |
getTravelPreferences()
Get the 'TravelPreferences' element value. |
void |
setBookedFlightSegments(java.util.List<BookFlightSegment> list)
Set the list of 'BookedFlightSegment' element items. |
void |
setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
Set the 'DirectFlightsOnly' attribute value. |
void |
setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. |
void |
setNumberStops(java.lang.Integer numberStops)
Set the 'NumberStops' attribute value. |
void |
setOriginDestinationInformations(java.util.List<AvailRQ.OriginDestinationInformation> list)
Set the list of 'OriginDestinationInformation' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setProcessingInfo(AirProcessingInfoGroup processingInfo)
Set the 'AirProcessingInfoGroup' attributeGroup value. |
void |
setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value. |
void |
setTravelerInfoSummary(TravelerInfoSummary travelerInfoSummary)
Set the 'TravelerInfoSummary' element value. |
void |
setTravelPreferences(AirSearchPrefs travelPreferences)
Set the 'TravelPreferences' element value. |
int |
sizeBookedFlightSegments()
Get the number of 'BookedFlightSegment' element items. |
int |
sizeOriginDestinationInformations()
Get the number of 'OriginDestinationInformation' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AvailRQ()
| Method Detail |
|---|
public POS getPOS()
public void setPOS(POS POS)
POS - public AirProcessingInfoGroup getProcessingInfo()
public void setProcessingInfo(AirProcessingInfoGroup processingInfo)
processingInfo - public java.util.List<AvailRQ.OriginDestinationInformation> getOriginDestinationInformations()
public void setOriginDestinationInformations(java.util.List<AvailRQ.OriginDestinationInformation> list)
list - public int sizeOriginDestinationInformations()
public void addOriginDestinationInformation(AvailRQ.OriginDestinationInformation item)
item - public AvailRQ.OriginDestinationInformation getOriginDestinationInformation(int index)
index -
public void clearOriginDestinationInformations()
public SpecificFlightInfo getSpecificFlightInfo()
public void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
specificFlightInfo - public AirSearchPrefs getTravelPreferences()
public void setTravelPreferences(AirSearchPrefs travelPreferences)
travelPreferences - public TravelerInfoSummary getTravelerInfoSummary()
public void setTravelerInfoSummary(TravelerInfoSummary travelerInfoSummary)
travelerInfoSummary - public java.util.List<BookFlightSegment> getBookedFlightSegments()
public void setBookedFlightSegments(java.util.List<BookFlightSegment> list)
list - public int sizeBookedFlightSegments()
public void addBookedFlightSegment(BookFlightSegment item)
item - public BookFlightSegment getBookedFlightSegment(int index)
index -
public void clearBookedFlightSegments()
public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes - public java.lang.String getMaxResponses()
public void setMaxResponses(java.lang.String maxResponses)
maxResponses - public java.lang.Boolean getDirectFlightsOnly()
public void setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
directFlightsOnly - public java.lang.Integer getNumberStops()
public void setNumberStops(java.lang.Integer numberStops)
numberStops -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||