org.ota.air
Class BookModifyRQ

java.lang.Object
  extended by org.ota.air.BookModifyRQ

public class BookModifyRQ
extends java.lang.Object

The AirBook Modify Request message requests the system to modify an existing booking for one or more identified passengers. The message may be used for any kind of modification to a booking file, i.e. a modification to existing flight segments and special service information the addition of new elements, a name change or a booking file split. Analogous to the TTY process, existing data is submitted as well as the modified data. Attribute 'Operation' indicates the way elements have to be changed. Flight segments as well as seats- and special service requests will indicate a modification using the appropriate Status attribute. 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_AirBookModifyRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="AirBookModifyRQ">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:AirReservationType">
               <xs:attribute type="xs:string" use="optional" name="ModificationType"/>
               <xs:attribute type="xs:int" use="optional" name="ReduceToNbr"/>
               <xs:attribute type="xs:boolean" use="optional" name="ClaimPNR_Ind"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:AirReservationType" name="AirReservation" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attribute type="ns:TransactionActionType" use="optional" name="ResStatus"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BookModifyRQ()
           
 
Method Summary
 AirReservation getAirBookModifyRQAirReservation()
          Get the extension value.
 java.lang.Boolean getAirBookModifyRQClaimPNRInd()
          Get the 'ClaimPNR_Ind' attribute value.
 java.lang.String getAirBookModifyRQModification()
          Get the 'ModificationType' attribute value.
 java.lang.Integer getAirBookModifyRQReduceToNbr()
          Get the 'ReduceToNbr' attribute value.
 AirReservation getAirReservation()
          Get the 'AirReservation' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 TransactionAction getResStatus()
          Get the 'ResStatus' attribute value.
 void setAirBookModifyRQAirReservation(AirReservation airBookModifyRQAirReservation)
          Set the extension value.
 void setAirBookModifyRQClaimPNRInd(java.lang.Boolean airBookModifyRQClaimPNRInd)
          Set the 'ClaimPNR_Ind' attribute value.
 void setAirBookModifyRQModification(java.lang.String airBookModifyRQModification)
          Set the 'ModificationType' attribute value.
 void setAirBookModifyRQReduceToNbr(java.lang.Integer airBookModifyRQReduceToNbr)
          Set the 'ReduceToNbr' attribute value.
 void setAirReservation(AirReservation airReservation)
          Set the 'AirReservation' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setResStatus(TransactionAction resStatus)
          Set the 'ResStatus' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookModifyRQ

public BookModifyRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. This identifes the party making the modification request. Trading partners are open to define their own UniqueID.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. This identifes the party making the modification request. Trading partners are open to define their own UniqueID.

Parameters:
POS -

getAirBookModifyRQAirReservation

public AirReservation getAirBookModifyRQAirReservation()
Get the extension value.

Returns:
value

setAirBookModifyRQAirReservation

public void setAirBookModifyRQAirReservation(AirReservation airBookModifyRQAirReservation)
Set the extension value.

Parameters:
airBookModifyRQAirReservation -

getAirBookModifyRQModification

public java.lang.String getAirBookModifyRQModification()
Get the 'ModificationType' attribute value. Specifies the type of booking modification being requested. Refer to OpenTravel Code List Modification Type (MOD).

Returns:
value

setAirBookModifyRQModification

public void setAirBookModifyRQModification(java.lang.String airBookModifyRQModification)
Set the 'ModificationType' attribute value. Specifies the type of booking modification being requested. Refer to OpenTravel Code List Modification Type (MOD).

Parameters:
airBookModifyRQModification -

getAirBookModifyRQReduceToNbr

public java.lang.Integer getAirBookModifyRQReduceToNbr()
Get the 'ReduceToNbr' attribute value. The number of passengers that should remain in the passenger booking record following a modification to reduce the number in party.

Returns:
value

setAirBookModifyRQReduceToNbr

public void setAirBookModifyRQReduceToNbr(java.lang.Integer airBookModifyRQReduceToNbr)
Set the 'ReduceToNbr' attribute value. The number of passengers that should remain in the passenger booking record following a modification to reduce the number in party.

Parameters:
airBookModifyRQReduceToNbr -

getAirBookModifyRQClaimPNRInd

public java.lang.Boolean getAirBookModifyRQClaimPNRInd()
Get the 'ClaimPNR_Ind' attribute value. When true, indicates a request to claim the booking by the sending party.

Returns:
value

setAirBookModifyRQClaimPNRInd

public void setAirBookModifyRQClaimPNRInd(java.lang.Boolean airBookModifyRQClaimPNRInd)
Set the 'ClaimPNR_Ind' attribute value. When true, indicates a request to claim the booking by the sending party.

Parameters:
airBookModifyRQClaimPNRInd -

getAirReservation

public AirReservation getAirReservation()
Get the 'AirReservation' element value. Contains all booking information of the current reservation, in this case of the reservation which is to be modified.

Returns:
value

setAirReservation

public void setAirReservation(AirReservation airReservation)
Set the 'AirReservation' element value. Contains all booking information of the current reservation, in this case of the reservation which is to be modified.

Parameters:
airReservation -

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 -

getResStatus

public TransactionAction getResStatus()
Get the 'ResStatus' attribute value. Specifies an action to be taken following the modification of the booking.

Returns:
value

setResStatus

public void setResStatus(TransactionAction resStatus)
Set the 'ResStatus' attribute value. Specifies an action to be taken following the modification of the booking.

Parameters:
resStatus -