FatturaElettronicaHeaderType.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 it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.SoggettoEmittenteType;
  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 FatturaElettronicaHeaderType complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="FatturaElettronicaHeaderType"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="DatiTrasmissione" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}DatiTrasmissioneType" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="CedentePrestatore" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}CedentePrestatoreType" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="CessionarioCommittente" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}CessionarioCommittenteType" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="SoggettoEmittente" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}SoggettoEmittenteType" 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 = "FatturaElettronicaHeaderType",
  50.   propOrder = {
  51.     "datiTrasmissione",
  52.     "cedentePrestatore",
  53.     "cessionarioCommittente",
  54.     "soggettoEmittente"
  55.   }
  56. )

  57. @XmlRootElement(name = "FatturaElettronicaHeaderType")

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

  62.   public DatiTrasmissioneType getDatiTrasmissione() {
  63.     return this.datiTrasmissione;
  64.   }

  65.   public void setDatiTrasmissione(DatiTrasmissioneType datiTrasmissione) {
  66.     this.datiTrasmissione = datiTrasmissione;
  67.   }

  68.   public CedentePrestatoreType getCedentePrestatore() {
  69.     return this.cedentePrestatore;
  70.   }

  71.   public void setCedentePrestatore(CedentePrestatoreType cedentePrestatore) {
  72.     this.cedentePrestatore = cedentePrestatore;
  73.   }

  74.   public CessionarioCommittenteType getCessionarioCommittente() {
  75.     return this.cessionarioCommittente;
  76.   }

  77.   public void setCessionarioCommittente(CessionarioCommittenteType cessionarioCommittente) {
  78.     this.cessionarioCommittente = cessionarioCommittente;
  79.   }

  80.   public void setSoggettoEmittenteRawEnumValue(String value) {
  81.     this.soggettoEmittente = (SoggettoEmittenteType) SoggettoEmittenteType.toEnumConstantFromString(value);
  82.   }

  83.   public String getSoggettoEmittenteRawEnumValue() {
  84.     if(this.soggettoEmittente == null){
  85.         return null;
  86.     }else{
  87.         return this.soggettoEmittente.toString();
  88.     }
  89.   }

  90.   public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.SoggettoEmittenteType getSoggettoEmittente() {
  91.     return this.soggettoEmittente;
  92.   }

  93.   public void setSoggettoEmittente(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.SoggettoEmittenteType soggettoEmittente) {
  94.     this.soggettoEmittente = soggettoEmittente;
  95.   }

  96.   private static final long serialVersionUID = 1L;



  97.   @XmlElement(name="DatiTrasmissione",required=true,nillable=false)
  98.   protected DatiTrasmissioneType datiTrasmissione;

  99.   @XmlElement(name="CedentePrestatore",required=true,nillable=false)
  100.   protected CedentePrestatoreType cedentePrestatore;

  101.   @XmlElement(name="CessionarioCommittente",required=true,nillable=false)
  102.   protected CessionarioCommittenteType cessionarioCommittente;

  103.   @javax.xml.bind.annotation.XmlTransient
  104.   protected java.lang.String soggettoEmittenteRawEnumValue;

  105.   @XmlElement(name="SoggettoEmittente",required=false,nillable=false)
  106.   protected SoggettoEmittenteType soggettoEmittente;

  107. }