it.bz.opendatahub.alpinebits.xml.schema.ota.ETFareInfo 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.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Account code, net reporting code, nonendorsable and nonrefundable indicators, penalty restriction indicator, pricing system, statistical code and tour code.
*
* Java class for ET_FareInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ET_FareInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Waiver" maxOccurs="5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Code" type="{http://www.opentravel.org/OTA/2003/05}AlphaNumericStringLength1to19" />
* <attribute name="Type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ExchangedReissued"/>
* <enumeration value="FareComponent"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="RuleIndicator" maxOccurs="5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="RuleCode" use="required" type="{http://www.opentravel.org/OTA/2003/05}NumericStringLength1to3" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="NetReportingCode" type="{http://www.opentravel.org/OTA/2003/05}AlphaNumericStringLength1to3" />
* <attribute name="StatisticalCode" type="{http://www.opentravel.org/OTA/2003/05}AlphaNumericStringLength1to3" />
* <attribute name="TourCode" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
* <attribute name="CountryCodeOfIssue" type="{http://www.opentravel.org/OTA/2003/05}ISO3166" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ET_FareInfo", propOrder = {
"waivers",
"ruleIndicators"
})
@XmlSeeAlso({
it.bz.opendatahub.alpinebits.xml.schema.ota.EMDType.FareInfo.class
})
public class ETFareInfo {
@XmlElement(name = "Waiver")
protected List waivers;
@XmlElement(name = "RuleIndicator")
protected List ruleIndicators;
@XmlAttribute(name = "NetReportingCode")
protected String netReportingCode;
@XmlAttribute(name = "StatisticalCode")
protected String statisticalCode;
@XmlAttribute(name = "TourCode")
protected String tourCode;
@XmlAttribute(name = "CountryCodeOfIssue")
protected String countryCodeOfIssue;
/**
* Gets the value of the waivers 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 waivers property.
*
*
* For example, to add a new item, do as follows:
*
* getWaivers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ETFareInfo.Waiver }
*
*
*/
public List getWaivers() {
if (waivers == null) {
waivers = new ArrayList();
}
return this.waivers;
}
/**
* Gets the value of the ruleIndicators 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 ruleIndicators property.
*
*
* For example, to add a new item, do as follows:
*
* getRuleIndicators().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ETFareInfo.RuleIndicator }
*
*
*/
public List getRuleIndicators() {
if (ruleIndicators == null) {
ruleIndicators = new ArrayList();
}
return this.ruleIndicators;
}
/**
* Gets the value of the netReportingCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNetReportingCode() {
return netReportingCode;
}
/**
* Sets the value of the netReportingCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNetReportingCode(String value) {
this.netReportingCode = value;
}
/**
* Gets the value of the statisticalCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatisticalCode() {
return statisticalCode;
}
/**
* Sets the value of the statisticalCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatisticalCode(String value) {
this.statisticalCode = value;
}
/**
* Gets the value of the tourCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTourCode() {
return tourCode;
}
/**
* Sets the value of the tourCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTourCode(String value) {
this.tourCode = value;
}
/**
* Gets the value of the countryCodeOfIssue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountryCodeOfIssue() {
return countryCodeOfIssue;
}
/**
* Sets the value of the countryCodeOfIssue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountryCodeOfIssue(String value) {
this.countryCodeOfIssue = 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">
* <attribute name="RuleCode" use="required" type="{http://www.opentravel.org/OTA/2003/05}NumericStringLength1to3" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class RuleIndicator {
@XmlAttribute(name = "RuleCode", required = true)
protected String ruleCode;
/**
* Gets the value of the ruleCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleCode() {
return ruleCode;
}
/**
* Sets the value of the ruleCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleCode(String value) {
this.ruleCode = 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">
* <attribute name="Code" type="{http://www.opentravel.org/OTA/2003/05}AlphaNumericStringLength1to19" />
* <attribute name="Type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ExchangedReissued"/>
* <enumeration value="FareComponent"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Waiver {
@XmlAttribute(name = "Code")
protected String code;
@XmlAttribute(name = "Type")
protected String type;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCode(String value) {
this.code = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}
}