org.ota.air
Class FareDisplayRQ

java.lang.Object
  extended by org.ota.air.FareDisplayRQ

public class FareDisplayRQ
extends java.lang.Object

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

FareDisplayRQ

public FareDisplayRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getOriginDestinationInformations

public java.util.List<FareDisplayRQ.OriginDestinationInformation> getOriginDestinationInformations()
Get the list of 'OriginDestinationInformation' element items.

Returns:
list

setOriginDestinationInformations

public void setOriginDestinationInformations(java.util.List<FareDisplayRQ.OriginDestinationInformation> list)
Set the list of 'OriginDestinationInformation' element items.

Parameters:
list -

sizeOriginDestinationInformations

public int sizeOriginDestinationInformations()
Get the number of 'OriginDestinationInformation' element items.

Returns:
count

addOriginDestinationInformation

public void addOriginDestinationInformation(FareDisplayRQ.OriginDestinationInformation item)
Add a 'OriginDestinationInformation' element item.

Parameters:
item -

getOriginDestinationInformation

public FareDisplayRQ.OriginDestinationInformation getOriginDestinationInformation(int index)
Get 'OriginDestinationInformation' element item by position.

Parameters:
index -
Returns:
item

clearOriginDestinationInformations

public void clearOriginDestinationInformations()
Remove all 'OriginDestinationInformation' element items.


getSpecificFlightInfo

public FareDisplayRQ.SpecificFlightInfo getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value.

Returns:
value

setSpecificFlightInfo

public void setSpecificFlightInfo(FareDisplayRQ.SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value.

Parameters:
specificFlightInfo -

getTravelPreferences

public FareDisplayRQ.TravelPreferences getTravelPreferences()
Get the 'TravelPreferences' element value.

Returns:
value

setTravelPreferences

public void setTravelPreferences(FareDisplayRQ.TravelPreferences travelPreferences)
Set the 'TravelPreferences' element value.

Parameters:
travelPreferences -

getTravelerInfoSummary

public FareDisplayRQ.TravelerInfoSummary getTravelerInfoSummary()
Get the 'TravelerInfoSummary' element value.

Returns:
value

setTravelerInfoSummary

public void setTravelerInfoSummary(FareDisplayRQ.TravelerInfoSummary travelerInfoSummary)
Set the 'TravelerInfoSummary' element value.

Parameters:
travelerInfoSummary -

getAccounts

public java.util.List<FareDisplayRQ.Account> getAccounts()
Get the list of 'Account' element items.

Returns:
list

setAccounts

public void setAccounts(java.util.List<FareDisplayRQ.Account> list)
Set the list of 'Account' element items.

Parameters:
list -

sizeAccounts

public int sizeAccounts()
Get the number of 'Account' element items.

Returns:
count

addAccount

public void addAccount(FareDisplayRQ.Account item)
Add a 'Account' element item.

Parameters:
item -

getAccount

public FareDisplayRQ.Account getAccount(int index)
Get 'Account' element item by position.

Parameters:
index -
Returns:
item

clearAccounts

public void clearAccounts()
Remove all 'Account' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getMaxResponses

public java.lang.String getMaxResponses()
Get the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Returns:
value

setMaxResponses

public void setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses -

getDirectFlightsOnly

public java.lang.Boolean getDirectFlightsOnly()
Get the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. false

Returns:
value

setDirectFlightsOnly

public void setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
Set the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. false

Parameters:
directFlightsOnly -

getAvailableFlightsOnly

public java.lang.Boolean getAvailableFlightsOnly()
Get the 'AvailableFlightsOnly' attribute value. Include only flights with available booking codes (when True or when attribute not present).

Returns:
value

setAvailableFlightsOnly

public void setAvailableFlightsOnly(java.lang.Boolean availableFlightsOnly)
Set the 'AvailableFlightsOnly' attribute value. Include only flights with available booking codes (when True or when attribute not present).

Parameters:
availableFlightsOnly -

getDisplayOrder

public DisplayOrder getDisplayOrder()
Get the 'DisplayOrder' attribute value. Specifies the order in which fare contracts should be returned.

Returns:
value

setDisplayOrder

public void setDisplayOrder(DisplayOrder displayOrder)
Set the 'DisplayOrder' attribute value. Specifies the order in which fare contracts should be returned.

Parameters:
displayOrder -