it.bz.opendatahub.alpinebits.xml.schema.ota.OTAHotelRatePlanRS Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.22 at 07:23:30 PM GMT
//
package it.bz.opendatahub.alpinebits.xml.schema.ota;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.ZonedDateTime;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.ZonedDateTimeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <sequence>
* <element name="Success" type="{http://www.opentravel.org/OTA/2003/05}SuccessType"/>
* <element name="Warnings" type="{http://www.opentravel.org/OTA/2003/05}WarningsType" minOccurs="0"/>
* <element name="RatePlans">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RatePlan" type="{http://www.opentravel.org/OTA/2003/05}HotelRatePlanType" maxOccurs="unbounded"/>
* </sequence>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}HotelReferenceGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Offers" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Offer" type="{http://www.opentravel.org/OTA/2003/05}OfferType" maxOccurs="99"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.opentravel.org/OTA/2003/05}TPA_Extensions" minOccurs="0"/>
* </sequence>
* <element name="Errors" type="{http://www.opentravel.org/OTA/2003/05}ErrorsType"/>
* </choice>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}OTA_PayloadStdAttributes"/>
* <attribute name="MessageContentCode" type="{http://www.opentravel.org/OTA/2003/05}OTA_CodeType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"errors",
"success",
"warnings",
"ratePlans",
"offers",
"tpaExtensions"
})
@XmlRootElement(name = "OTA_HotelRatePlanRS")
public class OTAHotelRatePlanRS {
@XmlElement(name = "Errors")
protected ErrorsType errors;
@XmlElement(name = "Success")
protected SuccessType success;
@XmlElement(name = "Warnings")
protected WarningsType warnings;
@XmlElement(name = "RatePlans")
protected OTAHotelRatePlanRS.RatePlans ratePlans;
@XmlElement(name = "Offers")
protected OTAHotelRatePlanRS.Offers offers;
@XmlElement(name = "TPA_Extensions")
protected TPAExtensions tpaExtensions;
@XmlAttribute(name = "MessageContentCode")
protected String messageContentCode;
@XmlAttribute(name = "EchoToken")
protected String echoToken;
@XmlAttribute(name = "TimeStamp")
@XmlJavaTypeAdapter(ZonedDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime timeStamp;
@XmlAttribute(name = "Target")
protected String target;
@XmlAttribute(name = "TargetName")
protected String targetName;
@XmlAttribute(name = "Version", required = true)
protected BigDecimal version;
@XmlAttribute(name = "TransactionIdentifier")
protected String transactionIdentifier;
@XmlAttribute(name = "SequenceNmbr")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger sequenceNmbr;
@XmlAttribute(name = "TransactionStatusCode")
protected String transactionStatusCode;
@XmlAttribute(name = "RetransmissionIndicator")
protected Boolean retransmissionIndicator;
@XmlAttribute(name = "CorrelationID")
protected String correlationID;
@XmlAttribute(name = "PrimaryLangID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String primaryLangID;
@XmlAttribute(name = "AltLangID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String altLangID;
/**
* Gets the value of the errors property.
*
* @return
* possible object is
* {@link ErrorsType }
*
*/
public ErrorsType getErrors() {
return errors;
}
/**
* Sets the value of the errors property.
*
* @param value
* allowed object is
* {@link ErrorsType }
*
*/
public void setErrors(ErrorsType value) {
this.errors = value;
}
/**
* Gets the value of the success property.
*
* @return
* possible object is
* {@link SuccessType }
*
*/
public SuccessType getSuccess() {
return success;
}
/**
* Sets the value of the success property.
*
* @param value
* allowed object is
* {@link SuccessType }
*
*/
public void setSuccess(SuccessType value) {
this.success = value;
}
/**
* Gets the value of the warnings property.
*
* @return
* possible object is
* {@link WarningsType }
*
*/
public WarningsType getWarnings() {
return warnings;
}
/**
* Sets the value of the warnings property.
*
* @param value
* allowed object is
* {@link WarningsType }
*
*/
public void setWarnings(WarningsType value) {
this.warnings = value;
}
/**
* Gets the value of the ratePlans property.
*
* @return
* possible object is
* {@link OTAHotelRatePlanRS.RatePlans }
*
*/
public OTAHotelRatePlanRS.RatePlans getRatePlans() {
return ratePlans;
}
/**
* Sets the value of the ratePlans property.
*
* @param value
* allowed object is
* {@link OTAHotelRatePlanRS.RatePlans }
*
*/
public void setRatePlans(OTAHotelRatePlanRS.RatePlans value) {
this.ratePlans = value;
}
/**
* Gets the value of the offers property.
*
* @return
* possible object is
* {@link OTAHotelRatePlanRS.Offers }
*
*/
public OTAHotelRatePlanRS.Offers getOffers() {
return offers;
}
/**
* Sets the value of the offers property.
*
* @param value
* allowed object is
* {@link OTAHotelRatePlanRS.Offers }
*
*/
public void setOffers(OTAHotelRatePlanRS.Offers value) {
this.offers = value;
}
/**
* Gets the value of the tpaExtensions property.
*
* @return
* possible object is
* {@link TPAExtensions }
*
*/
public TPAExtensions getTPAExtensions() {
return tpaExtensions;
}
/**
* Sets the value of the tpaExtensions property.
*
* @param value
* allowed object is
* {@link TPAExtensions }
*
*/
public void setTPAExtensions(TPAExtensions value) {
this.tpaExtensions = value;
}
/**
* Gets the value of the messageContentCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessageContentCode() {
return messageContentCode;
}
/**
* Sets the value of the messageContentCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessageContentCode(String value) {
this.messageContentCode = value;
}
/**
* Gets the value of the echoToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEchoToken() {
return echoToken;
}
/**
* Sets the value of the echoToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEchoToken(String value) {
this.echoToken = value;
}
/**
* Gets the value of the timeStamp property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getTimeStamp() {
return timeStamp;
}
/**
* Sets the value of the timeStamp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeStamp(ZonedDateTime value) {
this.timeStamp = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
/**
* Gets the value of the targetName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetName() {
return targetName;
}
/**
* Sets the value of the targetName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetName(String value) {
this.targetName = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setVersion(BigDecimal value) {
this.version = value;
}
/**
* Gets the value of the transactionIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionIdentifier() {
return transactionIdentifier;
}
/**
* Sets the value of the transactionIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionIdentifier(String value) {
this.transactionIdentifier = value;
}
/**
* Gets the value of the sequenceNmbr property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSequenceNmbr() {
return sequenceNmbr;
}
/**
* Sets the value of the sequenceNmbr property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSequenceNmbr(BigInteger value) {
this.sequenceNmbr = value;
}
/**
* Gets the value of the transactionStatusCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionStatusCode() {
return transactionStatusCode;
}
/**
* Sets the value of the transactionStatusCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionStatusCode(String value) {
this.transactionStatusCode = value;
}
/**
* Gets the value of the retransmissionIndicator property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRetransmissionIndicator() {
return retransmissionIndicator;
}
/**
* Sets the value of the retransmissionIndicator property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRetransmissionIndicator(Boolean value) {
this.retransmissionIndicator = value;
}
/**
* Gets the value of the correlationID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorrelationID() {
return correlationID;
}
/**
* Sets the value of the correlationID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorrelationID(String value) {
this.correlationID = value;
}
/**
* Gets the value of the primaryLangID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrimaryLangID() {
return primaryLangID;
}
/**
* Sets the value of the primaryLangID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrimaryLangID(String value) {
this.primaryLangID = value;
}
/**
* Gets the value of the altLangID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAltLangID() {
return altLangID;
}
/**
* Sets the value of the altLangID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAltLangID(String value) {
this.altLangID = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Offer" type="{http://www.opentravel.org/OTA/2003/05}OfferType" maxOccurs="99"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"offers"
})
public static class Offers {
@XmlElement(name = "Offer", required = true)
protected List offers;
/**
* Gets the value of the offers 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 offers property.
*
*
* For example, to add a new item, do as follows:
*
* getOffers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OfferType }
*
*
*/
public List getOffers() {
if (offers == null) {
offers = new ArrayList();
}
return this.offers;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RatePlan" type="{http://www.opentravel.org/OTA/2003/05}HotelRatePlanType" maxOccurs="unbounded"/>
* </sequence>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}HotelReferenceGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ratePlen"
})
public static class RatePlans {
@XmlElement(name = "RatePlan", required = true)
protected List ratePlen;
@XmlAttribute(name = "ChainCode")
protected String chainCode;
@XmlAttribute(name = "BrandCode")
protected String brandCode;
@XmlAttribute(name = "HotelCode")
protected String hotelCode;
@XmlAttribute(name = "HotelCityCode")
protected String hotelCityCode;
@XmlAttribute(name = "HotelName")
protected String hotelName;
@XmlAttribute(name = "HotelCodeContext")
protected String hotelCodeContext;
@XmlAttribute(name = "ChainName")
protected String chainName;
@XmlAttribute(name = "BrandName")
protected String brandName;
@XmlAttribute(name = "AreaID")
protected String areaID;
@XmlAttribute(name = "TTIcode")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger ttIcode;
/**
* Gets the value of the ratePlen 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 ratePlen property.
*
*
* For example, to add a new item, do as follows:
*
* getRatePlen().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HotelRatePlanType }
*
*
*/
public List getRatePlen() {
if (ratePlen == null) {
ratePlen = new ArrayList();
}
return this.ratePlen;
}
/**
* Gets the value of the chainCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChainCode() {
return chainCode;
}
/**
* Sets the value of the chainCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChainCode(String value) {
this.chainCode = value;
}
/**
* Gets the value of the brandCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrandCode() {
return brandCode;
}
/**
* Sets the value of the brandCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBrandCode(String value) {
this.brandCode = value;
}
/**
* Gets the value of the hotelCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHotelCode() {
return hotelCode;
}
/**
* Sets the value of the hotelCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHotelCode(String value) {
this.hotelCode = value;
}
/**
* Gets the value of the hotelCityCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHotelCityCode() {
return hotelCityCode;
}
/**
* Sets the value of the hotelCityCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHotelCityCode(String value) {
this.hotelCityCode = value;
}
/**
* Gets the value of the hotelName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHotelName() {
return hotelName;
}
/**
* Sets the value of the hotelName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHotelName(String value) {
this.hotelName = value;
}
/**
* Gets the value of the hotelCodeContext property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHotelCodeContext() {
return hotelCodeContext;
}
/**
* Sets the value of the hotelCodeContext property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHotelCodeContext(String value) {
this.hotelCodeContext = value;
}
/**
* Gets the value of the chainName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChainName() {
return chainName;
}
/**
* Sets the value of the chainName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChainName(String value) {
this.chainName = value;
}
/**
* Gets the value of the brandName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrandName() {
return brandName;
}
/**
* Sets the value of the brandName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBrandName(String value) {
this.brandName = value;
}
/**
* Gets the value of the areaID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAreaID() {
return areaID;
}
/**
* Sets the value of the areaID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAreaID(String value) {
this.areaID = value;
}
/**
* Gets the value of the ttIcode property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTTIcode() {
return ttIcode;
}
/**
* Sets the value of the ttIcode property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTTIcode(BigInteger value) {
this.ttIcode = value;
}
}
}