org.ota.profile
Class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo

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

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

Provides the tour code. 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="TourCodeInfo">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="TourTypeCode"/>
     <xs:attribute type="xs:int" use="optional" name="YearNum"/>
     <xs:attributeGroup ref="ns:PromotionCodeGroup"/>
     <xs:attribute type="xs:string" use="optional" name="PartyID"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo()
           
 
Method Summary
 java.lang.String getPartyID()
          Get the 'PartyID' attribute value.
 PromotionCodeGroup getPromotionCodeGroup()
          Get the 'PromotionCodeGroup' attributeGroup value.
 java.lang.String getTourTypeCode()
          Get the 'TourTypeCode' attribute value.
 java.lang.Integer getYearNum()
          Get the 'YearNum' attribute value.
 void setPartyID(java.lang.String partyID)
          Set the 'PartyID' attribute value.
 void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
          Set the 'PromotionCodeGroup' attributeGroup value.
 void setTourTypeCode(java.lang.String tourTypeCode)
          Set the 'TourTypeCode' attribute value.
 void setYearNum(java.lang.Integer yearNum)
          Set the 'YearNum' 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.TourCodePref.TourCodeInfo

public Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo()
Method Detail

getTourTypeCode

public java.lang.String getTourTypeCode()
Get the 'TourTypeCode' attribute value. Type of tour (e.g., IT=inclusive Tour, BT= Bulk Tour, NR=Net Remit).

Returns:
value

setTourTypeCode

public void setTourTypeCode(java.lang.String tourTypeCode)
Set the 'TourTypeCode' attribute value. Type of tour (e.g., IT=inclusive Tour, BT= Bulk Tour, NR=Net Remit).

Parameters:
tourTypeCode -

getYearNum

public java.lang.Integer getYearNum()
Get the 'YearNum' attribute value. Last digit of the year of the tour code creation.

Returns:
value

setYearNum

public void setYearNum(java.lang.Integer yearNum)
Set the 'YearNum' attribute value. Last digit of the year of the tour code creation.

Parameters:
yearNum -

getPromotionCodeGroup

public PromotionCodeGroup getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value. Used to provide a promotion code and the associated vendor.

Returns:
value

setPromotionCodeGroup

public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value. Used to provide a promotion code and the associated vendor.

Parameters:
promotionCodeGroup -

getPartyID

public java.lang.String getPartyID()
Get the 'PartyID' attribute value. Identifier assigned to a tour group by the airline.

Returns:
value

setPartyID

public void setPartyID(java.lang.String partyID)
Set the 'PartyID' attribute value. Identifier assigned to a tour group by the airline.

Parameters:
partyID -