|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.FareDisplayRQ
public class FareDisplayRQ
The air fare display request enables display of fares between a given city pair. 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_AirFareDisplayRQ">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:POS_Type" name="POS"/>
<xs:element name="OriginDestinationInformation" maxOccurs="5">
<!-- Reference to inner class OriginDestinationInformation -->
</xs:element>
<xs:element name="SpecificFlightInfo" minOccurs="0">
<!-- Reference to inner class SpecificFlightInfo -->
</xs:element>
<xs:element name="TravelPreferences" minOccurs="0">
<!-- Reference to inner class TravelPreferences -->
</xs:element>
<xs:element name="TravelerInfoSummary" minOccurs="0">
<!-- Reference to inner class TravelerInfoSummary -->
</xs:element>
<xs:element name="Account" minOccurs="0" maxOccurs="99">
<!-- Reference to inner class Account -->
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
<xs:attributeGroup ref="ns:MaxResponsesGroup"/>
<xs:attribute type="xs:boolean" use="optional" name="DirectFlightsOnly"/>
<xs:attribute type="xs:boolean" use="optional" name="AvailableFlightsOnly"/>
<xs:attribute type="ns:DisplayOrderType" use="optional" name="DisplayOrder"/>
</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>
| Nested Class Summary | |
|---|---|
static class |
FareDisplayRQ.Account
Specifies an account code for which fares are requested. |
static class |
FareDisplayRQ.OriginDestinationInformation
Origin and Destination location as well as all fare related detail information required for fare display. |
static class |
FareDisplayRQ.SpecificFlightInfo
Specify actual airline, flight number, or booking class. |
static class |
FareDisplayRQ.TravelerInfoSummary
Information regarding the numbers and types of passengers. |
static class |
FareDisplayRQ.TravelPreferences
Contains travel preference information. |
| Constructor Summary | |
|---|---|
FareDisplayRQ()
|
|
| Method Summary | |
|---|---|
void |
addAccount(FareDisplayRQ.Account item)
Add a 'Account' element item. |
void |
addOriginDestinationInformation(FareDisplayRQ.OriginDestinationInformation item)
Add a 'OriginDestinationInformation' element item. |
void |
clearAccounts()
Remove all 'Account' element items. |
void |
clearOriginDestinationInformations()
Remove all 'OriginDestinationInformation' element items. |
FareDisplayRQ.Account |
getAccount(int index)
Get 'Account' element item by position. |
java.util.List<FareDisplayRQ.Account> |
getAccounts()
Get the list of 'Account' element items. |
java.lang.Boolean |
getAvailableFlightsOnly()
Get the 'AvailableFlightsOnly' attribute value. |
java.lang.Boolean |
getDirectFlightsOnly()
Get the 'DirectFlightsOnly' attribute value. |
DisplayOrder |
getDisplayOrder()
Get the 'DisplayOrder' attribute value. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute value. |
FareDisplayRQ.OriginDestinationInformation |
getOriginDestinationInformation(int index)
Get 'OriginDestinationInformation' element item by position. |
java.util.List<FareDisplayRQ.OriginDestinationInformation> |
getOriginDestinationInformations()
Get the list of 'OriginDestinationInformation' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
FareDisplayRQ.SpecificFlightInfo |
getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value. |
FareDisplayRQ.TravelerInfoSummary |
getTravelerInfoSummary()
Get the 'TravelerInfoSummary' element value. |
FareDisplayRQ.TravelPreferences |
getTravelPreferences()
Get the 'TravelPreferences' element value. |
void |
setAccounts(java.util.List<FareDisplayRQ.Account> list)
Set the list of 'Account' element items. |
void |
setAvailableFlightsOnly(java.lang.Boolean availableFlightsOnly)
Set the 'AvailableFlightsOnly' attribute value. |
void |
setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
Set the 'DirectFlightsOnly' attribute value. |
void |
setDisplayOrder(DisplayOrder displayOrder)
Set the 'DisplayOrder' attribute value. |
void |
setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. |
void |
setOriginDestinationInformations(java.util.List<FareDisplayRQ.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 |
setSpecificFlightInfo(FareDisplayRQ.SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value. |
void |
setTravelerInfoSummary(FareDisplayRQ.TravelerInfoSummary travelerInfoSummary)
Set the 'TravelerInfoSummary' element value. |
void |
setTravelPreferences(FareDisplayRQ.TravelPreferences travelPreferences)
Set the 'TravelPreferences' element value. |
int |
sizeAccounts()
Get the number of 'Account' 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 FareDisplayRQ()
| Method Detail |
|---|
public POS getPOS()
public void setPOS(POS POS)
POS - public java.util.List<FareDisplayRQ.OriginDestinationInformation> getOriginDestinationInformations()
public void setOriginDestinationInformations(java.util.List<FareDisplayRQ.OriginDestinationInformation> list)
list - public int sizeOriginDestinationInformations()
public void addOriginDestinationInformation(FareDisplayRQ.OriginDestinationInformation item)
item - public FareDisplayRQ.OriginDestinationInformation getOriginDestinationInformation(int index)
index -
public void clearOriginDestinationInformations()
public FareDisplayRQ.SpecificFlightInfo getSpecificFlightInfo()
public void setSpecificFlightInfo(FareDisplayRQ.SpecificFlightInfo specificFlightInfo)
specificFlightInfo - public FareDisplayRQ.TravelPreferences getTravelPreferences()
public void setTravelPreferences(FareDisplayRQ.TravelPreferences travelPreferences)
travelPreferences - public FareDisplayRQ.TravelerInfoSummary getTravelerInfoSummary()
public void setTravelerInfoSummary(FareDisplayRQ.TravelerInfoSummary travelerInfoSummary)
travelerInfoSummary - public java.util.List<FareDisplayRQ.Account> getAccounts()
public void setAccounts(java.util.List<FareDisplayRQ.Account> list)
list - public int sizeAccounts()
public void addAccount(FareDisplayRQ.Account item)
item - public FareDisplayRQ.Account getAccount(int index)
index -
public void clearAccounts()
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.Boolean getAvailableFlightsOnly()
public void setAvailableFlightsOnly(java.lang.Boolean availableFlightsOnly)
availableFlightsOnly - public DisplayOrder getDisplayOrder()
public void setDisplayOrder(DisplayOrder displayOrder)
displayOrder -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||