Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   
   package org.jibx.schema.org.opentravel._2012B.air;
   
   import java.util.ArrayList;
   import java.util.List;
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/common" 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:element type="ns:AirOfferChoiceType" name="Offer" minOccurs="0"/>
     </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/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup">
   <xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
 </xs:attributeGroup>
 
  
  public class FareDisplayRQ
  {
      private POS POS;
      private TravelPreferences travelPreferences;
      private List<AccountaccountList = new ArrayList<Account>();
      private AirOfferChoice offer;
      private String maxResponses;
      private Boolean directFlightsOnly;
      private Boolean availableFlightsOnly;
      private DisplayOrder displayOrder;

    
Get the 'POS' element value. Point of sale object.

Returns:
value
  
      public POS getPOS() {
          return ;
      }

    
Set the 'POS' element value. Point of sale object.

Parameters:
POS
  
      public void setPOS(POS POS) {
          this. = POS;
      }

    
Get the list of 'OriginDestinationInformation' element items.

Returns:
list
  
          return ;
      }

    
Set the list of 'OriginDestinationInformation' element items.

Parameters:
list
 
             List<OriginDestinationInformationlist) {
          = list;
     }

    
Get the number of 'OriginDestinationInformation' element items.

Returns:
count
 
     public int sizeOriginDestinationInformationList() {
         return .size();
     }

    
Add a 'OriginDestinationInformation' element item.

Parameters:
item
 
     public void addOriginDestinationInformation(
             OriginDestinationInformation item) {
         .add(item);
     }

    
Get 'OriginDestinationInformation' element item by position.

Parameters:
index
Returns:
item
 
             int index) {
         return .get(index);
     }

    
Remove all 'OriginDestinationInformation' element items.
 
     public void clearOriginDestinationInformationList() {
     }

    
Get the 'SpecificFlightInfo' element value.

Returns:
value
 
         return ;
     }

    
Set the 'SpecificFlightInfo' element value.

Parameters:
specificFlightInfo
 
     public void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo) {
         this. = specificFlightInfo;
     }

    
Get the 'TravelPreferences' element value.

Returns:
value
 
         return ;
     }

    
Set the 'TravelPreferences' element value.

Parameters:
travelPreferences
 
     public void setTravelPreferences(TravelPreferences travelPreferences) {
         this. = travelPreferences;
     }

    
Get the 'TravelerInfoSummary' element value.

Returns:
value
 
         return ;
     }

    
Set the 'TravelerInfoSummary' element value.

Parameters:
travelerInfoSummary
 
     public void setTravelerInfoSummary(TravelerInfoSummary travelerInfoSummary) {
         this. = travelerInfoSummary;
     }

    
Get the list of 'Account' element items.

Returns:
list
 
     public List<AccountgetAccountList() {
         return ;
     }

    
Set the list of 'Account' element items.

Parameters:
list
 
     public void setAccountList(List<Accountlist) {
          = list;
     }

    
Get the number of 'Account' element items.

Returns:
count
 
     public int sizeAccountList() {
         return .size();
     }

    
Add a 'Account' element item.

Parameters:
item
 
     public void addAccount(Account item) {
         .add(item);
     }

    
Get 'Account' element item by position.

Parameters:
index
Returns:
item
 
     public Account getAccount(int index) {
         return .get(index);
     }

    
Remove all 'Account' element items.
 
     public void clearAccountList() {
         .clear();
     }

    
Get the 'Offer' element value. Merchandising offers associated with the fare or traveler.

Returns:
value
 
     public AirOfferChoice getOffer() {
         return ;
     }

    
Set the 'Offer' element value. Merchandising offers associated with the fare or traveler.

Parameters:
offer
 
     public void setOffer(AirOfferChoice offer) {
         this. = offer;
     }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value
 
         return ;
     }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes
 
     public void setOTAPayloadStdAttributes(
             OTAPayloadStdAttributes OTAPayloadStdAttributes) {
         this. = OTAPayloadStdAttributes;
     }

    
Get the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Returns:
value
 
     public String getMaxResponses() {
         return ;
     }

    
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses
 
     public void setMaxResponses(String maxResponses) {
         this. = maxResponses;
     }

    
Get the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. <LegacyDefaultValue xmlns="http://www.opentravel.org/OTA/2003/05/common">false</LegacyDefaultValue>

Returns:
value
 
     public Boolean getDirectFlightsOnly() {
         return ;
     }

    
Set the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. <LegacyDefaultValue xmlns="http://www.opentravel.org/OTA/2003/05/common">false</LegacyDefaultValue>

Parameters:
directFlightsOnly
 
     public void setDirectFlightsOnly(Boolean directFlightsOnly) {
         this. = directFlightsOnly;
     }

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

