|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.FareInfo.FareInfoInner
public static class FareInfo.FareInfoInner
Fares and related information for this fare rule. 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="FareInfo" minOccurs="0" maxOccurs="15"> <xs:complexType> <xs:sequence> <xs:element name="Date" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Date --> </xs:element> <xs:element name="Fare" minOccurs="0"> <!-- Reference to inner class Fare --> </xs:element> <xs:element name="PTC" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class PTC --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="FareBasisCode"/> <xs:attribute type="ns:GlobalIndicatorType" use="optional" name="GlobalIndicatorCode"/> <xs:attribute type="xs:int" use="optional" name="MaximumPermittedMileage"/> <xs:attribute type="ns:AirTripType" use="optional" name="TripType"/> <xs:attribute type="xs:string" use="optional" name="FareType"/> <xs:attribute type="ns:FareStatusType" use="optional" name="FareStatus"/> <xs:attribute type="ns:ActionType" use="optional" name="Operation"/> <xs:attribute type="xs:string" use="optional" name="RPH"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
FareInfo.FareInfoInner.Date
Date information applicable to the fare. |
static class |
FareInfo.FareInfoInner.Fare
The base and total fare and tax amounts associated with the rule. |
static class |
FareInfo.FareInfoInner.PTC
The passenger types for which the fare is applicable. |
Constructor Summary | |
---|---|
FareInfo.FareInfoInner()
|
Method Summary | |
---|---|
void |
addDate(FareInfo.FareInfoInner.Date item)
Add a 'Date' element item. |
void |
addPTC(FareInfo.FareInfoInner.PTC item)
Add a 'PTC' element item. |
void |
clearDates()
Remove all 'Date' element items. |
void |
clearPTCs()
Remove all 'PTC' element items. |
FareInfo.FareInfoInner.Date |
getDate(int index)
Get 'Date' element item by position. |
java.util.List<FareInfo.FareInfoInner.Date> |
getDates()
Get the list of 'Date' element items. |
FareInfo.FareInfoInner.Fare |
getFare()
Get the 'Fare' element value. |
java.lang.String |
getFare1()
Get the 'FareType' attribute value. |
java.lang.String |
getFareBasisCode()
Get the 'FareBasisCode' attribute value. |
FareStatus |
getFareStatus()
Get the 'FareStatus' attribute value. |
GlobalIndicator |
getGlobalIndicatorCode()
Get the 'GlobalIndicatorCode' attribute value. |
java.lang.Integer |
getMaximumPermittedMileage()
Get the 'MaximumPermittedMileage' attribute value. |
Action |
getOperation()
Get the 'Operation' attribute value. |
FareInfo.FareInfoInner.PTC |
getPTC(int index)
Get 'PTC' element item by position. |
java.util.List<FareInfo.FareInfoInner.PTC> |
getPTCs()
Get the list of 'PTC' element items. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
AirTrip |
getTrip()
Get the 'TripType' attribute value. |
void |
setDates(java.util.List<FareInfo.FareInfoInner.Date> list)
Set the list of 'Date' element items. |
void |
setFare(FareInfo.FareInfoInner.Fare fare)
Set the 'Fare' element value. |
void |
setFare1(java.lang.String fare1)
Set the 'FareType' attribute value. |
void |
setFareBasisCode(java.lang.String fareBasisCode)
Set the 'FareBasisCode' attribute value. |
void |
setFareStatus(FareStatus fareStatus)
Set the 'FareStatus' attribute value. |
void |
setGlobalIndicatorCode(GlobalIndicator globalIndicatorCode)
Set the 'GlobalIndicatorCode' attribute value. |
void |
setMaximumPermittedMileage(java.lang.Integer maximumPermittedMileage)
Set the 'MaximumPermittedMileage' attribute value. |
void |
setOperation(Action operation)
Set the 'Operation' attribute value. |
void |
setPTCs(java.util.List<FareInfo.FareInfoInner.PTC> list)
Set the list of 'PTC' element items. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setTrip(AirTrip trip)
Set the 'TripType' attribute value. |
int |
sizeDates()
Get the number of 'Date' element items. |
int |
sizePTCs()
Get the number of 'PTC' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FareInfo.FareInfoInner()
Method Detail |
---|
public java.util.List<FareInfo.FareInfoInner.Date> getDates()
public void setDates(java.util.List<FareInfo.FareInfoInner.Date> list)
list
- public int sizeDates()
public void addDate(FareInfo.FareInfoInner.Date item)
item
- public FareInfo.FareInfoInner.Date getDate(int index)
index
-
public void clearDates()
public FareInfo.FareInfoInner.Fare getFare()
public void setFare(FareInfo.FareInfoInner.Fare fare)
fare
- public java.util.List<FareInfo.FareInfoInner.PTC> getPTCs()
public void setPTCs(java.util.List<FareInfo.FareInfoInner.PTC> list)
list
- public int sizePTCs()
public void addPTC(FareInfo.FareInfoInner.PTC item)
item
- public FareInfo.FareInfoInner.PTC getPTC(int index)
index
-
public void clearPTCs()
public java.lang.String getFareBasisCode()
public void setFareBasisCode(java.lang.String fareBasisCode)
fareBasisCode
- public GlobalIndicator getGlobalIndicatorCode()
public void setGlobalIndicatorCode(GlobalIndicator globalIndicatorCode)
globalIndicatorCode
- public java.lang.Integer getMaximumPermittedMileage()
public void setMaximumPermittedMileage(java.lang.Integer maximumPermittedMileage)
maximumPermittedMileage
- public AirTrip getTrip()
public void setTrip(AirTrip trip)
trip
- public java.lang.String getFare1()
public void setFare1(java.lang.String fare1)
fare1
- public FareStatus getFareStatus()
public void setFareStatus(FareStatus fareStatus)
fareStatus
- public Action getOperation()
public void setOperation(Action operation)
operation
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |