net.sourceforge.ota_tools.jaxb.ota2010a.ping.RateQualifierType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
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.XmlType;
/**
* The RateQualifierType complex type describes fully rate information associated with a specific rate quotation, including the description of any promotions that may apply.
*
* Java class for RateQualifierType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RateQualifierType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PromoDesc" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" minOccurs="0"/>
* <element name="RateComments" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RateComment" maxOccurs="15">
* <complexType>
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>FormattedTextTextType">
* <attribute name="Name" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to64" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}RateQualifierCoreGroup"/>
* <attribute name="ArriveByFlight" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="RateAuthorizationCode" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" />
* <attribute name="VendorRateID" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RateQualifierType", propOrder = {
"promoDesc",
"rateComments"
})
public class RateQualifierType {
@XmlElement(name = "PromoDesc")
protected String promoDesc;
@XmlElement(name = "RateComments")
protected RateQualifierType.RateComments rateComments;
@XmlAttribute(name = "ArriveByFlight")
protected Boolean arriveByFlight;
@XmlAttribute(name = "RateAuthorizationCode")
protected String rateAuthorizationCode;
@XmlAttribute(name = "VendorRateID")
protected String vendorRateID;
@XmlAttribute(name = "TravelPurpose")
protected String travelPurpose;
@XmlAttribute(name = "RateCategory")
protected String rateCategory;
@XmlAttribute(name = "CorpDiscountNmbr")
protected String corpDiscountNmbr;
@XmlAttribute(name = "RateQualifier")
protected String rateQualifier;
@XmlAttribute(name = "RatePeriod")
protected RatePeriodSimpleType ratePeriod;
@XmlAttribute(name = "GuaranteedInd")
protected Boolean guaranteedInd;
@XmlAttribute(name = "PromotionCode")
protected String promotionCode;
@XmlAttribute(name = "PromotionVendorCode")
protected List promotionVendorCode;
/**
* Gets the value of the promoDesc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPromoDesc() {
return promoDesc;
}
/**
* Sets the value of the promoDesc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPromoDesc(String value) {
this.promoDesc = value;
}
/**
* Gets the value of the rateComments property.
*
* @return
* possible object is
* {@link RateQualifierType.RateComments }
*
*/
public RateQualifierType.RateComments getRateComments() {
return rateComments;
}
/**
* Sets the value of the rateComments property.
*
* @param value
* allowed object is
* {@link RateQualifierType.RateComments }
*
*/
public void setRateComments(RateQualifierType.RateComments value) {
this.rateComments = value;
}
/**
* Gets the value of the arriveByFlight property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getArriveByFlight() {
return arriveByFlight;
}
/**
* Sets the value of the arriveByFlight property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setArriveByFlight(Boolean value) {
this.arriveByFlight = value;
}
/**
* Gets the value of the rateAuthorizationCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRateAuthorizationCode() {
return rateAuthorizationCode;
}
/**
* Sets the value of the rateAuthorizationCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRateAuthorizationCode(String value) {
this.rateAuthorizationCode = value;
}
/**
* Gets the value of the vendorRateID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVendorRateID() {
return vendorRateID;
}
/**
* Sets the value of the vendorRateID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVendorRateID(String value) {
this.vendorRateID = value;
}
/**
* Gets the value of the travelPurpose property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTravelPurpose() {
return travelPurpose;
}
/**
* Sets the value of the travelPurpose property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTravelPurpose(String value) {
this.travelPurpose = value;
}
/**
* Gets the value of the rateCategory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRateCategory() {
return rateCategory;
}
/**
* Sets the value of the rateCategory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRateCategory(String value) {
this.rateCategory = value;
}
/**
* Gets the value of the corpDiscountNmbr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorpDiscountNmbr() {
return corpDiscountNmbr;
}
/**
* Sets the value of the corpDiscountNmbr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorpDiscountNmbr(String value) {
this.corpDiscountNmbr = value;
}
/**
* Gets the value of the rateQualifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRateQualifier() {
return rateQualifier;
}
/**
* Sets the value of the rateQualifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRateQualifier(String value) {
this.rateQualifier = value;
}
/**
* Gets the value of the ratePeriod property.
*
* @return
* possible object is
* {@link RatePeriodSimpleType }
*
*/
public RatePeriodSimpleType getRatePeriod() {
return ratePeriod;
}
/**
* Sets the value of the ratePeriod property.
*
* @param value
* allowed object is
* {@link RatePeriodSimpleType }
*
*/
public void setRatePeriod(RatePeriodSimpleType value) {
this.ratePeriod = value;
}
/**
* Gets the value of the guaranteedInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getGuaranteedInd() {
return guaranteedInd;
}
/**
* Sets the value of the guaranteedInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setGuaranteedInd(Boolean value) {
this.guaranteedInd = value;
}
/**
* Gets the value of the promotionCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPromotionCode() {
return promotionCode;
}
/**
* Sets the value of the promotionCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPromotionCode(String value) {
this.promotionCode = value;
}
/**
* Gets the value of the promotionVendorCode 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 promotionVendorCode property.
*
*
* For example, to add a new item, do as follows:
*
* getPromotionVendorCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPromotionVendorCode() {
if (promotionVendorCode == null) {
promotionVendorCode = new ArrayList();
}
return this.promotionVendorCode;
}
/**
* 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="RateComment" maxOccurs="15">
* <complexType>
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>FormattedTextTextType">
* <attribute name="Name" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to64" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rateComment"
})
public static class RateComments {
@XmlElement(name = "RateComment", required = true)
protected List rateComment;
/**
* Gets the value of the rateComment 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 rateComment property.
*
*
* For example, to add a new item, do as follows:
*
* getRateComment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RateQualifierType.RateComments.RateComment }
*
*
*/
public List getRateComment() {
if (rateComment == null) {
rateComment = new ArrayList();
}
return this.rateComment;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>FormattedTextTextType">
* <attribute name="Name" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to64" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class RateComment
extends FormattedTextTextType
{
@XmlAttribute(name = "Name")
protected String name;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}
}
}