net.sourceforge.ota_tools.jaxb.ota2010a.ping.RecipientInfosType 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.math.BigDecimal;
import java.math.BigInteger;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Information about one or more recipients.
*
* Java class for RecipientInfosType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RecipientInfosType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RecipientInfo" maxOccurs="99">
* <complexType>
* <complexContent>
* <extension base="{http://www.opentravel.org/OTA/2003/05}ContactPersonType">
* <sequence>
* <element name="ReservationID" type="{http://www.opentravel.org/OTA/2003/05}UniqueID_Type" maxOccurs="2" minOccurs="0"/>
* <element name="ShippingInfo" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
* <attribute name="ShippingType" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
* <attribute name="ShippingCarrier" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Comments" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Comment" type="{http://www.opentravel.org/OTA/2003/05}ParagraphType" maxOccurs="99"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RecipientInfosType", propOrder = {
"recipientInfo"
})
public class RecipientInfosType {
@XmlElement(name = "RecipientInfo", required = true)
protected List recipientInfo;
/**
* Gets the value of the recipientInfo 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 recipientInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getRecipientInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RecipientInfosType.RecipientInfo }
*
*
*/
public List getRecipientInfo() {
if (recipientInfo == null) {
recipientInfo = new ArrayList();
}
return this.recipientInfo;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.opentravel.org/OTA/2003/05}ContactPersonType">
* <sequence>
* <element name="ReservationID" type="{http://www.opentravel.org/OTA/2003/05}UniqueID_Type" maxOccurs="2" minOccurs="0"/>
* <element name="ShippingInfo" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
* <attribute name="ShippingType" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
* <attribute name="ShippingCarrier" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Comments" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Comment" type="{http://www.opentravel.org/OTA/2003/05}ParagraphType" maxOccurs="99"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reservationID",
"shippingInfo",
"comments"
})
public static class RecipientInfo
extends ContactPersonType
{
@XmlElement(name = "ReservationID")
protected List reservationID;
@XmlElement(name = "ShippingInfo")
protected RecipientInfosType.RecipientInfo.ShippingInfo shippingInfo;
@XmlElement(name = "Comments")
protected RecipientInfosType.RecipientInfo.Comments comments;
/**
* Gets the value of the reservationID 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 reservationID property.
*
*
* For example, to add a new item, do as follows:
*
* getReservationID().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UniqueIDType }
*
*
*/
public List getReservationID() {
if (reservationID == null) {
reservationID = new ArrayList();
}
return this.reservationID;
}
/**
* Gets the value of the shippingInfo property.
*
* @return
* possible object is
* {@link RecipientInfosType.RecipientInfo.ShippingInfo }
*
*/
public RecipientInfosType.RecipientInfo.ShippingInfo getShippingInfo() {
return shippingInfo;
}
/**
* Sets the value of the shippingInfo property.
*
* @param value
* allowed object is
* {@link RecipientInfosType.RecipientInfo.ShippingInfo }
*
*/
public void setShippingInfo(RecipientInfosType.RecipientInfo.ShippingInfo value) {
this.shippingInfo = value;
}
/**
* Gets the value of the comments property.
*
* @return
* possible object is
* {@link RecipientInfosType.RecipientInfo.Comments }
*
*/
public RecipientInfosType.RecipientInfo.Comments getComments() {
return comments;
}
/**
* Sets the value of the comments property.
*
* @param value
* allowed object is
* {@link RecipientInfosType.RecipientInfo.Comments }
*
*/
public void setComments(RecipientInfosType.RecipientInfo.Comments value) {
this.comments = 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="Comment" type="{http://www.opentravel.org/OTA/2003/05}ParagraphType" maxOccurs="99"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"comment"
})
public static class Comments {
@XmlElement(name = "Comment", required = true)
protected List comment;
/**
* Gets the value of the comment 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 comment property.
*
*
* For example, to add a new item, do as follows:
*
* getComment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ParagraphType }
*
*
*/
public List getComment() {
if (comment == null) {
comment = new ArrayList();
}
return this.comment;
}
}
/**
* 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">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
* <attribute name="ShippingType" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to16" />
* <attribute name="ShippingCarrier" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to32" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ShippingInfo {
@XmlAttribute(name = "ShippingType")
protected String shippingType;
@XmlAttribute(name = "ShippingCarrier")
protected String shippingCarrier;
@XmlAttribute(name = "Amount")
protected BigDecimal amount;
@XmlAttribute(name = "CurrencyCode")
protected String currencyCode;
@XmlAttribute(name = "DecimalPlaces")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger decimalPlaces;
/**
* Gets the value of the shippingType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShippingType() {
return shippingType;
}
/**
* Sets the value of the shippingType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShippingType(String value) {
this.shippingType = value;
}
/**
* Gets the value of the shippingCarrier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShippingCarrier() {
return shippingCarrier;
}
/**
* Sets the value of the shippingCarrier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShippingCarrier(String value) {
this.shippingCarrier = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAmount(BigDecimal value) {
this.amount = value;
}
/**
* Gets the value of the currencyCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCurrencyCode() {
return currencyCode;
}
/**
* Sets the value of the currencyCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}
/**
* Gets the value of the decimalPlaces property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDecimalPlaces() {
return decimalPlaces;
}
/**
* Sets the value of the decimalPlaces property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDecimalPlaces(BigInteger value) {
this.decimalPlaces = value;
}
}
}
}