All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ean.wsapi.hotel.v3.HotelRoomAvailabilityRequest Maven / Gradle / Ivy


package com.ean.wsapi.hotel.v3;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for HotelRoomAvailabilityRequest complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="HotelRoomAvailabilityRequest">
 *   <complexContent>
 *     <extension base="{http://v3.hotel.wsapi.ean.com/}HotelBaseRequest">
 *       <sequence>
 *         <element name="hotelId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="arrivalDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="departureDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="numberOfBedRooms" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="supplierType" type="{http://v3.hotel.wsapi.ean.com/}SupplierType" minOccurs="0"/>
 *         <element name="rateKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="RoomGroup" type="{http://v3.hotel.wsapi.ean.com/}RoomGroup"/>
 *         <element name="rateType" type="{http://v3.hotel.wsapi.ean.com/}RatePlanType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="rateCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="roomTypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="includeRoomImages" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="CouponData" type="{http://v3.hotel.wsapi.ean.com/}CouponData" minOccurs="0"/>
 *         <element name="includeDetails" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="multiRoomAvail" type="{http://v3.hotel.wsapi.ean.com/}MultiRoomAvailType" minOccurs="0"/>
 *         <element name="options" type="{http://v3.hotel.wsapi.ean.com/}hotelAvailOption" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="includeHotelFeeBreakdown" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HotelRoomAvailabilityRequest", propOrder = { "hotelId", "arrivalDate", "departureDate", "numberOfBedRooms", "supplierType", "rateKey", "roomGroup", "rateType", "rateCode", "roomTypeCode", "includeRoomImages", "couponData", "includeDetails", "multiRoomAvail", "options", "includeHotelFeeBreakdown" }) public class HotelRoomAvailabilityRequest extends HotelBaseRequest { protected long hotelId; @XmlElement(required = true) protected String arrivalDate; @XmlElement(required = true) protected String departureDate; protected Integer numberOfBedRooms; protected SupplierType supplierType; protected String rateKey; @XmlElement(name = "RoomGroup", required = true) protected RoomGroup roomGroup; protected List rateType; protected String rateCode; protected String roomTypeCode; protected Boolean includeRoomImages; @XmlElement(name = "CouponData") protected CouponData couponData; protected Boolean includeDetails; protected MultiRoomAvailType multiRoomAvail; protected List options; protected Boolean includeHotelFeeBreakdown; /** * Gets the value of the hotelId property. * */ public long getHotelId() { return hotelId; } /** * Sets the value of the hotelId property. * */ public void setHotelId(long value) { this.hotelId = value; } /** * Gets the value of the arrivalDate property. * * @return * possible object is * {@link String } * */ public String getArrivalDate() { return arrivalDate; } /** * Sets the value of the arrivalDate property. * * @param value * allowed object is * {@link String } * */ public void setArrivalDate(String value) { this.arrivalDate = value; } /** * Gets the value of the departureDate property. * * @return * possible object is * {@link String } * */ public String getDepartureDate() { return departureDate; } /** * Sets the value of the departureDate property. * * @param value * allowed object is * {@link String } * */ public void setDepartureDate(String value) { this.departureDate = value; } /** * Gets the value of the numberOfBedRooms property. * * @return * possible object is * {@link Integer } * */ public Integer getNumberOfBedRooms() { return numberOfBedRooms; } /** * Sets the value of the numberOfBedRooms property. * * @param value * allowed object is * {@link Integer } * */ public void setNumberOfBedRooms(Integer value) { this.numberOfBedRooms = value; } /** * Gets the value of the supplierType property. * * @return * possible object is * {@link SupplierType } * */ public SupplierType getSupplierType() { return supplierType; } /** * Sets the value of the supplierType property. * * @param value * allowed object is * {@link SupplierType } * */ public void setSupplierType(SupplierType value) { this.supplierType = value; } /** * Gets the value of the rateKey property. * * @return * possible object is * {@link String } * */ public String getRateKey() { return rateKey; } /** * Sets the value of the rateKey property. * * @param value * allowed object is * {@link String } * */ public void setRateKey(String value) { this.rateKey = value; } /** * Gets the value of the roomGroup property. * * @return * possible object is * {@link RoomGroup } * */ public RoomGroup getRoomGroup() { return roomGroup; } /** * Sets the value of the roomGroup property. * * @param value * allowed object is * {@link RoomGroup } * */ public void setRoomGroup(RoomGroup value) { this.roomGroup = value; } /** * Gets the value of the rateType property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the rateType property. * *

* For example, to add a new item, do as follows: *

     *    getRateType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link RatePlanType } * * */ public List getRateType() { if (rateType == null) { rateType = new ArrayList(); } return this.rateType; } /** * Gets the value of the rateCode property. * * @return * possible object is * {@link String } * */ public String getRateCode() { return rateCode; } /** * Sets the value of the rateCode property. * * @param value * allowed object is * {@link String } * */ public void setRateCode(String value) { this.rateCode = value; } /** * Gets the value of the roomTypeCode property. * * @return * possible object is * {@link String } * */ public String getRoomTypeCode() { return roomTypeCode; } /** * Sets the value of the roomTypeCode property. * * @param value * allowed object is * {@link String } * */ public void setRoomTypeCode(String value) { this.roomTypeCode = value; } /** * Gets the value of the includeRoomImages property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeRoomImages() { return includeRoomImages; } /** * Sets the value of the includeRoomImages property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeRoomImages(Boolean value) { this.includeRoomImages = value; } /** * Gets the value of the couponData property. * * @return * possible object is * {@link CouponData } * */ public CouponData getCouponData() { return couponData; } /** * Sets the value of the couponData property. * * @param value * allowed object is * {@link CouponData } * */ public void setCouponData(CouponData value) { this.couponData = value; } /** * Gets the value of the includeDetails property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeDetails() { return includeDetails; } /** * Sets the value of the includeDetails property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeDetails(Boolean value) { this.includeDetails = value; } /** * Gets the value of the multiRoomAvail property. * * @return * possible object is * {@link MultiRoomAvailType } * */ public MultiRoomAvailType getMultiRoomAvail() { return multiRoomAvail; } /** * Sets the value of the multiRoomAvail property. * * @param value * allowed object is * {@link MultiRoomAvailType } * */ public void setMultiRoomAvail(MultiRoomAvailType value) { this.multiRoomAvail = value; } /** * Gets the value of the options property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the options property. * *

* For example, to add a new item, do as follows: *

     *    getOptions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HotelAvailOption } * * */ public List getOptions() { if (options == null) { options = new ArrayList(); } return this.options; } /** * Gets the value of the includeHotelFeeBreakdown property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeHotelFeeBreakdown() { return includeHotelFeeBreakdown; } /** * Sets the value of the includeHotelFeeBreakdown property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeHotelFeeBreakdown(Boolean value) { this.includeHotelFeeBreakdown = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy