DatiCassaPrevidenzialeType.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_1;

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


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

  54. @XmlAccessorType(XmlAccessType.FIELD)
  55. @XmlType(name = "DatiCassaPrevidenzialeType",
  56.   propOrder = {
  57.     "tipoCassa",
  58.     "_decimalWrapper_alCassa",
  59.     "_decimalWrapper_importoContributoCassa",
  60.     "_decimalWrapper_imponibileCassa",
  61.     "_decimalWrapper_aliquotaIVA",
  62.     "ritenuta",
  63.     "natura",
  64.     "riferimentoAmministrazione"
  65.   }
  66. )

  67. @XmlRootElement(name = "DatiCassaPrevidenzialeType")

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

  72.   public void setTipoCassaRawEnumValue(String value) {
  73.     this.tipoCassa = (TipoCassaType) TipoCassaType.toEnumConstantFromString(value);
  74.   }

  75.   public String getTipoCassaRawEnumValue() {
  76.     if(this.tipoCassa == null){
  77.         return null;
  78.     }else{
  79.         return this.tipoCassa.toString();
  80.     }
  81.   }

  82.   public it.gov.fatturapa.sdi.fatturapa.v1_1.constants.TipoCassaType getTipoCassa() {
  83.     return this.tipoCassa;
  84.   }

  85.   public void setTipoCassa(it.gov.fatturapa.sdi.fatturapa.v1_1.constants.TipoCassaType tipoCassa) {
  86.     this.tipoCassa = tipoCassa;
  87.   }

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

  95.   public void setAlCassa(java.math.BigDecimal alCassa) {
  96.     if(alCassa!=null){
  97.         this._decimalWrapper_alCassa = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,3,2,2,alCassa);
  98.     }
  99.   }

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

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

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

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

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

  131.   public void setAliquotaIVA(java.math.BigDecimal aliquotaIVA) {
  132.     if(aliquotaIVA!=null){
  133.         this._decimalWrapper_aliquotaIVA = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,3,2,2,aliquotaIVA);
  134.     }
  135.   }

  136.   public void setRitenutaRawEnumValue(String value) {
  137.     this.ritenuta = (RitenutaType) RitenutaType.toEnumConstantFromString(value);
  138.   }

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

  146.   public it.gov.fatturapa.sdi.fatturapa.v1_1.constants.RitenutaType getRitenuta() {
  147.     return this.ritenuta;
  148.   }

  149.   public void setRitenuta(it.gov.fatturapa.sdi.fatturapa.v1_1.constants.RitenutaType ritenuta) {
  150.     this.ritenuta = ritenuta;
  151.   }

  152.   public void setNaturaRawEnumValue(String value) {
  153.     this.natura = (NaturaType) NaturaType.toEnumConstantFromString(value);
  154.   }

  155.   public String getNaturaRawEnumValue() {
  156.     if(this.natura == null){
  157.         return null;
  158.     }else{
  159.         return this.natura.toString();
  160.     }
  161.   }

  162.   public it.gov.fatturapa.sdi.fatturapa.v1_1.constants.NaturaType getNatura() {
  163.     return this.natura;
  164.   }

  165.   public void setNatura(it.gov.fatturapa.sdi.fatturapa.v1_1.constants.NaturaType natura) {
  166.     this.natura = natura;
  167.   }

  168.   public java.lang.String getRiferimentoAmministrazione() {
  169.     return this.riferimentoAmministrazione;
  170.   }

  171.   public void setRiferimentoAmministrazione(java.lang.String riferimentoAmministrazione) {
  172.     this.riferimentoAmministrazione = riferimentoAmministrazione;
  173.   }

  174.   private static final long serialVersionUID = 1L;



  175.   @javax.xml.bind.annotation.XmlTransient
  176.   protected java.lang.String tipoCassaRawEnumValue;

  177.   @XmlElement(name="TipoCassa",required=true,nillable=false)
  178.   protected TipoCassaType tipoCassa;

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

  183.   @javax.xml.bind.annotation.XmlTransient
  184.   protected java.math.BigDecimal alCassa;

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

  189.   @javax.xml.bind.annotation.XmlTransient
  190.   protected java.math.BigDecimal importoContributoCassa;

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

  195.   @javax.xml.bind.annotation.XmlTransient
  196.   protected java.math.BigDecimal imponibileCassa;

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

  201.   @javax.xml.bind.annotation.XmlTransient
  202.   protected java.math.BigDecimal aliquotaIVA;

  203.   @javax.xml.bind.annotation.XmlTransient
  204.   protected java.lang.String ritenutaRawEnumValue;

  205.   @XmlElement(name="Ritenuta",required=false,nillable=false)
  206.   protected RitenutaType ritenuta;

  207.   @javax.xml.bind.annotation.XmlTransient
  208.   protected java.lang.String naturaRawEnumValue;

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

  211.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  212.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  213.   @XmlElement(name="RiferimentoAmministrazione",required=false,nillable=false)
  214.   protected java.lang.String riferimentoAmministrazione;

  215. }