org.ota.air
Class FareInfo.RuleInfo
java.lang.Object
org.ota.air.RuleInfo
org.ota.air.FareInfo.RuleInfo
- Enclosing class:
- FareInfo
public static class FareInfo.RuleInfo
- extends RuleInfo
Information regarding restrictions governing use 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="RuleInfo" minOccurs="0">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:RuleInfoType">
<xs:attribute type="ns:AirTripType" use="optional" name="TripType"/>
<xs:attribute type="xs:boolean" use="optional" name="MoneySaverInd"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Method Summary |
java.lang.Boolean |
getMoneySaverInd()
Get the 'MoneySaverInd' attribute value. |
AirTrip |
getTrip()
Get the 'TripType' attribute value. |
void |
setMoneySaverInd(java.lang.Boolean moneySaverInd)
Set the 'MoneySaverInd' attribute value. |
void |
setTrip(AirTrip trip)
Set the 'TripType' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FareInfo.RuleInfo
public FareInfo.RuleInfo()
getTrip
public AirTrip getTrip()
- Get the 'TripType' attribute value. To specify if the trip is one way or roundtrip.
- Returns:
- value
setTrip
public void setTrip(AirTrip trip)
- Set the 'TripType' attribute value. To specify if the trip is one way or roundtrip.
- Parameters:
trip
-
getMoneySaverInd
public java.lang.Boolean getMoneySaverInd()
- Get the 'MoneySaverInd' attribute value. If true, the fare rule being requested is for all airline fares for the specified city pair. If false, it is not.
- Returns:
- value
setMoneySaverInd
public void setMoneySaverInd(java.lang.Boolean moneySaverInd)
- Set the 'MoneySaverInd' attribute value. If true, the fare rule being requested is for all airline fares for the specified city pair. If false, it is not.
- Parameters:
moneySaverInd
-