Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.destactivity;
  
Sends a request for a reservation to another system. There is no requirement to determine availability prior to sending a reservation request. Travel agencies, or individual guests may send a request to book a reservation from an internet site if all the information required for booking is known. The OTA_DestActivityResRQ message can initiate the first message in the sequence of booking a reservation. 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_DestActivityResRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:DestActivityReservationType" name="DestActivityReservation"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attribute type="ns:TransactionActionType" use="optional" name="ResStatus"/>
   </xs:complexType>
 </xs:element>
 
 
 public class ResRQ
 {
     private POS POS;
     private TransactionAction resStatus;

    
Get the 'POS' element value. The point-of-sale data, contained in the POS element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Returns:
value
 
     public POS getPOS() {
         return ;
     }

    
Set the 'POS' element value. The point-of-sale data, contained in the POS element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Parameters:
POS
 
     public void setPOS(POS POS) {
         this. = POS;
     }

    
Get the 'DestActivityReservation' element value. The information pertaining to the travelers and the destination activities being booked.

Returns:
value
 
         return ;
     }

    
Set the 'DestActivityReservation' element value. The information pertaining to the travelers and the destination activities being booked.

Parameters:
destActivityReservation
 
     public void setDestActivityReservation(
             DestActivityReservation destActivityReservation) {
         this. = destActivityReservation;
     }

    
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
 
         return ;
     }

    
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
 
     public void setOTAPayloadStdAttributes(
             OTAPayloadStdAttributes OTAPayloadStdAttributes) {
         this. = OTAPayloadStdAttributes;
     }

    
Get the 'ResStatus' attribute value. Indicates the status of the reservation represented by the message. This is an enumeration with possible values of Initiate, Ignore, Modify, Commit.

Returns:
value
 
     public TransactionAction getResStatus() {
         return ;
     }

    
Set the 'ResStatus' attribute value. Indicates the status of the reservation represented by the message. This is an enumeration with possible values of Initiate, Ignore, Modify, Commit.

Parameters:
resStatus
    public void setResStatus(TransactionAction resStatus) {
        this. = resStatus;
    }
New to GrepCode? Check out our FAQ X