org.ota.air
Class PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg

java.lang.Object
  extended by org.ota.shared.FlightSegmentBase
      extended by org.ota.air.FlightSegment
          extended by org.ota.air.BookFlightSegment
              extended by org.ota.air.PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg
Enclosing class:
PTCFareBreakdown.PricingUnit.FareComponent

public static class PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg
extends BookFlightSegment

The flight leg information for the fare component. 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="FlightLeg" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:BookFlightSegmentType">
         <xs:attribute type="xs:boolean" use="optional" name="SurchargeInd"/>
         <xs:attribute type="xs:string" use="optional" name="FareBasisCode"/>
         <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.air.BookFlightSegment
BookFlightSegment.BookingClassAvails, BookFlightSegment.ETicketEligibility
 
Nested classes/interfaces inherited from class org.ota.air.FlightSegment
FlightSegment.MarketingAirline
 
Constructor Summary
PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg()
           
 
Method Summary
 java.lang.String getFareBasisCode()
          Get the 'FareBasisCode' attribute value.
 java.lang.Boolean getSurchargeInd()
          Get the 'SurchargeInd' attribute value.
 UnitsOfMeasureGroup getUnitsOfMeasureGroup()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 void setFareBasisCode(java.lang.String fareBasisCode)
          Set the 'FareBasisCode' attribute value.
 void setSurchargeInd(java.lang.Boolean surchargeInd)
          Set the 'SurchargeInd' attribute value.
 void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 
Methods inherited from class org.ota.air.BookFlightSegment
addBookingClassAvail, addComment, addStopLocation, clearBookingClassAvails, clearComments, clearStopLocations, getBookingClassAvail, getBookingClassAvails, getComment, getComments, getConnection, getDateChangeNbr, getDepartureDay, getDistance, getETicketEligibility1, getLineNumber, getMarriageGrp, getMealCode, getNumberInParty, getParticipationLevelCode, getResBookDesigCode, getStatus, getStopLocation, getStopLocations, getStopoverInd, getValidConnectionInd, setBookingClassAvails, setComments, setConnection, setDateChangeNbr, setDepartureDay, setDistance, setETicketEligibility1, setLineNumber, setMarriageGrp, setMealCode, setNumberInParty, setParticipationLevelCode, setResBookDesigCode, setStatus, setStopLocations, setStopoverInd, setValidConnectionInd, sizeBookingClassAvails, sizeComments, sizeStopLocations
 
Methods inherited from class org.ota.air.FlightSegment
getFlightNumber, getMarketingAirline, getTourOperatorFlightID, setFlightNumber, setMarketingAirline, setTourOperatorFlightID
 
Methods inherited from class org.ota.shared.FlightSegmentBase
addEquipment, clearEquipments, getArrivalAirport, getArrivalDateTime, getDepartureAirport, getDepartureDateTime, getEquipment, getEquipments, getInfoSource, getOperatingAirline, getRPH, getStopQuantity, setArrivalAirport, setArrivalDateTime, setDepartureAirport, setDepartureDateTime, setEquipments, setInfoSource, setOperatingAirline, setRPH, setStopQuantity, sizeEquipments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg

public PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg()
Method Detail

getSurchargeInd

public java.lang.Boolean getSurchargeInd()
Get the 'SurchargeInd' attribute value. When true, a surcharge applies to this flight leg.

Returns:
value

setSurchargeInd

public void setSurchargeInd(java.lang.Boolean surchargeInd)
Set the 'SurchargeInd' attribute value. When true, a surcharge applies to this flight leg.

Parameters:
surchargeInd -

getFareBasisCode

public java.lang.String getFareBasisCode()
Get the 'FareBasisCode' attribute value. The fare basis code for this flight leg.

Returns:
value

setFareBasisCode

public void setFareBasisCode(java.lang.String fareBasisCode)
Set the 'FareBasisCode' attribute value. The fare basis code for this flight leg.

Parameters:
fareBasisCode -

getUnitsOfMeasureGroup

public UnitsOfMeasureGroup getUnitsOfMeasureGroup()
Get the 'UnitsOfMeasureGroup' attributeGroup value. Used to specify the free baggage allowance for this flight leg.

Returns:
value

setUnitsOfMeasureGroup

public void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
Set the 'UnitsOfMeasureGroup' attributeGroup value. Used to specify the free baggage allowance for this flight leg.

Parameters:
unitsOfMeasureGroup -