org.ota.air
Class TravelerInfoSummary.PriceRequestInformation.SegmentOverride

java.lang.Object
  extended by org.ota.air.TravelerInfoSummary.PriceRequestInformation.SegmentOverride
Enclosing class:
TravelerInfoSummary.PriceRequestInformation

public static class TravelerInfoSummary.PriceRequestInformation.SegmentOverride
extends java.lang.Object

Used to specify a segment that should be overridden. 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="SegmentOverride" minOccurs="0" maxOccurs="20">
   <xs:complexType>
     <xs:attribute type="xs:int" use="required" name="SegmentNumber"/>
     <xs:attribute use="required" name="SegmentType">
       <xs:simpleType>
         <!-- Reference to inner class Segment -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class TravelerInfoSummary.PriceRequestInformation.SegmentOverride.Segment
          Schema fragment(s) for this class:
 
Constructor Summary
TravelerInfoSummary.PriceRequestInformation.SegmentOverride()
           
 
Method Summary
 TravelerInfoSummary.PriceRequestInformation.SegmentOverride.Segment getSegment()
          Get the 'SegmentType' attribute value.
 java.lang.Integer getSegmentNumber()
          Get the 'SegmentNumber' attribute value.
 void setSegment(TravelerInfoSummary.PriceRequestInformation.SegmentOverride.Segment segment)
          Set the 'SegmentType' attribute value.
 void setSegmentNumber(java.lang.Integer segmentNumber)
          Set the 'SegmentNumber' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelerInfoSummary.PriceRequestInformation.SegmentOverride

public TravelerInfoSummary.PriceRequestInformation.SegmentOverride()
Method Detail

getSegmentNumber

public java.lang.Integer getSegmentNumber()
Get the 'SegmentNumber' attribute value. Used to specify a segment that should be overridden.

Returns:
value

setSegmentNumber

public void setSegmentNumber(java.lang.Integer segmentNumber)
Set the 'SegmentNumber' attribute value. Used to specify a segment that should be overridden.

Parameters:
segmentNumber -

getSegment

public TravelerInfoSummary.PriceRequestInformation.SegmentOverride.Segment getSegment()
Get the 'SegmentType' attribute value. Used to specify what should be overridden.

Returns:
value

setSegment

public void setSegment(TravelerInfoSummary.PriceRequestInformation.SegmentOverride.Segment segment)
Set the 'SegmentType' attribute value. Used to specify what should be overridden.

Parameters:
segment -