|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.RulesRQ
public class RulesRQ
The Rules Request message requests text rules for a specific fare class code for an airline and city pair on a specific date. Optional information negotiated fare contract codes to be included in the message. The rules request contains similar to a Fare Rules entry on an airline CRS or GDS. 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="OTA_AirRulesRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element name="RuleReqInfo"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:FareInfoType"> <xs:sequence> <xs:element name="SubSection" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class SubSection --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="LanguageRequested"/> <xs:attribute type="xs:boolean" use="optional" name="AbbreviatedRuleTextInd"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
RulesRQ.SubSection
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
RulesRQ()
|
Method Summary | |
---|---|
void |
addSubSection(RulesRQ.SubSection item)
Add a 'SubSection' element item. |
void |
clearSubSections()
Remove all 'SubSection' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
java.lang.Boolean |
getRuleReqInfoAbbreviatedRuleTextInd()
Get the 'AbbreviatedRuleTextInd' attribute value. |
FareInfo |
getRuleReqInfoFareInfo()
Get the extension value. |
java.lang.String |
getRuleReqInfoLanguageRequested()
Get the 'LanguageRequested' attribute value. |
RulesRQ.SubSection |
getSubSection(int index)
Get 'SubSection' element item by position. |
java.util.List<RulesRQ.SubSection> |
getSubSections()
Get the list of 'SubSection' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setRuleReqInfoAbbreviatedRuleTextInd(java.lang.Boolean ruleReqInfoAbbreviatedRuleTextInd)
Set the 'AbbreviatedRuleTextInd' attribute value. |
void |
setRuleReqInfoFareInfo(FareInfo ruleReqInfoFareInfo)
Set the extension value. |
void |
setRuleReqInfoLanguageRequested(java.lang.String ruleReqInfoLanguageRequested)
Set the 'LanguageRequested' attribute value. |
void |
setSubSections(java.util.List<RulesRQ.SubSection> list)
Set the list of 'SubSection' element items. |
int |
sizeSubSections()
Get the number of 'SubSection' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RulesRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public FareInfo getRuleReqInfoFareInfo()
public void setRuleReqInfoFareInfo(FareInfo ruleReqInfoFareInfo)
ruleReqInfoFareInfo
- public java.util.List<RulesRQ.SubSection> getSubSections()
public void setSubSections(java.util.List<RulesRQ.SubSection> list)
list
- public int sizeSubSections()
public void addSubSection(RulesRQ.SubSection item)
item
- public RulesRQ.SubSection getSubSection(int index)
index
-
public void clearSubSections()
public java.lang.String getRuleReqInfoLanguageRequested()
public void setRuleReqInfoLanguageRequested(java.lang.String ruleReqInfoLanguageRequested)
ruleReqInfoLanguageRequested
- public java.lang.Boolean getRuleReqInfoAbbreviatedRuleTextInd()
public void setRuleReqInfoAbbreviatedRuleTextInd(java.lang.Boolean ruleReqInfoAbbreviatedRuleTextInd)
ruleReqInfoAbbreviatedRuleTextInd
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |