|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.pkg._package
public class _package
Defines a complete package holiday request. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PackageType"> <xs:sequence> <xs:element type="ns:URL_Type" name="URL" minOccurs="0"/> <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0"/> <xs:element name="DateRange" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> </xs:complexType> </xs:element> <xs:element name="ItineraryItems" minOccurs="0"> <!-- Reference to inner class ItineraryItems --> </xs:element> <xs:element name="Extras" minOccurs="0"> <!-- Reference to inner class Extras --> </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="BoardCode"/> <xs:attribute type="xs:string" use="optional" name="PromotionCode"/> <xs:attribute type="xs:int" use="optional" name="FreeChildrenQuantity"/> <xs:attribute type="xs:string" use="optional" name="BrandCode"/> <xs:attribute type="xs:string" use="optional" name="ProductCode"/> </xs:complexType> <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>
Nested Class Summary | |
---|---|
static class |
_package.Extras
A collection of Extras requests. |
static class |
_package.ItineraryItems
A collection of elements to allow any item of inventory to be requested for a booking. |
Constructor Summary | |
---|---|
_package()
|
Method Summary | |
---|---|
java.lang.String |
getBoardCode()
Get the 'BoardCode' attribute value. |
java.lang.String |
getBrandCode()
Get the 'BrandCode' attribute value. |
CompanyName |
getCompanyName()
Get the 'CompanyName' element value. |
DateTimeSpanGroup |
getDateRange()
Get the 'DateTimeSpanGroup' attributeGroup value. |
_package.Extras |
getExtras()
Get the 'Extras' element value. |
java.lang.Integer |
getFreeChildrenQuantity()
Get the 'FreeChildrenQuantity' attribute value. |
java.lang.String |
getID()
Get the 'ID' attribute value. |
_package.ItineraryItems |
getItineraryItems()
Get the 'ItineraryItems' element value. |
java.lang.String |
getProductCode()
Get the 'ProductCode' attribute value. |
java.lang.String |
getPromotionCode()
Get the 'PromotionCode' attribute value. |
java.lang.String |
getTourCode()
Get the 'TourCode' attribute value. |
java.lang.String |
getTravelCode()
Get the 'TravelCode' attribute value. |
java.lang.String |
getType()
Get the 'Type' attribute value. |
URL |
getURL()
Get the 'URL' element value. |
void |
setBoardCode(java.lang.String boardCode)
Set the 'BoardCode' attribute value. |
void |
setBrandCode(java.lang.String brandCode)
Set the 'BrandCode' attribute value. |
void |
setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. |
void |
setDateRange(DateTimeSpanGroup dateRange)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setExtras(_package.Extras extras)
Set the 'Extras' element value. |
void |
setFreeChildrenQuantity(java.lang.Integer freeChildrenQuantity)
Set the 'FreeChildrenQuantity' attribute value. |
void |
setID(java.lang.String ID)
Set the 'ID' attribute value. |
void |
setItineraryItems(_package.ItineraryItems itineraryItems)
Set the 'ItineraryItems' element value. |
void |
setProductCode(java.lang.String productCode)
Set the 'ProductCode' attribute value. |
void |
setPromotionCode(java.lang.String promotionCode)
Set the 'PromotionCode' attribute value. |
void |
setTourCode(java.lang.String tourCode)
Set the 'TourCode' attribute value. |
void |
setTravelCode(java.lang.String travelCode)
Set the 'TravelCode' attribute value. |
void |
setType(java.lang.String type)
Set the 'Type' attribute value. |
void |
setURL(URL URL)
Set the 'URL' element value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public _package()
Method Detail |
---|
public URL getURL()
public void setURL(URL URL)
URL
- public CompanyName getCompanyName()
public void setCompanyName(CompanyName companyName)
companyName
- public DateTimeSpanGroup getDateRange()
public void setDateRange(DateTimeSpanGroup dateRange)
dateRange
- public _package.ItineraryItems getItineraryItems()
public void setItineraryItems(_package.ItineraryItems itineraryItems)
itineraryItems
- public _package.Extras getExtras()
public void setExtras(_package.Extras extras)
extras
- public java.lang.String getID()
public void setID(java.lang.String ID)
ID
- public java.lang.String getType()
public void setType(java.lang.String type)
type
- public java.lang.String getTravelCode()
public void setTravelCode(java.lang.String travelCode)
travelCode
- public java.lang.String getTourCode()
public void setTourCode(java.lang.String tourCode)
tourCode
- public java.lang.String getBoardCode()
public void setBoardCode(java.lang.String boardCode)
boardCode
- public java.lang.String getPromotionCode()
public void setPromotionCode(java.lang.String promotionCode)
promotionCode
- public java.lang.Integer getFreeChildrenQuantity()
public void setFreeChildrenQuantity(java.lang.Integer freeChildrenQuantity)
freeChildrenQuantity
- public java.lang.String getBrandCode()
public void setBrandCode(java.lang.String brandCode)
brandCode
- public java.lang.String getProductCode()
public void setProductCode(java.lang.String productCode)
productCode
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |