org.ota.pkg
Class ExtrasInfoRS

java.lang.Object
  extended by org.ota.pkg.ExtrasInfoRS

public class ExtrasInfoRS
extends java.lang.Object

The message returns package extras and/or car rental information for 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_PkgExtrasInfoRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence>
         <xs:element type="ns:SuccessType" name="Success"/>
         <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
         <xs:element name="PackageInfo">
           <xs:complexType>
             <xs:sequence>
               <xs:element type="ns:URL_Type" name="URL" 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: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="BrandCode"/>
             <xs:attribute type="xs:string" use="optional" name="ProductCode"/>
           </xs:complexType>
         </xs:element>
         <xs:element name="ExtraGroups" minOccurs="0">
           <!-- Reference to inner class ExtraGroups -->
         </xs:element>
         <xs:element name="Extras" minOccurs="0">
           <!-- Reference to inner class Extras -->
         </xs:element>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 
 <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"/>
 


Nested Class Summary
static class ExtrasInfoRS.ExtraGroups
          A collection of groupings of extra facilities Schema fragment(s) for this class:
static class ExtrasInfoRS.Extras
          A collection of extra facilities available with the package Schema fragment(s) for this class:
static class ExtrasInfoRS.ItineraryItems
          A collection of elements to allow any item of inventory to be requested for a booking.
 
Constructor Summary
ExtrasInfoRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 CompanyIDAttributesGroup getCompanyIDAttributesGroup()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Errors getErrors()
          Get the 'Errors' element value.
 ExtrasInfoRS.ExtraGroups getExtraGroups()
          Get the 'ExtraGroups' element value.
 ExtrasInfoRS.Extras getExtras()
          Get the 'Extras' element value.
 ExtrasInfoRS.ItineraryItems getItineraryItems()
          Get the 'ItineraryItems' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 java.lang.String getPackageInfoBoardCode()
          Get the 'BoardCode' attribute value.
 java.lang.String getPackageInfoBrandCode()
          Get the 'BrandCode' attribute value.
 DateTimeSpanGroup getPackageInfoDateRange()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 java.lang.String getPackageInfoID()
          Get the 'ID' attribute value.
 java.lang.String getPackageInfoProductCode()
          Get the 'ProductCode' attribute value.
 java.lang.String getPackageInfoShortDescription()
          Get the 'ShortDescription' attribute value.
 java.lang.String getPackageInfoTourCode()
          Get the 'TourCode' attribute value.
 java.lang.String getPackageInfoTravelCode()
          Get the 'TravelCode' attribute value.
 java.lang.String getPackageInfoType()
          Get the 'Type' attribute value.
 URL getPackageInfoURL()
          Get the 'URL' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Success is current selection for choice.
 void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setExtraGroups(ExtrasInfoRS.ExtraGroups extraGroups)
          Set the 'ExtraGroups' element value.
 void setExtras(ExtrasInfoRS.Extras extras)
          Set the 'Extras' element value.
 void setItineraryItems(ExtrasInfoRS.ItineraryItems itineraryItems)
          Set the 'ItineraryItems' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPackageInfoBoardCode(java.lang.String packageInfoBoardCode)
          Set the 'BoardCode' attribute value.
 void setPackageInfoBrandCode(java.lang.String packageInfoBrandCode)
          Set the 'BrandCode' attribute value.
 void setPackageInfoDateRange(DateTimeSpanGroup packageInfoDateRange)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setPackageInfoID(java.lang.String packageInfoID)
          Set the 'ID' attribute value.
 void setPackageInfoProductCode(java.lang.String packageInfoProductCode)
          Set the 'ProductCode' attribute value.
 void setPackageInfoShortDescription(java.lang.String packageInfoShortDescription)
          Set the 'ShortDescription' attribute value.
 void setPackageInfoTourCode(java.lang.String packageInfoTourCode)
          Set the 'TourCode' attribute value.
 void setPackageInfoTravelCode(java.lang.String packageInfoTravelCode)
          Set the 'TravelCode' attribute value.
 void setPackageInfoType(java.lang.String packageInfoType)
          Set the 'Type' attribute value.
 void setPackageInfoURL(URL packageInfoURL)
          Set the 'URL' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtrasInfoRS

public ExtrasInfoRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Parameters:
warnings -

getPackageInfoURL

public URL getPackageInfoURL()
Get the 'URL' element value. A link to details of a package.

Returns:
value

setPackageInfoURL

public void setPackageInfoURL(URL packageInfoURL)
Set the 'URL' element value. A link to details of a package.

Parameters:
packageInfoURL -

getPackageInfoDateRange

public DateTimeSpanGroup getPackageInfoDateRange()
Get the 'DateTimeSpanGroup' attributeGroup value. The Start date and Duration or End Date of the package.

Returns:
value

setPackageInfoDateRange

public void setPackageInfoDateRange(DateTimeSpanGroup packageInfoDateRange)
Set the 'DateTimeSpanGroup' attributeGroup value. The Start date and Duration or End Date of the package.

Parameters:
packageInfoDateRange -

getItineraryItems

public ExtrasInfoRS.ItineraryItems getItineraryItems()
Get the 'ItineraryItems' element value. Details of the selected package.

Returns:
value

setItineraryItems

public void setItineraryItems(ExtrasInfoRS.ItineraryItems itineraryItems)
Set the 'ItineraryItems' element value. Details of the selected package.

Parameters:
itineraryItems -

getPackageInfoID

public java.lang.String getPackageInfoID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setPackageInfoID

public void setPackageInfoID(java.lang.String packageInfoID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
packageInfoID -

getPackageInfoType

public java.lang.String getPackageInfoType()
Get the 'Type' attribute value. The type of package e.g. Flight-only, Air-Inclusive. Refer to OpenTravel Code List Package Type (PKG).

Returns:
value

setPackageInfoType

public void setPackageInfoType(java.lang.String packageInfoType)
Set the 'Type' attribute value. The type of package e.g. Flight-only, Air-Inclusive. Refer to OpenTravel Code List Package Type (PKG).

Parameters:
packageInfoType -

getPackageInfoTravelCode

public java.lang.String getPackageInfoTravelCode()
Get the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package.

Returns:
value

setPackageInfoTravelCode

public void setPackageInfoTravelCode(java.lang.String packageInfoTravelCode)
Set the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package.

Parameters:
packageInfoTravelCode -

getPackageInfoTourCode

public java.lang.String getPackageInfoTourCode()
Get the 'TourCode' attribute value. The supplier's code to identify the accommodation/tour arrangement for a package

Returns:
value

setPackageInfoTourCode

public void setPackageInfoTourCode(java.lang.String packageInfoTourCode)
Set the 'TourCode' attribute value. The supplier's code to identify the accommodation/tour arrangement for a package

Parameters:
packageInfoTourCode -

getPackageInfoShortDescription

public java.lang.String getPackageInfoShortDescription()
Get the 'ShortDescription' attribute value. A short description of a holiday package

Returns:
value

setPackageInfoShortDescription

public void setPackageInfoShortDescription(java.lang.String packageInfoShortDescription)
Set the 'ShortDescription' attribute value. A short description of a holiday package

Parameters:
packageInfoShortDescription -

getPackageInfoBoardCode

public java.lang.String getPackageInfoBoardCode()
Get the 'BoardCode' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Returns:
value

setPackageInfoBoardCode

public void setPackageInfoBoardCode(java.lang.String packageInfoBoardCode)
Set the 'BoardCode' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Parameters:
packageInfoBoardCode -

getPackageInfoBrandCode

public java.lang.String getPackageInfoBrandCode()
Get the 'BrandCode' attribute value. The code for the tour operator's product brand e.g. Thomascook, JMC, Sunset etc.

Returns:
value

setPackageInfoBrandCode

public void setPackageInfoBrandCode(java.lang.String packageInfoBrandCode)
Set the 'BrandCode' attribute value. The code for the tour operator's product brand e.g. Thomascook, JMC, Sunset etc.

Parameters:
packageInfoBrandCode -

getPackageInfoProductCode

public java.lang.String getPackageInfoProductCode()
Get the 'ProductCode' attribute value. The tour operator's code for the product within the brand e.g. Summersun, Greece etc.

Returns:
value

setPackageInfoProductCode

public void setPackageInfoProductCode(java.lang.String packageInfoProductCode)
Set the 'ProductCode' attribute value. The tour operator's code for the product within the brand e.g. Summersun, Greece etc.

Parameters:
packageInfoProductCode -

getExtraGroups

public ExtrasInfoRS.ExtraGroups getExtraGroups()
Get the 'ExtraGroups' element value.

Returns:
value

setExtraGroups

public void setExtraGroups(ExtrasInfoRS.ExtraGroups extraGroups)
Set the 'ExtraGroups' element value.

Parameters:
extraGroups -

getExtras

public ExtrasInfoRS.Extras getExtras()
Get the 'Extras' element value.

Returns:
value

setExtras

public void setExtras(ExtrasInfoRS.Extras extras)
Set the 'Extras' element value.

Parameters:
extras -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getCompanyIDAttributesGroup

public CompanyIDAttributesGroup getCompanyIDAttributesGroup()
Get the 'CompanyID_AttributesGroup' attributeGroup value. Identifies the company supplying the package for which these extras are available.

Returns:
value

setCompanyIDAttributesGroup

public void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
Set the 'CompanyID_AttributesGroup' attributeGroup value. Identifies the company supplying the package for which these extras are available.

Parameters:
companyIDAttributesGroup -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. Specifies the currency of the costs applied in the message.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. Specifies the currency of the costs applied in the message.

Parameters:
currencyCodeGroup -