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.fatturapa.sdi.fatturapa.v1_0;

  21. import it.gov.fatturapa.sdi.fatturapa.v1_0.constants.EsigibilitaIVAType;
  22. import it.gov.fatturapa.sdi.fatturapa.v1_0.constants.NaturaType;
  23. import javax.xml.bind.annotation.XmlAccessType;
  24. import javax.xml.bind.annotation.XmlAccessorType;
  25. import javax.xml.bind.annotation.XmlElement;
  26. import javax.xml.bind.annotation.XmlRootElement;
  27. import javax.xml.bind.annotation.XmlType;
  28. import java.io.Serializable;


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

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

  66. @XmlRootElement(name = "DatiRiepilogoType")

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

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

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

  83.   public void setNaturaRawEnumValue(String value) {
  84.     this.natura = (NaturaType) NaturaType.toEnumConstantFromString(value);
  85.   }

  86.   public String getNaturaRawEnumValue() {
  87.     if(this.natura == null){
  88.         return null;
  89.     }else{
  90.         return this.natura.toString();
  91.     }
  92.   }

  93.   public it.gov.fatturapa.sdi.fatturapa.v1_0.constants.NaturaType getNatura() {
  94.     return this.natura;
  95.   }

  96.   public void setNatura(it.gov.fatturapa.sdi.fatturapa.v1_0.constants.NaturaType natura) {
  97.     this.natura = natura;
  98.   }

  99.   public java.math.BigDecimal getSpeseAccessorie() {
  100.     if(this._decimalWrapper_speseAccessorie!=null){
  101.         return (java.math.BigDecimal) this._decimalWrapper_speseAccessorie.getObject(java.math.BigDecimal.class);
  102.     }else{
  103.         return this.speseAccessorie;
  104.     }
  105.   }

  106.   public void setSpeseAccessorie(java.math.BigDecimal speseAccessorie) {
  107.     if(speseAccessorie!=null){
  108.         this._decimalWrapper_speseAccessorie = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,speseAccessorie);
  109.     }
  110.   }

  111.   public java.math.BigDecimal getArrotondamento() {
  112.     if(this._decimalWrapper_arrotondamento!=null){
  113.         return (java.math.BigDecimal) this._decimalWrapper_arrotondamento.getObject(java.math.BigDecimal.class);
  114.     }else{
  115.         return this.arrotondamento;
  116.     }
  117.   }

  118.   public void setArrotondamento(java.math.BigDecimal arrotondamento) {
  119.     if(arrotondamento!=null){
  120.         this._decimalWrapper_arrotondamento = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,8,arrotondamento);
  121.     }
  122.   }

  123.   public java.math.BigDecimal getImponibileImporto() {
  124.     if(this._decimalWrapper_imponibileImporto!=null){
  125.         return (java.math.BigDecimal) this._decimalWrapper_imponibileImporto.getObject(java.math.BigDecimal.class);
  126.     }else{
  127.         return this.imponibileImporto;
  128.     }
  129.   }

  130.   public void setImponibileImporto(java.math.BigDecimal imponibileImporto) {
  131.     if(imponibileImporto!=null){
  132.         this._decimalWrapper_imponibileImporto = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,imponibileImporto);
  133.     }
  134.   }

  135.   public java.math.BigDecimal getImposta() {
  136.     if(this._decimalWrapper_imposta!=null){
  137.         return (java.math.BigDecimal) this._decimalWrapper_imposta.getObject(java.math.BigDecimal.class);
  138.     }else{
  139.         return this.imposta;
  140.     }
  141.   }

  142.   public void setImposta(java.math.BigDecimal imposta) {
  143.     if(imposta!=null){
  144.         this._decimalWrapper_imposta = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,11,2,2,imposta);
  145.     }
  146.   }

  147.   public void setEsigibilitaIVARawEnumValue(String value) {
  148.     this.esigibilitaIVA = (EsigibilitaIVAType) EsigibilitaIVAType.toEnumConstantFromString(value);
  149.   }

  150.   public String getEsigibilitaIVARawEnumValue() {
  151.     if(this.esigibilitaIVA == null){
  152.         return null;
  153.     }else{
  154.         return this.esigibilitaIVA.toString();
  155.     }
  156.   }

  157.   public it.gov.fatturapa.sdi.fatturapa.v1_0.constants.EsigibilitaIVAType getEsigibilitaIVA() {
  158.     return this.esigibilitaIVA;
  159.   }

  160.   public void setEsigibilitaIVA(it.gov.fatturapa.sdi.fatturapa.v1_0.constants.EsigibilitaIVAType esigibilitaIVA) {
  161.     this.esigibilitaIVA = esigibilitaIVA;
  162.   }

  163.   public java.lang.String getRiferimentoNormativo() {
  164.     return this.riferimentoNormativo;
  165.   }

  166.   public void setRiferimentoNormativo(java.lang.String riferimentoNormativo) {
  167.     this.riferimentoNormativo = riferimentoNormativo;
  168.   }

  169.   private static final long serialVersionUID = 1L;



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

  174.   @javax.xml.bind.annotation.XmlTransient
  175.   protected java.math.BigDecimal aliquotaIVA;

  176.   @javax.xml.bind.annotation.XmlTransient
  177.   protected java.lang.String naturaRawEnumValue;

  178.   @XmlElement(name="Natura",required=false,nillable=false)
  179.   protected NaturaType natura;

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

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

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

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

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

  196.   @javax.xml.bind.annotation.XmlTransient
  197.   protected java.math.BigDecimal imponibileImporto;

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

  202.   @javax.xml.bind.annotation.XmlTransient
  203.   protected java.math.BigDecimal imposta;

  204.   @javax.xml.bind.annotation.XmlTransient
  205.   protected java.lang.String esigibilitaIVARawEnumValue;

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

  208.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  209.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  210.   @XmlElement(name="RiferimentoNormativo",required=false,nillable=false)
  211.   protected java.lang.String riferimentoNormativo;

  212. }