Returns:
value
 
     public Boolean getAvailableFlightsOnly() {
         return ;
     }

    
Set the 'AvailableFlightsOnly' attribute value. Include only flights with available booking codes (when True or when attribute not present).

Parameters:
availableFlightsOnly
 
     public void setAvailableFlightsOnly(Boolean availableFlightsOnly) {
         this. = availableFlightsOnly;
     }

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

Returns:
value
 
     public DisplayOrder getDisplayOrder() {
         return ;
     }

    
Set the 'DisplayOrder' attribute value. Specifies the order in which fare contracts should be returned.

Parameters:
displayOrder
 
     public void setDisplayOrder(DisplayOrder displayOrder) {
         this. = displayOrder;
     }
    
Origin and Destination location as well as all fare related detail information required for fare display. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OriginDestinationInformation" maxOccurs="5">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:OriginDestinationInformationType">
         <xs:attribute type="xs:string" use="optional" name="RPH"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 
     public static class OriginDestinationInformation
             extends
     {
         private String RPH;

        
Get the 'RPH' attribute value. A placeholder for OriginDestinationInformation to be referenced wihin the OTA_AirLowFareSearchRS message. PricedItineraryType carries the reference to this RPH.

Returns:
value
 
         public String getRPH() {
             return ;
         }

        
Set the 'RPH' attribute value. A placeholder for OriginDestinationInformation to be referenced wihin the OTA_AirLowFareSearchRS message. PricedItineraryType carries the reference to this RPH.

Parameters:
RPH
 
         public void setRPH(String RPH) {
             this. = RPH;
         }
     }
    
Specify actual airline, flight number, or booking class. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SpecificFlightInfo" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:SpecificFlightInfoType">
         <xs:attribute type="xs:string" use="optional" name="BookingReferenceID"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 
     public static class SpecificFlightInfo
             extends
                 org.jibx.schema.org.opentravel._2012B.base.air.SpecificFlightInfo
     {
         private String bookingReferenceID;

        
Get the 'BookingReferenceID' attribute value. This is the identifier returned by the booking system, also referred to as a PNR locator, confirmation number or reservation number from where the flight information is taken from.

Returns:
value
 
         public String getBookingReferenceID() {
             return ;
         }

        
Set the 'BookingReferenceID' attribute value. This is the identifier returned by the booking system, also referred to as a PNR locator, confirmation number or reservation number from where the flight information is taken from.

Parameters:
bookingReferenceID
 
         public void setBookingReferenceID(String bookingReferenceID) {
             this. = bookingReferenceID;
         }
     }
    
Contains travel preference information. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TravelPreferences" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:AirSearchPrefsType">
         <xs:sequence>
           <xs:element name="FareApplicationTypePref" minOccurs="0">
             <!-- Reference to inner class FareApplicationTypePref -->
           </xs:element>
           <xs:element name="FareTypePref" minOccurs="0" maxOccurs="5">
             <xs:complexType>
               <xs:attributeGroup ref="ns:FareTypePrefGroup"/>
             </xs:complexType>
           </xs:element>
           <xs:element name="FareAccessTypePref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class FareAccessTypePref -->
           </xs:element>
           <xs:element name="BookingClassPref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class BookingClassPref -->
           </xs:element>
           <xs:element name="PricingPrefs" minOccurs="0">
             <!-- Reference to inner class PricingPrefs -->
           </xs:element>
           <xs:element name="GlobalIndicatorPref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class GlobalIndicatorPref -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:boolean" use="optional" name="DistributorInfoInd"/>
         <xs:attribute type="xs:string" use="optional" name="TicketDesignatorCode"/>
         <xs:attribute type="xs:string" use="optional" name="HistoricalFareInfoDate"/>
         <xs:attribute type="xs:boolean" use="optional" name="ReqFareLoadDateInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 
     public static class TravelPreferences extends AirSearchPrefs
     {
         private List<FareTypePrefGroupfareTypePrefList = new ArrayList<FareTypePrefGroup>();
         private List<BookingClassPrefbookingClassPrefList = new ArrayList<BookingClassPref>();
         private PricingPrefs pricingPrefs;
         private Boolean distributorInfoInd;
         private String ticketDesignatorCode;
         private String historicalFareInfoDate;
         private Boolean reqFareLoadDateInd;

        
Get the 'FareApplicationTypePref' element value.

Returns:
value
 
             return ;
         }

        
Set the 'FareApplicationTypePref' element value.

Parameters:
fareApplicationTypePref
 
         public void setFareApplicationTypePref(
                 FareApplicationTypePref fareApplicationTypePref) {
             this. = fareApplicationTypePref;
         }

        
Get the list of 'FareTypePref' element items. Indicates the type of fare required e.g. unrestricted, excursion etc.

Returns:
list
 
         public List<FareTypePrefGroupgetFareTypePrefList() {
             return ;
         }

        
Set the list of 'FareTypePref' element items. Indicates the type of fare required e.g. unrestricted, excursion etc.

Parameters:
list
 
         public void setFareTypePrefList(List<FareTypePrefGrouplist) {
              = list;
         }

        
Get the number of 'FareTypePref' element items.

Returns:
count
 
         public int sizeFareTypePrefList() {
             return .size();
         }

        
Add a 'FareTypePref' element item.

Parameters:
item
 
         public void addFareTypePref(FareTypePrefGroup item) {
             .add(item);
         }

        
Get 'FareTypePref' element item by position.

Parameters:
index
Returns:
item
 
         public FareTypePrefGroup getFareTypePref(int index) {
             return .get(index);
         }

        
Remove all 'FareTypePref' element items.
 
         public void clearFareTypePrefList() {
             .clear();
         }

        
Get the list of 'FareAccessTypePref' element items.

Returns:
list
 
         public List<FareAccessTypePrefgetFareAccessTypePrefList() {
             return ;
         }

        
Set the list of 'FareAccessTypePref' element items.

Parameters:
list
 
         public void setFareAccessTypePrefList(List<FareAccessTypePreflist) {
              = list;
         }

        
Get the number of 'FareAccessTypePref' element items.

Returns:
count
 
         public int sizeFareAccessTypePrefList() {
             return .size();
         }

        
Add a 'FareAccessTypePref' element item.

Parameters:
item
 
         public void addFareAccessTypePref(FareAccessTypePref item) {
             .add(item);
         }

        
Get 'FareAccessTypePref' element item by position.

Parameters:
index
Returns:
item
 
         public FareAccessTypePref getFareAccessTypePref(int index) {
             return .get(index);
         }

        
Remove all 'FareAccessTypePref' element items.
 
         public void clearFareAccessTypePrefList() {
             .clear();
         }

        
Get the list of 'BookingClassPref' element items.

Returns:
list
 
         public List<BookingClassPrefgetBookingClassPrefList() {
             return ;
         }

        
Set the list of 'BookingClassPref' element items.

Parameters:
list
 
         public void setBookingClassPrefList(List<BookingClassPreflist) {
              = list;
         }

        
Get the number of 'BookingClassPref' element items.

Returns:
count
 
         public int sizeBookingClassPrefList() {
             return .size();
         }

        
Add a 'BookingClassPref' element item.

Parameters:
item
 
         public void addBookingClassPref(BookingClassPref item) {
             .add(item);
         }

        
Get 'BookingClassPref' element item by position.

Parameters:
index
Returns:
item
 
         public BookingClassPref getBookingClassPref(int index) {
             return .get(index);
         }

        
Remove all 'BookingClassPref' element items.
 
         public void clearBookingClassPrefList() {
             .clear();
         }

        
Get the 'PricingPrefs' element value.

Returns:
value
 
         public PricingPrefs getPricingPrefs() {
             return ;
         }

        
Set the 'PricingPrefs' element value.

Parameters:
pricingPrefs
 
         public void setPricingPrefs(PricingPrefs pricingPrefs) {
             this. = pricingPrefs;
         }

        
Get the list of 'GlobalIndicatorPref' element items.

Returns:
list
 
         public List<GlobalIndicatorPrefgetGlobalIndicatorPrefList() {
             return ;
         }

        
Set the list of 'GlobalIndicatorPref' element items.

Parameters:
list
 
         public void setGlobalIndicatorPrefList(List<GlobalIndicatorPreflist) {
              = list;
         }

        
Get the number of 'GlobalIndicatorPref' element items.

Returns:
count
 
         public int sizeGlobalIndicatorPrefList() {
             return .size();
         }

        
Add a 'GlobalIndicatorPref' element item.

Parameters:
item
 
         public void addGlobalIndicatorPref(GlobalIndicatorPref item) {
             .add(item);
         }

        
Get 'GlobalIndicatorPref' element item by position.

Parameters:
index
Returns:
item
 
         public GlobalIndicatorPref getGlobalIndicatorPref(int index) {
             return .get(index);
         }

        
Remove all 'GlobalIndicatorPref' element items.
 
         public void clearGlobalIndicatorPrefList() {
             .clear();
         }

        
Get the 'DistributorInfoInd' attribute value. If true, the distributor information should be returned with the fare.

Returns:
value
 
         public Boolean getDistributorInfoInd() {
             return ;
         }

        
Set the 'DistributorInfoInd' attribute value. If true, the distributor information should be returned with the fare.

Parameters:
distributorInfoInd
 
         public void setDistributorInfoInd(Boolean distributorInfoInd) {
             this. = distributorInfoInd;
         }

        
Get the 'TicketDesignatorCode' attribute value. Specifies that the fare being requested is for this ticket designator code.

Returns:
value
 
         public String getTicketDesignatorCode() {
             return ;
         }

        
Set the 'TicketDesignatorCode' attribute value. Specifies that the fare being requested is for this ticket designator code.

Parameters:
ticketDesignatorCode
 
         public void setTicketDesignatorCode(String ticketDesignatorCode) {
             this. = ticketDesignatorCode;
         }

        
Get the 'HistoricalFareInfoDate' attribute value. If the fare request is for a previously issued ticket, this is the date on which it was issued.

Returns:
value
 
         public String getHistoricalFareInfoDate() {
             return ;
         }

        
Set the 'HistoricalFareInfoDate' attribute value. If the fare request is for a previously issued ticket, this is the date on which it was issued.

Parameters:
historicalFareInfoDate
 
         public void setHistoricalFareInfoDate(String historicalFareInfoDate) {
             this. = historicalFareInfoDate;
         }

        
Get the 'ReqFareLoadDateInd' attribute value. If true, the fare load date information is being requested.

Returns:
value
 
         public Boolean getReqFareLoadDateInd() {
             return ;
         }

        
Set the 'ReqFareLoadDateInd' attribute value. If true, the fare load date information is being requested.

Parameters:
reqFareLoadDateInd
 
         public void setReqFareLoadDateInd(Boolean reqFareLoadDateInd) {
             this. = reqFareLoadDateInd;
         }
        
Indicates the journey type for which fares are required e.g. OneWay, Return, HalfReturn. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareApplicationTypePref" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="ns:FareApplicationType" use="required" name="FareApplicationType"/>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
   </xs:complexType>
 </xs:element>
 
 
         public static class FareApplicationTypePref
         {
             private FareApplication fareApplication;
             private PreferLevel preferLevel;

            
Get the 'FareApplicationType' attribute value. The journey type for which fares are required can be OneWay, Return or HalfReturn.

Returns:
value
 
             public FareApplication getFareApplication() {
                 return ;
             }

            
Set the 'FareApplicationType' attribute value. The journey type for which fares are required can be OneWay, Return or HalfReturn.

Parameters:
fareApplication
 
             public void setFareApplication(FareApplication fareApplication) {
                 this. = fareApplication;
             }

            
Get the 'PreferLevel' attribute value.

Returns:
value
 
             public PreferLevel getPreferLevel() {
                 return ;
             }

            
Set the 'PreferLevel' attribute value.

Parameters:
preferLevel
 
             public void setPreferLevel(PreferLevel preferLevel) {
                 this. = preferLevel;
             }
         }
        
Indicates the fare calculation type e.g. (PointToPoint, Through, Joint, Private.) Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareAccessTypePref" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="NegotiatedFareCodes" minOccurs="0">
         <!-- Reference to inner class NegotiatedFareCodes -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="ns:FareAccessPrefType" use="optional" name="FareAccess"/>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
   </xs:complexType>
 </xs:element>
 
 
         public static class FareAccessTypePref
         {
             private NegotiatedFareCodes negotiatedFareCodes;
             private FareAccessPref fareAccess;
             private PreferLevel preferLevel;

            
Get the 'NegotiatedFareCodes' element value.

Returns:
value
 
             public NegotiatedFareCodes getNegotiatedFareCodes() {
                 return ;
             }

            
Set the 'NegotiatedFareCodes' element value.

Parameters:
negotiatedFareCodes
 
             public void setNegotiatedFareCodes(
                     NegotiatedFareCodes negotiatedFareCodes) {
                 this. = negotiatedFareCodes;
             }

            
Get the 'FareAccess' attribute value. Fare calculation type (e.g. PointToPoint, Through, Joint, Private.)

Returns:
value
 
             public FareAccessPref getFareAccess() {
                 return ;
             }

            
Set the 'FareAccess' attribute value. Fare calculation type (e.g. PointToPoint, Through, Joint, Private.)

Parameters:
fareAccess
 
             public void setFareAccess(FareAccessPref fareAccess) {
                 this. = fareAccess;
             }

            
Get the 'PreferLevel' attribute value.

Returns:
value
 
             public PreferLevel getPreferLevel() {
                 return ;
             }

            
Set the 'PreferLevel' attribute value.

Parameters:
preferLevel
 
             public void setPreferLevel(PreferLevel preferLevel) {
                 this. = preferLevel;
             }
            
Container for multiple negotiated fare codes Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NegotiatedFareCodes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="NegotiatedFareCode" maxOccurs="99">
         <!-- Reference to inner class NegotiatedFareCode -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 
             public static class NegotiatedFareCodes
             {
                 private List<NegotiatedFareCodenegotiatedFareCodeList = new ArrayList<NegotiatedFareCode>();

                
Get the list of 'NegotiatedFareCode' element items.

Returns:
list
 
                 public List<NegotiatedFareCodegetNegotiatedFareCodeList() {
                     return ;
                 }

                
Set the list of 'NegotiatedFareCode' element items.

Parameters:
list
 
                 public void setNegotiatedFareCodeList(
                         List<NegotiatedFareCodelist) {
                      = list;
                 }

                
Get the number of 'NegotiatedFareCode' element items.

Returns:
count
 
                 public int sizeNegotiatedFareCodeList() {
                     return .size();
                 }

                
Add a 'NegotiatedFareCode' element item.

Parameters:
item
 
                 public void addNegotiatedFareCode(NegotiatedFareCode item) {
                     .add(item);
                 }

                
Get 'NegotiatedFareCode' element item by position.

Parameters:
index
Returns:
item
 
                 public NegotiatedFareCode getNegotiatedFareCode(int index) {
                     return .get(index);
                 }

                
Remove all 'NegotiatedFareCode' element items.
 
                 public void clearNegotiatedFareCodeList() {
                    .clear();
                }
                
Account code required to access fares Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NegotiatedFareCode" maxOccurs="99">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="required" name="Code"/>
         <xs:attribute type="xs:string" use="optional" name="CodeContext"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
                public static class NegotiatedFareCode
                {
                    private String string;
                    private String code;
                    private String codeContext;

                    
Get the extension value.

Returns:
value
                    public String getString() {
                        return ;
                    }

                    
Set the extension value.

Parameters:
string
                    public void setString(String string) {
                        this. = string;
                    }

                    
Get the 'Code' attribute value. Negotiated fare code to use when retrieving fare contracts

Returns:
value
                    public String getCode() {
                        return ;
                    }

                    
Set the 'Code' attribute value. Negotiated fare code to use when retrieving fare contracts

Parameters:
code
                    public void setCode(String code) {
                        this. = code;
                    }

                    
Get the 'CodeContext' attribute value. Optional indicator to specify code list used

Returns:
value
                    public String getCodeContext() {
                        return ;
                    }

                    
Set the 'CodeContext' attribute value. Optional indicator to specify code list used

Parameters:
codeContext
                    public void setCodeContext(String codeContext) {
                        this. = codeContext;
                    }
                }
            }
        }
        
Booking Classes (RBD's) to include or exclude.) Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookingClassPref" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="ResBookDesigCode"/>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
   </xs:complexType>
 </xs:element>
 
        public static class BookingClassPref
        {
            private String resBookDesigCode;
            private PreferLevel preferLevel;

            
Get the 'ResBookDesigCode' attribute value. The booking class code.

Returns:
value
            public String getResBookDesigCode() {
                return ;
            }

            
Set the 'ResBookDesigCode' attribute value. The booking class code.

Parameters:
resBookDesigCode
            public void setResBookDesigCode(String resBookDesigCode) {
                this. = resBookDesigCode;
            }

            
Get the 'PreferLevel' attribute value.

Returns:
value
            public PreferLevel getPreferLevel() {
                return ;
            }

            
Set the 'PreferLevel' attribute value.

Parameters:
preferLevel
            public void setPreferLevel(PreferLevel preferLevel) {
                this. = preferLevel;
            }
        }
        
Specify whether prices returned should include Taxes, Services, Fees. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PricingPrefs" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ExchangeRates" minOccurs="0">
         <!-- Reference to inner class ExchangeRates -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeTaxInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeServiceFeesInd"/>
     <xs:attribute type="xs:string" use="optional" name="OverrideCurrency"/>
     <xs:attribute type="xs:string" use="optional" name="AlternateCurrency"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeBaseAmtInd"/>
     <xs:attribute type="xs:float" use="optional" name="MaxRateAmount"/>
     <xs:attribute type="xs:float" use="optional" name="MaxCalculatedRateAmount"/>
     <xs:attribute use="optional" name="CurrencyOption">
       <xs:simpleType>
         <!-- Reference to inner class CurrencyOption -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 
        public static class PricingPrefs
        {
            private ExchangeRates exchangeRates;
            private Boolean includeTaxInd;
            private Boolean includeServiceFeesInd;
            private String overrideCurrency;
            private String alternateCurrency;
            private Boolean includeBaseAmtInd;
            private Float maxRateAmount;
            private Float maxCalculatedRateAmount;
            private CurrencyOption currencyOption;

            
Get the 'ExchangeRates' element value.

Returns:
value
            public ExchangeRates getExchangeRates() {
                return ;
            }

            
Set the 'ExchangeRates' element value.

Parameters:
exchangeRates
            public void setExchangeRates(ExchangeRates exchangeRates) {
                this. = exchangeRates;
            }

            
Get the 'IncludeTaxInd' attribute value. When true, response should include taxes.

Returns:
value
            public Boolean getIncludeTaxInd() {
                return ;
            }

            
Set the 'IncludeTaxInd' attribute value. When true, response should include taxes.

Parameters:
includeTaxInd
            public void setIncludeTaxInd(Boolean includeTaxInd) {
                this. = includeTaxInd;
            }

            
Get the 'IncludeServiceFeesInd' attribute value. When true, response should include service fee information.

Returns:
value
            public Boolean getIncludeServiceFeesInd() {
                return ;
            }

            
Set the 'IncludeServiceFeesInd' attribute value. When true, response should include service fee information.

Parameters:
includeServiceFeesInd
            public void setIncludeServiceFeesInd(Boolean includeServiceFeesInd) {
                this. = includeServiceFeesInd;
            }

            
Get the 'OverrideCurrency' attribute value. Specifies the currency for pricing that overrides that in point of sale. Use ISO 4217, 3 alpha code.

Returns:
value
            public String getOverrideCurrency() {
                return ;
            }

            
Set the 'OverrideCurrency' attribute value. Specifies the currency for pricing that overrides that in point of sale. Use ISO 4217, 3 alpha code.

Parameters:
overrideCurrency
            public void setOverrideCurrency(String overrideCurrency) {
                this. = overrideCurrency;
            }

            
Get the 'AlternateCurrency' attribute value. Specifies the alternate currency for pricing other than that in point of sale or the override currency. Use ISO 4217, 3 alpha code.

Returns:
value
            public String getAlternateCurrency() {
                return ;
            }

            
Set the 'AlternateCurrency' attribute value. Specifies the alternate currency for pricing other than that in point of sale or the override currency. Use ISO 4217, 3 alpha code.

Parameters:
alternateCurrency
            public void setAlternateCurrency(String alternateCurrency) {
                this. = alternateCurrency;
            }

            
Get the 'IncludeBaseAmtInd' attribute value. If true, the base amount should be returned in the response. If false, it does not need to be returned.

Returns:
value
            public Boolean getIncludeBaseAmtInd() {
                return ;
            }

            
Set the 'IncludeBaseAmtInd' attribute value. If true, the base amount should be returned in the response. If false, it does not need to be returned.

Parameters:
includeBaseAmtInd
            public void setIncludeBaseAmtInd(Boolean includeBaseAmtInd) {
                this. = includeBaseAmtInd;
            }

            
Get the 'MaxRateAmount' attribute value. The maximum rate that a traveler is willing to pay.

Returns:
value
            public Float getMaxRateAmount() {
                return ;
            }

            
Set the 'MaxRateAmount' attribute value. The maximum rate that a traveler is willing to pay.

Parameters:
maxRateAmount
            public void setMaxRateAmount(Float maxRateAmount) {
                this. = maxRateAmount;
            }

            
Get the 'MaxCalculatedRateAmount' attribute value. The maximum calculated rate that a traveler is willing to pay.

Returns:
value
            public Float getMaxCalculatedRateAmount() {
                return ;
            }

            
Set the 'MaxCalculatedRateAmount' attribute value. The maximum calculated rate that a traveler is willing to pay.

Parameters:
maxCalculatedRateAmount
            public void setMaxCalculatedRateAmount(Float maxCalculatedRateAmount) {
                this. = maxCalculatedRateAmount;
            }

            
Get the 'CurrencyOption' attribute value. May be used to specify why an override currency is being included.

Returns:
value
            public CurrencyOption getCurrencyOption() {
                return ;
            }

            
Set the 'CurrencyOption' attribute value. May be used to specify why an override currency is being included.

Parameters:
currencyOption
            public void setCurrencyOption(CurrencyOption currencyOption) {
                this. = currencyOption;
            }
            
Container for exchange rate elements. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ExchangeRates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ExchangeRate" maxOccurs="10">
         <xs:complexType>
           <xs:attributeGroup ref="ns:ExchangeRateGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
            public static class ExchangeRates
            {
                private List<ExchangeRateGroupexchangeRateList = new ArrayList<ExchangeRateGroup>();

                
Get the list of 'ExchangeRate' element items. Specify a particular exchange rate to use in the response.

Returns:
list
                public List<ExchangeRateGroupgetExchangeRateList() {
                    return ;
                }

                
Set the list of 'ExchangeRate' element items. Specify a particular exchange rate to use in the response.

Parameters:
list
                public void setExchangeRateList(List<ExchangeRateGrouplist) {
                     = list;
                }

                
Get the number of 'ExchangeRate' element items.

Returns:
count
                public int sizeExchangeRateList() {
                    return .size();
                }

                
Add a 'ExchangeRate' element item.

Parameters:
item
                public void addExchangeRate(ExchangeRateGroup item) {
                    .add(item);
                }

                
Get 'ExchangeRate' element item by position.

Parameters:
index
Returns:
item
                public ExchangeRateGroup getExchangeRate(int index) {
                    return .get(index);
                }

                
Remove all 'ExchangeRate' element items.
                public void clearExchangeRateList() {
                    .clear();
                }
            }
            
Schema fragment(s) for this class:
 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="FilingCurrency"/>
     <xs:enumeration value="ConvertToCurrency"/>
   </xs:restriction>
 </xs:simpleType>
 
            public static enum CurrencyOption {
                
Display fares filed in a specific currency (i.e., the override currency).
                FILING_CURRENCY("FilingCurrency"), 
Convert fares to a specific currency (i.e., the override currency).
                CONVERT_TO_CURRENCY("ConvertToCurrency");
                private final String value;
                private CurrencyOption(String value) {
                    this. = value;
                }
                public String xmlValue() {
                    return ;
                }
                public static CurrencyOption convert(String value) {
                    for (CurrencyOption inst : values()) {
                        if (inst.xmlValue().equals(value)) {
                            return inst;
                        }
                    }
                    return null;
                }
            }
        }
        
Specify global direction preferences (e.g. AP- Atlantic Ocean, PA, Pacific Ocean etc.) Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GlobalIndicatorPref" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute use="optional" name="GlobalIndicatorCode">
       <xs:simpleType>
         <!-- Reference to inner class GlobalIndicatorCode -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="CodeContext"/>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
   </xs:complexType>
 </xs:element>
 
        public static class GlobalIndicatorPref
        {
            private GlobalIndicatorCode globalIndicatorCode;
            private String codeContext;
            private PreferLevel preferLevel;

            
Get the 'GlobalIndicatorCode' attribute value. AP-Atlantic Ocean; PA - Pacific Ocean; WH - Western Hemisphere; EH - Eastern Hemisphere; PO - Polar Route; TS - Trans Siberia Route; AP - Atlantic/Pacific Round-the-World

Returns:
value
            public GlobalIndicatorCode getGlobalIndicatorCode() {
                return ;
            }

            
Set the 'GlobalIndicatorCode' attribute value. AP-Atlantic Ocean; PA - Pacific Ocean; WH - Western Hemisphere; EH - Eastern Hemisphere; PO - Polar Route; TS - Trans Siberia Route; AP - Atlantic/Pacific Round-the-World

Parameters:
globalIndicatorCode
            public void setGlobalIndicatorCode(
                    GlobalIndicatorCode globalIndicatorCode) {
                this. = globalIndicatorCode;
            }

            
Get the 'CodeContext' attribute value. The code list from which the global indicator code is valid. <LegacyDefaultValue xmlns="http://www.opentravel.org/OTA/2003/05/common">IATA</LegacyDefaultValue>

Returns:
value
            public String getCodeContext() {
                return ;
            }

            
Set the 'CodeContext' attribute value. The code list from which the global indicator code is valid. <LegacyDefaultValue xmlns="http://www.opentravel.org/OTA/2003/05/common">IATA</LegacyDefaultValue>

Parameters:
codeContext
            public void setCodeContext(String codeContext) {
                this. = codeContext;
            }

            
Get the 'PreferLevel' attribute value.

Returns:
value
            public PreferLevel getPreferLevel() {
                return ;
            }

            
Set the 'PreferLevel' attribute value.

Parameters:
preferLevel
            public void setPreferLevel(PreferLevel preferLevel) {
                this. = preferLevel;
            }
            
Schema fragment(s) for this class:
 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="AT"/>
     <xs:enumeration value="PA"/>
     <xs:enumeration value="WH"/>
     <xs:enumeration value="EH"/>
     <xs:enumeration value="PO"/>
     <xs:enumeration value="TS"/>
     <xs:enumeration value="AP"/>
     <xs:enumeration value="SP"/>
   </xs:restriction>
 </xs:simpleType>
 
            public static enum GlobalIndicatorCode {
                AT, PA, WH, EH, PO, 
Trans Siberian.
                TS, 
Atlantic Pacific.
                AP, SP
            }
        }
    }
    
