org.ota.air
Class AirSearchPrefs.VendorPref

java.lang.Object
  extended by org.ota.air.AirSearchPrefs.VendorPref
Enclosing class:
AirSearchPrefs

public static class AirSearchPrefs.VendorPref
extends java.lang.Object

Specify vendors to include and exclude from the response. 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="VendorPref" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:CompanyNamePrefType">
         <xs:attribute type="xs:boolean" use="optional" name="AllianceAllowedInd"/>
         <xs:attribute type="xs:boolean" use="optional" name="LoyaltyAllowedInd"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirSearchPrefs.VendorPref()
           
 
Method Summary
 java.lang.Boolean getAllianceAllowedInd()
          Get the 'AllianceAllowedInd' attribute value.
 CompanyNamePref getCompanyNamePref()
          Get the extension value.
 java.lang.Boolean getLoyaltyAllowedInd()
          Get the 'LoyaltyAllowedInd' attribute value.
 void setAllianceAllowedInd(java.lang.Boolean allianceAllowedInd)
          Set the 'AllianceAllowedInd' attribute value.
 void setCompanyNamePref(CompanyNamePref companyNamePref)
          Set the extension value.
 void setLoyaltyAllowedInd(java.lang.Boolean loyaltyAllowedInd)
          Set the 'LoyaltyAllowedInd' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirSearchPrefs.VendorPref

public AirSearchPrefs.VendorPref()
Method Detail

getCompanyNamePref

public CompanyNamePref getCompanyNamePref()
Get the extension value.

Returns:
value

setCompanyNamePref

public void setCompanyNamePref(CompanyNamePref companyNamePref)
Set the extension value.

Parameters:
companyNamePref -

getAllianceAllowedInd

public java.lang.Boolean getAllianceAllowedInd()
Get the 'AllianceAllowedInd' attribute value. When true, flights for other airlines in an alliance with the specified carrier code may be returned.

Returns:
value

setAllianceAllowedInd

public void setAllianceAllowedInd(java.lang.Boolean allianceAllowedInd)
Set the 'AllianceAllowedInd' attribute value. When true, flights for other airlines in an alliance with the specified carrier code may be returned.

Parameters:
allianceAllowedInd -

getLoyaltyAllowedInd

public java.lang.Boolean getLoyaltyAllowedInd()
Get the 'LoyaltyAllowedInd' attribute value. When true, flights for other airlines in a loyalty program with the specified carrier code may be returned.

Returns:
value

setLoyaltyAllowedInd

public void setLoyaltyAllowedInd(java.lang.Boolean loyaltyAllowedInd)
Set the 'LoyaltyAllowedInd' attribute value. When true, flights for other airlines in a loyalty program with the specified carrier code may be returned.

Parameters:
loyaltyAllowedInd -