|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.PTCFareBreakdown.PricingUnit.FareComponent
public static class PTCFareBreakdown.PricingUnit.FareComponent
Provides the data for a component of the 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="FareComponent" maxOccurs="99"> <xs:complexType> <xs:sequence> <xs:element name="FlightLeg" maxOccurs="99"> <!-- Reference to inner class FlightLeg --> </xs:element> </xs:sequence> <xs:attribute type="xs:int" use="required" name="Number"/> <xs:attributeGroup ref="ns:CurrencyAmountGroup"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg
The flight leg information for the fare component. |
Constructor Summary | |
---|---|
PTCFareBreakdown.PricingUnit.FareComponent()
|
Method Summary | |
---|---|
void |
addFlightLeg(PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg item)
Add a 'FlightLeg' element item. |
void |
clearFlightLegs()
Remove all 'FlightLeg' element items. |
CurrencyAmountGroup |
getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. |
PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg |
getFlightLeg(int index)
Get 'FlightLeg' element item by position. |
java.util.List<PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg> |
getFlightLegs()
Get the list of 'FlightLeg' element items. |
java.lang.Integer |
getNumber()
Get the 'Number' attribute value. |
void |
setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. |
void |
setFlightLegs(java.util.List<PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg> list)
Set the list of 'FlightLeg' element items. |
void |
setNumber(java.lang.Integer number)
Set the 'Number' attribute value. |
int |
sizeFlightLegs()
Get the number of 'FlightLeg' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PTCFareBreakdown.PricingUnit.FareComponent()
Method Detail |
---|
public java.util.List<PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg> getFlightLegs()
public void setFlightLegs(java.util.List<PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg> list)
list
- public int sizeFlightLegs()
public void addFlightLeg(PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg item)
item
- public PTCFareBreakdown.PricingUnit.FareComponent.FlightLeg getFlightLeg(int index)
index
-
public void clearFlightLegs()
public java.lang.Integer getNumber()
public void setNumber(java.lang.Integer number)
number
- public CurrencyAmountGroup getCurrencyAmountGroup()
public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
currencyAmountGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |