
org.jibx.ota.destactivity.ResRQ Maven / Gradle / Ivy
The newest version!
package org.jibx.ota.destactivity;
import org.jibx.ota.base.OTAPayloadStdAttributes;
import org.jibx.ota.base.POS;
import org.jibx.ota.base.TransactionAction;
/**
* 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 DestActivityReservation destActivityReservation;
private OTAPayloadStdAttributes OTAPayloadStdAttributes;
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.
*
* @return value
*/
public POS getPOS() {
return POS;
}
/**
* 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.
*
* @param POS
*/
public void setPOS(POS POS) {
this.POS = POS;
}
/**
* Get the 'DestActivityReservation' element value. The information pertaining to the travelers and the destination activities being booked.
*
* @return value
*/
public DestActivityReservation getDestActivityReservation() {
return destActivityReservation;
}
/**
* Set the 'DestActivityReservation' element value. The information pertaining to the travelers and the destination activities being booked.
*
* @param destActivityReservation
*/
public void setDestActivityReservation(
DestActivityReservation destActivityReservation) {
this.destActivityReservation = destActivityReservation;
}
/**
* Get the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.
*
* @return value
*/
public OTAPayloadStdAttributes getOTAPayloadStdAttributes() {
return OTAPayloadStdAttributes;
}
/**
* Set the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.
*
* @param OTAPayloadStdAttributes
*/
public void setOTAPayloadStdAttributes(
OTAPayloadStdAttributes OTAPayloadStdAttributes) {
this.OTAPayloadStdAttributes = 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.
*
* @return value
*/
public TransactionAction getResStatus() {
return resStatus;
}
/**
* 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.
*
* @param resStatus
*/
public void setResStatus(TransactionAction resStatus) {
this.resStatus = resStatus;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy