|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.pkg.PackageResponse
public class PackageResponse
Defines a complete package holiday response. 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="PackageResponseType">
<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:element name="Cautions" minOccurs="0">
<!-- Reference to inner class Cautions -->
</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: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 |
PackageResponse.Cautions
A collection of items of essential information relating to components of a package itinerary. |
static class |
PackageResponse.Extras
A collection of requested/booked Extras. |
static class |
PackageResponse.ItineraryItems
A collection of elements to allow any item of inventory to be requested for a booking. |
| Constructor Summary | |
|---|---|
PackageResponse()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBoardCode()
Get the 'BoardCode' attribute value. |
java.lang.String |
getBrandCode()
Get the 'BrandCode' attribute value. |
PackageResponse.Cautions |
getCautions()
Get the 'Cautions' element value. |
CompanyName |
getCompanyName()
Get the 'CompanyName' element value. |
DateTimeSpanGroup |
getDateRange()
Get the 'DateTimeSpanGroup' attributeGroup value. |
PackageResponse.Extras |
getExtras()
Get the 'Extras' element value. |
java.lang.String |
getID()
Get the 'ID' attribute value. |
PackageResponse.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 |
setCautions(PackageResponse.Cautions cautions)
Set the 'Cautions' element value. |
void |
setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. |
void |
setDateRange(DateTimeSpanGroup dateRange)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setExtras(PackageResponse.Extras extras)
Set the 'Extras' element value. |
void |
setID(java.lang.String ID)
Set the 'ID' attribute value. |
void |
setItineraryItems(PackageResponse.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 PackageResponse()
| 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 PackageResponse.ItineraryItems getItineraryItems()
public void setItineraryItems(PackageResponse.ItineraryItems itineraryItems)
itineraryItems - public PackageResponse.Extras getExtras()
public void setExtras(PackageResponse.Extras extras)
extras - public PackageResponse.Cautions getCautions()
public void setCautions(PackageResponse.Cautions cautions)
cautions - 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.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 | ||||||