DatiRiepilogoType.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_2;

  21. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.EsigibilitaIVAType;
  22. import javax.xml.bind.annotation.XmlAccessType;
  23. import javax.xml.bind.annotation.XmlAccessorType;
  24. import javax.xml.bind.annotation.XmlElement;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import java.io.Serializable;


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

  52. @XmlAccessorType(XmlAccessType.FIELD)
  53. @XmlType(name = "DatiRiepilogoType",
  54.   propOrder = {
  55.     "_decimalWrapper_aliquotaIVA",
  56.     "natura",
  57.     "_decimalWrapper_speseAccessorie",
  58.     "_decimalWrapper_arrotondamento",
  59.     "_decimalWrapper_imponibileImporto",
  60.     "_decimalWrapper_imposta",
  61.     "esigibilitaIVA",
  62.     "riferimentoNormativo"
  63.   }
  64. )

  65. @XmlRootElement(name = "DatiRiepilogoType")

  66. public class DatiRiepilogoType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  67.   public DatiRiepilogoType() {
  68.     super();
  69.   }

  70.   public java.math.BigDecimal getAliquotaIVA() {
  71.     if(this._decimalWrapper_aliquotaIVA!=null){
  72.         return (java.math.BigDecimal) this._decimalWrapper_aliquotaIVA.getObject(java.math.BigDecimal.class);
  73.     }else{
  74.         return this.aliquotaIVA;
  75.     }
  76.   }

  77.   public void setAliquotaIVA(java.math.BigDecimal aliquotaIVA) {
  78.     if(aliquotaIVA!=null){
  79.         this._decimalWrapper_aliquotaIVA = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,3,2,2,aliquotaIVA);
  80.     }
  81.   }

  82.   public java.lang.String getNatura() {
  83.     return this.natura;
  84.   }

  85.   public void setNatura(java.lang.String natura) {
  86.     this.natura = natura;
  87.   }

  88.   public java.math.BigDecimal getSpeseAccessorie() {
  89.     if(this._decimalWrapper_speseAccessorie!=null){
  90.         return (java.math.BigDecimal) this._decimalWrapper_speseAccessorie.getObject(java.math.BigDecimal.class);
  91.     }else{
  92.         return this.speseAccessorie;
  93.     }
  94.   }

  95.   public void setSpeseAccessorie(java.math.BigDecimal speseAccessorie) {
  96.     if(speseAccessorie!=null){
  97.         this._decimalWrapper_speseAccessorie = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,speseAccessorie);
  98.     }
  99.   }

  100.   public java.math.BigDecimal getArrotondamento() {
  101.     if(this._decimalWrapper_arrotondamento!=null){
  102.         return (java.math.BigDecimal) this._decimalWrapper_arrotondamento.getObject(java.math.BigDecimal.class);
  103.     }else{
  104.         return this.arrotondamento;
  105.     }
  106.   }

  107.   public void setArrotondamento(java.math.BigDecimal arrotondamento) {
  108.     if(arrotondamento!=null){
  109.         this._decimalWrapper_arrotondamento = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,8,arrotondamento);
  110.     }
  111.   }

  112.   public java.math.BigDecimal getImponibileImporto() {
  113.     if(this._decimalWrapper_imponibileImporto!=null){
  114.         return (java.math.BigDecimal) this._decimalWrapper_imponibileImporto.getObject(java.math.BigDecimal.class);
  115.     }else{
  116.         return this.imponibileImporto;
  117.     }
  118.   }

  119.   public void setImponibileImporto(java.math.BigDecimal imponibileImporto) {
  120.     if(imponibileImporto!=null){
  121.         this._decimalWrapper_imponibileImporto = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,imponibileImporto);
  122.     }
  123.   }

  124.   public java.math.BigDecimal getImposta() {
  125.     if(this._decimalWrapper_imposta!=null){
  126.         return (java.math.BigDecimal) this._decimalWrapper_imposta.getObject(java.math.BigDecimal.class);
  127.     }else{
  128.         return this.imposta;
  129.     }
  130.   }

  131.   public void setImposta(java.math.BigDecimal imposta) {
  132.     if(imposta!=null){
  133.         this._decimalWrapper_imposta = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,imposta);
  134.     }
  135.   }

  136.   public void setEsigibilitaIVARawEnumValue(String value) {
  137.     this.esigibilitaIVA = (EsigibilitaIVAType) EsigibilitaIVAType.toEnumConstantFromString(value);
  138.   }

  139.   public String getEsigibilitaIVARawEnumValue() {
  140.     if(this.esigibilitaIVA == null){
  141.         return null;
  142.     }else{
  143.         return this.esigibilitaIVA.toString();
  144.     }
  145.   }

  146.   public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.EsigibilitaIVAType getEsigibilitaIVA() {
  147.     return this.esigibilitaIVA;
  148.   }

  149.   public void setEsigibilitaIVA(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.EsigibilitaIVAType esigibilitaIVA) {
  150.     this.esigibilitaIVA = esigibilitaIVA;
  151.   }

  152.   public java.lang.String getRiferimentoNormativo() {
  153.     return this.riferimentoNormativo;
  154.   }

  155.   public void setRiferimentoNormativo(java.lang.String riferimentoNormativo) {
  156.     this.riferimentoNormativo = riferimentoNormativo;
  157.   }

  158.   private static final long serialVersionUID = 1L;



  159.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  160.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  161.   @XmlElement(name="AliquotaIVA",required=true,nillable=false)
  162.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_aliquotaIVA = null;

  163.   @javax.xml.bind.annotation.XmlTransient
  164.   protected java.math.BigDecimal aliquotaIVA;

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

  168.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  169.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  170.   @XmlElement(name="SpeseAccessorie",required=false,nillable=false)
  171.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_speseAccessorie = null;

  172.   @javax.xml.bind.annotation.XmlTransient
  173.   protected java.math.BigDecimal speseAccessorie;

  174.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  175.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  176.   @XmlElement(name="Arrotondamento",required=false,nillable=false)
  177.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_arrotondamento = null;

  178.   @javax.xml.bind.annotation.XmlTransient
  179.   protected java.math.BigDecimal arrotondamento;

  180.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  181.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  182.   @XmlElement(name="ImponibileImporto",required=true,nillable=false)
  183.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_imponibileImporto = null;

  184.   @javax.xml.bind.annotation.XmlTransient
  185.   protected java.math.BigDecimal imponibileImporto;

  186.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  187.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  188.   @XmlElement(name="Imposta",required=true,nillable=false)
  189.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_imposta = null;

  190.   @javax.xml.bind.annotation.XmlTransient
  191.   protected java.math.BigDecimal imposta;

  192.   @javax.xml.bind.annotation.XmlTransient
  193.   protected java.lang.String esigibilitaIVARawEnumValue;

  194.   @XmlElement(name="EsigibilitaIVA",required=false,nillable=false)
  195.   protected EsigibilitaIVAType esigibilitaIVA;

  196.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  197.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  198.   @XmlElement(name="RiferimentoNormativo",required=false,nillable=false)
  199.   protected java.lang.String riferimentoNormativo;

  200. }