All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.bz.opendatahub.alpinebits.xml.schema.ota.PkgInvoiceDetail Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
//
// 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.LocalDate;
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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.LocalDateAdapter;


/**
 * A list of all the items making up a costed booking
 * 
 * 

Java class for PkgInvoiceDetail complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="PkgInvoiceDetail">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="CostingItems" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="CostingItem" type="{http://www.opentravel.org/OTA/2003/05}CostingItemType" maxOccurs="99"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="GrossAmount" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="DepositAmount" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="AgentCommission" maxOccurs="8" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attGroup ref="{http://www.opentravel.org/OTA/2003/05}AgentCommissionGroup"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="NetAmount" 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="PaymentDueDate" type="{http://www.w3.org/2001/XMLSchema}date" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="TaxItems" type="{http://www.opentravel.org/OTA/2003/05}TaxesType" minOccurs="0"/>
 *         <element name="BalanceDueAmount" 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="PaymentDueDate" type="{http://www.w3.org/2001/XMLSchema}date" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="AmountReceived" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attGroup ref="{http://www.opentravel.org/OTA/2003/05}CurrencyAmountGroup"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PkgInvoiceDetail", propOrder = { "costingItems", "grossAmount", "depositAmount", "agentCommissions", "netAmount", "taxItems", "balanceDueAmount", "amountReceived" }) public class PkgInvoiceDetail { @XmlElement(name = "CostingItems") protected PkgInvoiceDetail.CostingItems costingItems; @XmlElement(name = "GrossAmount") protected PkgInvoiceDetail.GrossAmount grossAmount; @XmlElement(name = "DepositAmount") protected PkgInvoiceDetail.DepositAmount depositAmount; @XmlElement(name = "AgentCommission") protected List agentCommissions; @XmlElement(name = "NetAmount") protected PkgInvoiceDetail.NetAmount netAmount; @XmlElement(name = "TaxItems") protected TaxesType taxItems; @XmlElement(name = "BalanceDueAmount") protected PkgInvoiceDetail.BalanceDueAmount balanceDueAmount; @XmlElement(name = "AmountReceived") protected PkgInvoiceDetail.AmountReceived amountReceived; /** * Gets the value of the costingItems property. * * @return * possible object is * {@link PkgInvoiceDetail.CostingItems } * */ public PkgInvoiceDetail.CostingItems getCostingItems() { return costingItems; } /** * Sets the value of the costingItems property. * * @param value * allowed object is * {@link PkgInvoiceDetail.CostingItems } * */ public void setCostingItems(PkgInvoiceDetail.CostingItems value) { this.costingItems = value; } /** * Gets the value of the grossAmount property. * * @return * possible object is * {@link PkgInvoiceDetail.GrossAmount } * */ public PkgInvoiceDetail.GrossAmount getGrossAmount() { return grossAmount; } /** * Sets the value of the grossAmount property. * * @param value * allowed object is * {@link PkgInvoiceDetail.GrossAmount } * */ public void setGrossAmount(PkgInvoiceDetail.GrossAmount value) { this.grossAmount = value; } /** * Gets the value of the depositAmount property. * * @return * possible object is * {@link PkgInvoiceDetail.DepositAmount } * */ public PkgInvoiceDetail.DepositAmount getDepositAmount() { return depositAmount; } /** * Sets the value of the depositAmount property. * * @param value * allowed object is * {@link PkgInvoiceDetail.DepositAmount } * */ public void setDepositAmount(PkgInvoiceDetail.DepositAmount value) { this.depositAmount = value; } /** * Gets the value of the agentCommissions 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 agentCommissions property. * *

* For example, to add a new item, do as follows: *

     *    getAgentCommissions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PkgInvoiceDetail.AgentCommission } * * */ public List getAgentCommissions() { if (agentCommissions == null) { agentCommissions = new ArrayList(); } return this.agentCommissions; } /** * Gets the value of the netAmount property. * * @return * possible object is * {@link PkgInvoiceDetail.NetAmount } * */ public PkgInvoiceDetail.NetAmount getNetAmount() { return netAmount; } /** * Sets the value of the netAmount property. * * @param value * allowed object is * {@link PkgInvoiceDetail.NetAmount } * */ public void setNetAmount(PkgInvoiceDetail.NetAmount value) { this.netAmount = value; } /** * Gets the value of the taxItems property. * * @return * possible object is * {@link TaxesType } * */ public TaxesType getTaxItems() { return taxItems; } /** * Sets the value of the taxItems property. * * @param value * allowed object is * {@link TaxesType } * */ public void setTaxItems(TaxesType value) { this.taxItems = value; } /** * Gets the value of the balanceDueAmount property. * * @return * possible object is * {@link PkgInvoiceDetail.BalanceDueAmount } * */ public PkgInvoiceDetail.BalanceDueAmount getBalanceDueAmount() { return balanceDueAmount; } /** * Sets the value of the balanceDueAmount property. * * @param value * allowed object is * {@link PkgInvoiceDetail.BalanceDueAmount } * */ public void setBalanceDueAmount(PkgInvoiceDetail.BalanceDueAmount value) { this.balanceDueAmount = value; } /** * Gets the value of the amountReceived property. * * @return * possible object is * {@link PkgInvoiceDetail.AmountReceived } * */ public PkgInvoiceDetail.AmountReceived getAmountReceived() { return amountReceived; } /** * Sets the value of the amountReceived property. * * @param value * allowed object is * {@link PkgInvoiceDetail.AmountReceived } * */ public void setAmountReceived(PkgInvoiceDetail.AmountReceived value) { this.amountReceived = 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">
     *       <attGroup ref="{http://www.opentravel.org/OTA/2003/05}AgentCommissionGroup"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class AgentCommission { @XmlAttribute(name = "Description") protected String description; @XmlAttribute(name = "Rate") protected BigDecimal rate; @XmlAttribute(name = "CommissionType") protected String commissionType; @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 description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the rate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getRate() { return rate; } /** * Sets the value of the rate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setRate(BigDecimal value) { this.rate = value; } /** * Gets the value of the commissionType property. * * @return * possible object is * {@link String } * */ public String getCommissionType() { return commissionType; } /** * Sets the value of the commissionType property. * * @param value * allowed object is * {@link String } * */ public void setCommissionType(String value) { this.commissionType = 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; } } /** *

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"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class AmountReceived { @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; @XmlAttribute(name = "Amount") protected BigDecimal amount; /** * 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; } /** * 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; } } /** *

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="PaymentDueDate" type="{http://www.w3.org/2001/XMLSchema}date" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class BalanceDueAmount { @XmlAttribute(name = "PaymentDueDate") @XmlJavaTypeAdapter(LocalDateAdapter.class) @XmlSchemaType(name = "date") protected LocalDate paymentDueDate; @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; @XmlAttribute(name = "Amount") protected BigDecimal amount; /** * Gets the value of the paymentDueDate property. * * @return * possible object is * {@link String } * */ public LocalDate getPaymentDueDate() { return paymentDueDate; } /** * Sets the value of the paymentDueDate property. * * @param value * allowed object is * {@link String } * */ public void setPaymentDueDate(LocalDate value) { this.paymentDueDate = 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; } /** * 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; } } /** *

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="CostingItem" type="{http://www.opentravel.org/OTA/2003/05}CostingItemType" maxOccurs="99"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "costingItems" }) public static class CostingItems { @XmlElement(name = "CostingItem", required = true) protected List costingItems; /** * Gets the value of the costingItems 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 costingItems property. * *

* For example, to add a new item, do as follows: *

         *    getCostingItems().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CostingItemType } * * */ public List getCostingItems() { if (costingItems == null) { costingItems = new ArrayList(); } return this.costingItems; } } /** *

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"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class DepositAmount { @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; @XmlAttribute(name = "Amount") protected BigDecimal amount; /** * 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; } /** * 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; } } /** *

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"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class GrossAmount { @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; @XmlAttribute(name = "Amount") protected BigDecimal amount; /** * 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; } /** * 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; } } /** *

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="PaymentDueDate" type="{http://www.w3.org/2001/XMLSchema}date" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class NetAmount { @XmlAttribute(name = "PaymentDueDate") @XmlJavaTypeAdapter(LocalDateAdapter.class) @XmlSchemaType(name = "date") protected LocalDate paymentDueDate; @XmlAttribute(name = "CurrencyCode") protected String currencyCode; @XmlAttribute(name = "DecimalPlaces") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger decimalPlaces; @XmlAttribute(name = "Amount") protected BigDecimal amount; /** * Gets the value of the paymentDueDate property. * * @return * possible object is * {@link String } * */ public LocalDate getPaymentDueDate() { return paymentDueDate; } /** * Sets the value of the paymentDueDate property. * * @param value * allowed object is * {@link String } * */ public void setPaymentDueDate(LocalDate value) { this.paymentDueDate = 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; } /** * 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; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy