org.ota.dynamicpkg
Class BookRQ

java.lang.Object
  extended by org.ota.dynamicpkg.BookRQ

public class BookRQ
extends java.lang.Object

Requests the system to book the specified component itineraries for one or more identified passengers. This message contains identical components to the vertical-specific book request messages (i.e., OTA_AirBookRQ, OTA_HotelResRQ, OTA_VehResRQ). 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_DynamicPkgBookRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:DynamicPkgType" name="DynamicPackage"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <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="MaxResponsesGroup">
   <xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
 </xs:attributeGroup>
 


Constructor Summary
BookRQ()
           
 
Method Summary
 DynamicPkg getDynamicPackage()
          Get the 'DynamicPackage' element value.
 java.lang.String getMaxResponses()
          Get the 'MaxResponses' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 void setDynamicPackage(DynamicPkg dynamicPackage)
          Set the 'DynamicPackage' element value.
 void setMaxResponses(java.lang.String maxResponses)
          Set the 'MaxResponses' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookRQ

public BookRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of Sale (POS) identifies the party or connection channel making the request.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of Sale (POS) identifies the party or connection channel making the request.

Parameters:
POS -

getDynamicPackage

public DynamicPkg getDynamicPackage()
Get the 'DynamicPackage' element value. Contains the selected components that will make up the reservation.

Returns:
value

setDynamicPackage

public void setDynamicPackage(DynamicPkg dynamicPackage)
Set the 'DynamicPackage' element value. Contains the selected components that will make up the reservation.

Parameters:
dynamicPackage -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -

getMaxResponses

public java.lang.String getMaxResponses()
Get the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Returns:
value

setMaxResponses

public void setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses -