|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.rail.PassengerPrice
org.ota.rail.FareRule
public class FareRule
A price and rule combination. 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="FareRuleType">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:PassengerPriceType">
<xs:sequence>
<xs:element ref="ns:PriceRule" maxOccurs="9"/>
<xs:element ref="ns:TotalFare"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:PriceRuleType" name="PriceRule"/>
| Constructor Summary | |
|---|---|
FareRule()
|
|
| Method Summary | |
|---|---|
void |
addPriceRule(PriceRule item)
Add a 'PriceRule' element item. |
void |
clearPriceRules()
Remove all 'PriceRule' element items. |
PriceRule |
getPriceRule(int index)
Get 'PriceRule' element item by position. |
java.util.List<PriceRule> |
getPriceRules()
Get the list of 'PriceRule' element items. |
TotalFare |
getTotalFare()
Get the 'TotalFare' element value. |
void |
setPriceRules(java.util.List<PriceRule> list)
Set the list of 'PriceRule' element items. |
void |
setTotalFare(TotalFare totalFare)
Set the 'TotalFare' element value. |
int |
sizePriceRules()
Get the number of 'PriceRule' element items. |
| Methods inherited from class org.ota.rail.PassengerPrice |
|---|
getAlternateCurrencyPrice, getCurrencyAmountGroup, getTravelerCountGroup, setAlternateCurrencyPrice, setCurrencyAmountGroup, setTravelerCountGroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FareRule()
| Method Detail |
|---|
public java.util.List<PriceRule> getPriceRules()
public void setPriceRules(java.util.List<PriceRule> list)
list - public int sizePriceRules()
public void addPriceRule(PriceRule item)
item - public PriceRule getPriceRule(int index)
index -
public void clearPriceRules()
public TotalFare getTotalFare()
public void setTotalFare(TotalFare totalFare)
totalFare -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||