DatiBeniServiziType.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for DatiBeniServiziType complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="DatiBeniServiziType"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="Descrizione" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="Importo" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}decimal" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="DatiIVA" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}DatiIVAType" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="Natura" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}string" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="RiferimentoNormativo" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  39.  *      &lt;/sequence&gt;
  40.  * &lt;/complexType&gt;
  41.  * </pre>
  42.  *
  43.  * @version $Rev$, $Date$
  44.  *
  45.  * @author Poli Andrea (poli@link.it)
  46.  * @author $Author$
  47.  * */

  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "DatiBeniServiziType",
  50.   propOrder = {
  51.     "descrizione",
  52.     "_decimalWrapper_importo",
  53.     "datiIVA",
  54.     "natura",
  55.     "riferimentoNormativo"
  56.   }
  57. )

  58. @XmlRootElement(name = "DatiBeniServiziType")

  59. public class DatiBeniServiziType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  60.   public DatiBeniServiziType() {
  61.     super();
  62.   }

  63.   public java.lang.String getDescrizione() {
  64.     return this.descrizione;
  65.   }

  66.   public void setDescrizione(java.lang.String descrizione) {
  67.     this.descrizione = descrizione;
  68.   }

  69.   public java.math.BigDecimal getImporto() {
  70.     if(this._decimalWrapper_importo!=null){
  71.         return (java.math.BigDecimal) this._decimalWrapper_importo.getObject(java.math.BigDecimal.class);
  72.     }else{
  73.         return this.importo;
  74.     }
  75.   }

  76.   public void setImporto(java.math.BigDecimal importo) {
  77.     if(importo!=null){
  78.         this._decimalWrapper_importo = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,importo);
  79.     }
  80.   }

  81.   public DatiIVAType getDatiIVA() {
  82.     return this.datiIVA;
  83.   }

  84.   public void setDatiIVA(DatiIVAType datiIVA) {
  85.     this.datiIVA = datiIVA;
  86.   }

  87.   public java.lang.String getNatura() {
  88.     return this.natura;
  89.   }

  90.   public void setNatura(java.lang.String natura) {
  91.     this.natura = natura;
  92.   }

  93.   public java.lang.String getRiferimentoNormativo() {
  94.     return this.riferimentoNormativo;
  95.   }

  96.   public void setRiferimentoNormativo(java.lang.String riferimentoNormativo) {
  97.     this.riferimentoNormativo = riferimentoNormativo;
  98.   }

  99.   private static final long serialVersionUID = 1L;



  100.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  101.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  102.   @XmlElement(name="Descrizione",required=true,nillable=false)
  103.   protected java.lang.String descrizione;

  104.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  105.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  106.   @XmlElement(name="Importo",required=true,nillable=false)
  107.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_importo = null;

  108.   @javax.xml.bind.annotation.XmlTransient
  109.   protected java.math.BigDecimal importo;

  110.   @XmlElement(name="DatiIVA",required=true,nillable=false)
  111.   protected DatiIVAType datiIVA;

  112.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  113.   @XmlElement(name="Natura",required=false,nillable=false)
  114.   protected java.lang.String natura;

  115.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  116.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  117.   @XmlElement(name="RiferimentoNormativo",required=false,nillable=false)
  118.   protected java.lang.String riferimentoNormativo;

  119. }