org.ota.profile
Class Profile.PrefCollections.PrefCollection.AirlinePref.FarePref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.AirlinePref.FarePref
Enclosing class:
Profile.PrefCollections.PrefCollection.AirlinePref

public static class Profile.PrefCollections.PrefCollection.AirlinePref.FarePref
extends java.lang.Object

Indicates preferred fare. 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="FarePref" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="Description"/>
     <xs:attribute type="xs:string" use="optional" name="AirlineVendorPrefRPH"/>
     <xs:attribute type="xs:string" use="optional" name="RateCategoryCode"/>
     <xs:attribute type="ns:TransferActionType" use="optional" name="TransferAction"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.AirlinePref.FarePref()
           
 
Method Summary
 java.lang.String getAirlineVendorPrefRPH()
          Get the 'AirlineVendorPrefRPH' attribute value.
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getRateCategoryCode()
          Get the 'RateCategoryCode' attribute value.
 TransferAction getTransferAction()
          Get the 'TransferAction' attribute value.
 void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
          Set the 'AirlineVendorPrefRPH' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setRateCategoryCode(java.lang.String rateCategoryCode)
          Set the 'RateCategoryCode' attribute value.
 void setTransferAction(TransferAction transferAction)
          Set the 'TransferAction' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.AirlinePref.FarePref

public Profile.PrefCollections.PrefCollection.AirlinePref.FarePref()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Code indicating the type of fare preference (e.g., FM=commission, FD=fare discount).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Code indicating the type of fare preference (e.g., FM=commission, FD=fare discount).

Parameters:
code -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. Free text describing the fare preference.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. Free text describing the fare preference.

Parameters:
description -

getAirlineVendorPrefRPH

public java.lang.String getAirlineVendorPrefRPH()
Get the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in AirlinePrefType/VendorPref.

Returns:
value

setAirlineVendorPrefRPH

public void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
Set the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in AirlinePrefType/VendorPref.

Parameters:
airlineVendorPrefRPH -

getRateCategoryCode

public java.lang.String getRateCategoryCode()
Get the 'RateCategoryCode' attribute value. Provides a rate category for the fare preference. Refer to OpenTravel code list Rate Category (RTC).

Returns:
value

setRateCategoryCode

public void setRateCategoryCode(java.lang.String rateCategoryCode)
Set the 'RateCategoryCode' attribute value. Provides a rate category for the fare preference. Refer to OpenTravel code list Rate Category (RTC).

Parameters:
rateCategoryCode -

getTransferAction

public TransferAction getTransferAction()
Get the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Returns:
value

setTransferAction

public void setTransferAction(TransferAction transferAction)
Set the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Parameters:
transferAction -