Information regarding the numbers and types of passengers. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TravelerInfoSummary" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PassengerTypeQuantity" maxOccurs="10">
         <!-- Reference to inner class PassengerTypeQuantity -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class TravelerInfoSummary
    {
        private List<PassengerTypeQuantitypassengerTypeQuantityList = new ArrayList<PassengerTypeQuantity>();

        
Get the list of 'PassengerTypeQuantity' element items.

Returns:
list
            return ;
        }

        
Set the list of 'PassengerTypeQuantity' element items.

Parameters:
list
        public void setPassengerTypeQuantityList(
                List<PassengerTypeQuantitylist) {
             = list;
        }

        
Get the number of 'PassengerTypeQuantity' element items.

Returns:
count
        public int sizePassengerTypeQuantityList() {
            return .size();
        }

        
Add a 'PassengerTypeQuantity' element item.

Parameters:
item
        public void addPassengerTypeQuantity(PassengerTypeQuantity item) {
            .add(item);
        }

        
Get 'PassengerTypeQuantity' element item by position.

Parameters:
index
Returns:
item
        public PassengerTypeQuantity getPassengerTypeQuantity(int index) {
            return .get(index);
        }

        
Remove all 'PassengerTypeQuantity' element items.
        public void clearPassengerTypeQuantityList() {
            .clear();
        }
        
Specify number of passengers using Passenger Type Codes. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PassengerTypeQuantity" maxOccurs="10">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:PassengerTypeQuantityType">
         <xs:sequence>
           <xs:element name="ReductionPref" minOccurs="0">
             <!-- Reference to inner class ReductionPref -->
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
        public static class PassengerTypeQuantity
                extends
                    org.jibx.schema.org.opentravel._2012B.base.air.PassengerTypeQuantity
        {
            private ReductionPref reductionPref;

            
Get the 'ReductionPref' element value.

Returns:
value
            public ReductionPref getReductionPref() {
                return ;
            }

            
Set the 'ReductionPref' element value.

Parameters:
reductionPref
            public void setReductionPref(ReductionPref reductionPref) {
                this. = reductionPref;
            }
            
Specify a desired reduction amount or percentage for this passenger type Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReductionPref" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:float" use="optional" name="Amount"/>
     <xs:attribute type="xs:string" use="optional" name="Currency"/>
     <xs:attribute type="xs:float" use="optional" name="Percent"/>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
   </xs:complexType>
 </xs:element>
 
            public static class ReductionPref
            {
                private Float amount;
                private String currency;
                private Float percent;
                private PreferLevel preferLevel;

                
Get the 'Amount' attribute value. The desired reduction amount.

Returns:
value
                public Float getAmount() {
                    return ;
                }

                
Set the 'Amount' attribute value. The desired reduction amount.

Parameters:
amount
                public void setAmount(Float amount) {
                    this. = amount;
                }

                
Get the 'Currency' attribute value. The desired reduction currency.

Returns:
value
                public String getCurrency() {
                    return ;
                }

                
Set the 'Currency' attribute value. The desired reduction currency.

Parameters:
currency
                public void setCurrency(String currency) {
                    this. = currency;
                }

                
Get the 'Percent' attribute value. The desired reduction percentage.

Returns:
value
                public Float getPercent() {
                    return ;
                }

                
Set the 'Percent' attribute value. The desired reduction percentage.

Parameters:
percent
                public void setPercent(Float percent) {
                    this. = percent;
                }

                
Get the 'PreferLevel' attribute value.

Returns:
value
                public PreferLevel getPreferLevel() {
                    return ;
                }

                
Set the 'PreferLevel' attribute value.

Parameters:
preferLevel
                public void setPreferLevel(PreferLevel preferLevel) {
                    this. = preferLevel;
                }
            }
        }
    }
    
Specifies an account code for which fares are requested. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Account" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:boolean" use="optional" name="CodeOnlyFaresInd"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
   </xs:complexType>
 </xs:element>
 
    public static class Account
    {
        private Boolean codeOnlyFaresInd;
        private String code;

        
Get the 'CodeOnlyFaresInd' attribute value. If true, return only the fares for the specified account code. If false, also return other fares.

Returns:
value
        public Boolean getCodeOnlyFaresInd() {
            return ;
        }

        
Set the 'CodeOnlyFaresInd' attribute value. If true, return only the fares for the specified account code. If false, also return other fares.

Parameters:
codeOnlyFaresInd
        public void setCodeOnlyFaresInd(Boolean codeOnlyFaresInd) {
            this. = codeOnlyFaresInd;
        }

        
Get the 'Code' attribute value. The account code for which fares are requested.

Returns:
value
        public String getCode() {
            return ;
        }

        
Set the 'Code' attribute value. The account code for which fares are requested.

Parameters:
code
        public void setCode(String code) {
            this. = code;
        }
    }