|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.pkg.AvailRQ
public class AvailRQ
A request for availability of a specific package. 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_PkgAvailRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/> <xs:element name="PackageRequest"> <xs:complexType> <xs:sequence> <xs:element type="ns:DateTimeSpanType" name="DateRange" minOccurs="0"/> <xs:element name="Routing" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class Routing --> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:ID_OptionalGroup"/> <xs:attribute type="xs:string" use="optional" name="Type"/> <xs:attribute type="xs:string" use="optional" name="TravelCode"/> <xs:attribute type="xs:string" use="optional" name="TourCode"/> <xs:attribute type="xs:string" use="optional" name="ShortDescription"/> <xs:attribute type="xs:string" use="optional" name="BoardCode"/> <xs:attribute type="xs:string" use="optional" name="PromotionCode"/> <xs:attribute type="xs:string" use="optional" name="BrandCode"/> <xs:attribute type="xs:string" use="optional" name="ProductCode"/> <xs:attribute type="xs:int" use="optional" name="FreeChildQuantity"/> <xs:attribute type="ns:CabinType" use="optional" name="CabinType"/> </xs:complexType> </xs:element> <xs:element type="ns:CustomerCountsType" name="CustomerCounts" minOccurs="0"/> <xs:element type="ns:URL_Type" name="URL" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attributeGroup ref="ns:ReqRespVersion"/> <xs:attributeGroup ref="ns:MaxResponsesGroup"/> </xs:complexType> </xs:element> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup"> <xs:attribute type="xs:string" use="optional" name="ID"/> </xs:attributeGroup> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion"> <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/> </xs:attributeGroup> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup"> <xs:attribute type="xs:string" use="optional" name="MaxResponses"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
AvailRQ.Routing
The departure and arrival points for outward and/or return travel. |
Constructor Summary | |
---|---|
AvailRQ()
|
Method Summary | |
---|---|
void |
addRouting(AvailRQ.Routing item)
Add a 'Routing' element item. |
void |
clearRoutings()
Remove all 'Routing' element items. |
CustomerCounts |
getCustomerCounts()
Get the 'CustomerCounts' element value. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
java.lang.String |
getPackageRequestBoardCode()
Get the 'BoardCode' attribute value. |
java.lang.String |
getPackageRequestBrandCode()
Get the 'BrandCode' attribute value. |
Cabin |
getPackageRequestCabin()
Get the 'CabinType' attribute value. |
DateTimeSpan |
getPackageRequestDateRange()
Get the 'DateRange' element value. |
java.lang.Integer |
getPackageRequestFreeChildQuantity()
Get the 'FreeChildQuantity' attribute value. |
java.lang.String |
getPackageRequestID()
Get the 'ID' attribute value. |
java.lang.String |
getPackageRequestProductCode()
Get the 'ProductCode' attribute value. |
java.lang.String |
getPackageRequestPromotionCode()
Get the 'PromotionCode' attribute value. |
java.lang.String |
getPackageRequestShortDescription()
Get the 'ShortDescription' attribute value. |
java.lang.String |
getPackageRequestTourCode()
Get the 'TourCode' attribute value. |
java.lang.String |
getPackageRequestTravelCode()
Get the 'TravelCode' attribute value. |
java.lang.String |
getPackageRequestType()
Get the 'Type' attribute value. |
POS |
getPOS()
Get the 'POS' element value. |
java.lang.String |
getReqRespVersion()
Get the 'ReqRespVersion' attribute value. |
AvailRQ.Routing |
getRouting(int index)
Get 'Routing' element item by position. |
java.util.List<AvailRQ.Routing> |
getRoutings()
Get the list of 'Routing' element items. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
URL |
getURL()
Get the 'URL' element value. |
void |
setCustomerCounts(CustomerCounts customerCounts)
Set the 'CustomerCounts' element value. |
void |
setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPackageRequestBoardCode(java.lang.String packageRequestBoardCode)
Set the 'BoardCode' attribute value. |
void |
setPackageRequestBrandCode(java.lang.String packageRequestBrandCode)
Set the 'BrandCode' attribute value. |
void |
setPackageRequestCabin(Cabin packageRequestCabin)
Set the 'CabinType' attribute value. |
void |
setPackageRequestDateRange(DateTimeSpan packageRequestDateRange)
Set the 'DateRange' element value. |
void |
setPackageRequestFreeChildQuantity(java.lang.Integer packageRequestFreeChildQuantity)
Set the 'FreeChildQuantity' attribute value. |
void |
setPackageRequestID(java.lang.String packageRequestID)
Set the 'ID' attribute value. |
void |
setPackageRequestProductCode(java.lang.String packageRequestProductCode)
Set the 'ProductCode' attribute value. |
void |
setPackageRequestPromotionCode(java.lang.String packageRequestPromotionCode)
Set the 'PromotionCode' attribute value. |
void |
setPackageRequestShortDescription(java.lang.String packageRequestShortDescription)
Set the 'ShortDescription' attribute value. |
void |
setPackageRequestTourCode(java.lang.String packageRequestTourCode)
Set the 'TourCode' attribute value. |
void |
setPackageRequestTravelCode(java.lang.String packageRequestTravelCode)
Set the 'TravelCode' attribute value. |
void |
setPackageRequestType(java.lang.String packageRequestType)
Set the 'Type' attribute value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. |
void |
setRoutings(java.util.List<AvailRQ.Routing> list)
Set the list of 'Routing' element items. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setURL(URL URL)
Set the 'URL' element value. |
int |
sizeRoutings()
Get the number of 'Routing' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvailRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public DateTimeSpan getPackageRequestDateRange()
public void setPackageRequestDateRange(DateTimeSpan packageRequestDateRange)
packageRequestDateRange
- public java.util.List<AvailRQ.Routing> getRoutings()
public void setRoutings(java.util.List<AvailRQ.Routing> list)
list
- public int sizeRoutings()
public void addRouting(AvailRQ.Routing item)
item
- public AvailRQ.Routing getRouting(int index)
index
-
public void clearRoutings()
public java.lang.String getPackageRequestID()
public void setPackageRequestID(java.lang.String packageRequestID)
packageRequestID
- public java.lang.String getPackageRequestType()
public void setPackageRequestType(java.lang.String packageRequestType)
packageRequestType
- public java.lang.String getPackageRequestTravelCode()
public void setPackageRequestTravelCode(java.lang.String packageRequestTravelCode)
packageRequestTravelCode
- public java.lang.String getPackageRequestTourCode()
public void setPackageRequestTourCode(java.lang.String packageRequestTourCode)
packageRequestTourCode
- public java.lang.String getPackageRequestShortDescription()
public void setPackageRequestShortDescription(java.lang.String packageRequestShortDescription)
packageRequestShortDescription
- public java.lang.String getPackageRequestBoardCode()
public void setPackageRequestBoardCode(java.lang.String packageRequestBoardCode)
packageRequestBoardCode
- public java.lang.String getPackageRequestPromotionCode()
public void setPackageRequestPromotionCode(java.lang.String packageRequestPromotionCode)
packageRequestPromotionCode
- public java.lang.String getPackageRequestBrandCode()
public void setPackageRequestBrandCode(java.lang.String packageRequestBrandCode)
packageRequestBrandCode
- public java.lang.String getPackageRequestProductCode()
public void setPackageRequestProductCode(java.lang.String packageRequestProductCode)
packageRequestProductCode
- public java.lang.Integer getPackageRequestFreeChildQuantity()
public void setPackageRequestFreeChildQuantity(java.lang.Integer packageRequestFreeChildQuantity)
packageRequestFreeChildQuantity
- public Cabin getPackageRequestCabin()
public void setPackageRequestCabin(Cabin packageRequestCabin)
packageRequestCabin
- public CustomerCounts getCustomerCounts()
public void setCustomerCounts(CustomerCounts customerCounts)
customerCounts
- public URL getURL()
public void setURL(URL URL)
URL
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public java.lang.String getReqRespVersion()
public void setReqRespVersion(java.lang.String reqRespVersion)
reqRespVersion
- public java.lang.String getMaxResponses()
public void setMaxResponses(java.lang.String maxResponses)
maxResponses
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |