travel.wink.ws.allotz.ETFareInfo Maven / Gradle / Ivy
package travel.wink.ws.allotz;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* 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.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ET_FareInfo", propOrder = {
"waiver",
"ruleIndicator"
})
@XmlSeeAlso({
travel.wink.ws.allotz.EMDType.FareInfo.class
})
public class ETFareInfo {
@XmlElement(name = "Waiver")
protected List waiver;
@XmlElement(name = "RuleIndicator")
protected List ruleIndicator;
@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 waiver 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the waiver property.
*
*
* For example, to add a new item, do as follows:
*
* getWaiver().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ETFareInfo.Waiver }
*
*
* @return
* The value of the waiver property.
*/
public List getWaiver() {
if (waiver == null) {
waiver = new ArrayList<>();
}
return this.waiver;
}
/**
* Gets the value of the ruleIndicator 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the ruleIndicator property.
*
*
* For example, to add a new item, do as follows:
*
* getRuleIndicator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ETFareInfo.RuleIndicator }
*
*
* @return
* The value of the ruleIndicator property.
*/
public List getRuleIndicator() {
if (ruleIndicator == null) {
ruleIndicator = new ArrayList<>();
}
return this.ruleIndicator;
}
/**
* 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.
*
*
{@code
*
*
*
*
*
*
*
* }
*
*
*/
@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.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Waiver {
@XmlAttribute(name = "Code")
protected String code;
@XmlAttribute(name = "Type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
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;
}
}
}