diff --git a/schemas.zip b/schemas.zip index 8de1412..9c0d3d7 100644 Binary files a/schemas.zip and b/schemas.zip differ diff --git a/src/main/java/br/com/swconsultoria/cte/Cte.java b/src/main/java/br/com/swconsultoria/cte/Cte.java index 0d63a9b..fea181d 100644 --- a/src/main/java/br/com/swconsultoria/cte/Cte.java +++ b/src/main/java/br/com/swconsultoria/cte/Cte.java @@ -9,6 +9,8 @@ import br.com.swconsultoria.cte.schema_400.cte.TCTe; import br.com.swconsultoria.cte.schema_400.cte.TRetCTe; import br.com.swconsultoria.cte.schema_400.cteOS.TCTeOS; +import br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp; +import br.com.swconsultoria.cte.schema_400.cteSimp.TRetCTeSimp; import br.com.swconsultoria.cte.schema_400.evEPECCTe.TEvento; import br.com.swconsultoria.cte.schema_400.evEPECCTe.TRetEvento; import br.com.swconsultoria.cte.schema_400.retCTeOS.TRetCTeOS; @@ -103,6 +105,20 @@ public static TCTeOS montaCteOS(ConfiguracoesCte configuracoesCte, } + /** + * Metodo para Montar a CTE simplificado. + * + * @param configuracoesCte + * @param enviCTe + * @param valida + * @return + * @throws CteException + */ + public static TCTeSimp montaCteSimp(ConfiguracoesCte configuracoesCte, + TCTeSimp enviCTe, boolean valida) throws CteException { + return EnvioCteSimp.montaCteSimp(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesCte), enviCTe, valida); + } + /** * Metodo para Enviar a CTE. * @@ -130,6 +146,18 @@ public static TRetCTeOS enviarCteOS(ConfiguracoesCte configuracoesCte, TCTeOS en return EnvioCteOS.enviaCteOS(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesCte), enviCTe); } + /** + * Metodo para Enviar a CTE simplificado. + * + * @param configuracoesCte + * @param enviCTe + * @return + * @throws CteException + */ + public static TRetCTeSimp enviarCteSimp(ConfiguracoesCte configuracoesCte, TCTeSimp enviCTe) throws CteException { + return EnvioCteSimp.enviaCteSimp(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesCte), enviCTe); + } + /** * Metodo para Cancelar a CTE 4.00 * diff --git a/src/main/java/br/com/swconsultoria/cte/EnvioCteSimp.java b/src/main/java/br/com/swconsultoria/cte/EnvioCteSimp.java new file mode 100644 index 0000000..87881cf --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/EnvioCteSimp.java @@ -0,0 +1,100 @@ +package br.com.swconsultoria.cte; + +import br.com.swconsultoria.cte.dom.ConfiguracoesCte; +import br.com.swconsultoria.cte.dom.enuns.AssinaturaEnum; +import br.com.swconsultoria.cte.dom.enuns.ServicosEnum; +import br.com.swconsultoria.cte.exception.CteException; +import br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp; +import br.com.swconsultoria.cte.schema_400.cteSimp.TRetCTeSimp; +import br.com.swconsultoria.cte.util.WebServiceCteUtil; +import br.com.swconsultoria.cte.util.XmlCteUtil; +import br.com.swconsultoria.cte.wsdl.cte_recepcao_simp.CTeRecepcaoSimpV4Stub; +import lombok.extern.java.Log; + +import javax.xml.bind.JAXBException; +import java.io.IOException; + +/** + * Classe Responsavel por Enviar o Cte simplificado. + * + * @author Ismael Luan Lawrenz + */ +@Log +class EnvioCteSimp { + + private EnvioCteSimp() { + } + + /** + * Metodo para Montar a CTE simplificado + * + * @param config + * @param cte + * @param valida + * @return TCTeSimp + * @throws CteException + */ + static TCTeSimp montaCteSimp(ConfiguracoesCte config, TCTeSimp cte, boolean valida) throws CteException { + try { + + /** + * Cria o xml + */ + String xml = XmlCteUtil.objectToXml(cte); + + /** + * Assina o Xml + */ + xml = Assinar.assinaCte(config, xml, AssinaturaEnum.CTE_SIMP); + log.info("[XML-ASSINADO]: " + xml); + + /** + * Valida o Xml caso sejá selecionado True + */ + if (valida) { + new Validar().validaXml(config, xml, ServicosEnum.ENVIO_CTE_SIMP); + } + + return XmlCteUtil.xmlToObject(xml, TCTeSimp.class); + + } catch (Exception e) { + throw new CteException(e); + } + + } + + /** + * Metodo para Enviar a CTE simplificado + * + * @param config + * @param cte + * @return TRetCTeSimp + * @throws CteException + */ + static TRetCTeSimp enviaCteSimp(ConfiguracoesCte config, TCTeSimp cte) throws CteException { + + try { + + String xml = XmlCteUtil.objectToXml(cte); + + log.info("[XML-ENVIO]: " + xml); + + CTeRecepcaoSimpV4Stub.CteDadosMsg dadosMsg = new CTeRecepcaoSimpV4Stub.CteDadosMsg(); + dadosMsg.setCteDadosMsg(XmlCteUtil.xmlToGZip(xml)); + + CTeRecepcaoSimpV4Stub stub = new CTeRecepcaoSimpV4Stub( + WebServiceCteUtil.getUrl(config, ServicosEnum.ENVIO_CTE_SIMP)); + CTeRecepcaoSimpV4Stub.CteRecepcaoSimpResult result = stub.cteRecepcaoSimp(dadosMsg); + + TRetCTeSimp retCte = XmlCteUtil.xmlToObject(result.getExtraElement().toString(), + TRetCTeSimp.class); + + log.info("[XML-RETORNO]: " + XmlCteUtil.objectToXml(retCte)); + return retCte; + + } catch (IOException | JAXBException e) { + throw new CteException("Erro ao enviar CTe", e); + } + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/dom/enuns/AssinaturaEnum.java b/src/main/java/br/com/swconsultoria/cte/dom/enuns/AssinaturaEnum.java index d7bda1a..8f29af1 100644 --- a/src/main/java/br/com/swconsultoria/cte/dom/enuns/AssinaturaEnum.java +++ b/src/main/java/br/com/swconsultoria/cte/dom/enuns/AssinaturaEnum.java @@ -11,6 +11,7 @@ public enum AssinaturaEnum { CTE("CTe","infCte"), CTE_OS ("CTeOS","infCte"), + CTE_SIMP("CTeSimp","infCte"), EVENTO("eventoCTe","infEvento"); private final String tipo; diff --git a/src/main/java/br/com/swconsultoria/cte/dom/enuns/ServicosEnum.java b/src/main/java/br/com/swconsultoria/cte/dom/enuns/ServicosEnum.java index 091c64c..60a34fb 100644 --- a/src/main/java/br/com/swconsultoria/cte/dom/enuns/ServicosEnum.java +++ b/src/main/java/br/com/swconsultoria/cte/dom/enuns/ServicosEnum.java @@ -16,6 +16,7 @@ public enum ServicosEnum { CANCELAMENTO(Constants.RECEPCAO_EVENTO_4_00, "evCancCTe_v4.00.xsd"), EVENTO("", "eventoCTe_v4.00.xsd"), ENVIO_CTE_OS("CTeRecepcaoOS_4.00", "cteOS_v4.00.xsd"), + ENVIO_CTE_SIMP("CTeRecepcaoSimp_4.00", "cteSimp_v4.00.xsd"), EPEC(Constants.RECEPCAO_EVENTO_4_00, "evEPECCTe_v4.00.xsd"), MULTIMODAL(Constants.RECEPCAO_EVENTO_4_00, "evRegMultimodal_v4.00.xsd"), CCE(Constants.RECEPCAO_EVENTO_4_00, "evCCeCTe_v4.00.xsd"), diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/KeyInfoType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/KeyInfoType.java new file mode 100644 index 0000000..1861914 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/KeyInfoType.java @@ -0,0 +1,93 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for KeyInfoType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="KeyInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Data" +}) +public class KeyInfoType { + + @XmlElement(name = "X509Data", required = true) + protected X509DataType x509Data; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the x509Data property. + * + * @return + * possible object is + * {@link X509DataType } + * + */ + public X509DataType getX509Data() { + return x509Data; + } + + /** + * Sets the value of the x509Data property. + * + * @param value + * allowed object is + * {@link X509DataType } + * + */ + public void setX509Data(X509DataType value) { + this.x509Data = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ObjectFactory.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ObjectFactory.java new file mode 100644 index 0000000..7a744b1 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ObjectFactory.java @@ -0,0 +1,1497 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the br.com.swconsultoria.cte.schema_400.cteSimp package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _CTeSimp_QNAME = new QName("http://www.portalfiscal.inf.br/cte", "CTeSimp"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.com.swconsultoria.cte.schema_400.cteSimp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TUnidCarga } + * + */ + public TUnidCarga createTUnidCarga() { + return new TUnidCarga(); + } + + /** + * Create an instance of {@link TUnidadeTransp } + * + */ + public TUnidadeTransp createTUnidadeTransp() { + return new TUnidadeTransp(); + } + + /** + * Create an instance of {@link TImpOS } + * + */ + public TImpOS createTImpOS() { + return new TImpOS(); + } + + /** + * Create an instance of {@link TImp } + * + */ + public TImp createTImp() { + return new TImp(); + } + + /** + * Create an instance of {@link TCTeOS } + * + */ + public TCTeOS createTCTeOS() { + return new TCTeOS(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte } + * + */ + public TCTeOS.InfCte createTCTeOSInfCte() { + return new TCTeOS.InfCte(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm } + * + */ + public TCTeOS.InfCte.InfCTeNorm createTCTeOSInfCteInfCTeNorm() { + return new TCTeOS.InfCte.InfCTeNorm(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfGTVe } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfGTVe createTCTeOSInfCteInfCTeNormInfGTVe() { + return new TCTeOS.InfCte.InfCTeNorm.InfGTVe(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr createTCTeOSInfCteInfCTeNormCobr() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfServico } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfServico createTCTeOSInfCteInfCTeNormInfServico() { + return new TCTeOS.InfCte.InfCTeNorm.InfServico(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp } + * + */ + public TCTeOS.InfCte.Imp createTCTeOSInfCteImp() { + return new TCTeOS.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.VPrest } + * + */ + public TCTeOS.InfCte.VPrest createTCTeOSInfCteVPrest() { + return new TCTeOS.InfCte.VPrest(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl } + * + */ + public TCTeOS.InfCte.Compl createTCTeOSInfCteCompl() { + return new TCTeOS.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Ide } + * + */ + public TCTeOS.InfCte.Ide createTCTeOSInfCteIde() { + return new TCTeOS.InfCte.Ide(); + } + + /** + * Create an instance of {@link TCTe } + * + */ + public TCTe createTCTe() { + return new TCTe(); + } + + /** + * Create an instance of {@link TCTe.InfCte } + * + */ + public TCTe.InfCte createTCTeInfCte() { + return new TCTe.InfCte(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfPAA } + * + */ + public TCTe.InfCte.InfPAA createTCTeInfCteInfPAA() { + return new TCTe.InfCte.InfPAA(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm } + * + */ + public TCTe.InfCte.InfCTeNorm createTCTeInfCteInfCTeNorm() { + return new TCTe.InfCte.InfCTeNorm(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfServVinc } + * + */ + public TCTe.InfCte.InfCTeNorm.InfServVinc createTCTeInfCteInfCTeNormInfServVinc() { + return new TCTe.InfCte.InfCTeNorm.InfServVinc(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr createTCTeInfCteInfCTeNormCobr() { + return new TCTe.InfCte.InfCTeNorm.Cobr(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt createTCTeInfCteInfCTeNormDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt createTCTeInfCteInfCTeNormDocAntEmiDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc createTCTeInfCteInfCTeNormInfDoc() { + return new TCTe.InfCte.InfCTeNorm.InfDoc(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCarga } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCarga createTCTeInfCteInfCTeNormInfCarga() { + return new TCTe.InfCte.InfCTeNorm.InfCarga(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Imp } + * + */ + public TCTe.InfCte.Imp createTCTeInfCteImp() { + return new TCTe.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.VPrest } + * + */ + public TCTe.InfCte.VPrest createTCTeInfCteVPrest() { + return new TCTe.InfCte.VPrest(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl } + * + */ + public TCTe.InfCte.Compl createTCTeInfCteCompl() { + return new TCTe.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega } + * + */ + public TCTe.InfCte.Compl.Entrega createTCTeInfCteComplEntrega() { + return new TCTe.InfCte.Compl.Entrega(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Fluxo } + * + */ + public TCTe.InfCte.Compl.Fluxo createTCTeInfCteComplFluxo() { + return new TCTe.InfCte.Compl.Fluxo(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide } + * + */ + public TCTe.InfCte.Ide createTCTeInfCteIde() { + return new TCTe.InfCte.Ide(); + } + + /** + * Create an instance of {@link TProtGTVe } + * + */ + public TProtGTVe createTProtGTVe() { + return new TProtGTVe(); + } + + /** + * Create an instance of {@link TProtCTeOS } + * + */ + public TProtCTeOS createTProtCTeOS() { + return new TProtCTeOS(); + } + + /** + * Create an instance of {@link TProtCTe } + * + */ + public TProtCTe createTProtCTe() { + return new TProtCTe(); + } + + /** + * Create an instance of {@link TGTVe } + * + */ + public TGTVe createTGTVe() { + return new TGTVe(); + } + + /** + * Create an instance of {@link TGTVe.InfCte } + * + */ + public TGTVe.InfCte createTGTVeInfCte() { + return new TGTVe.InfCte(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV } + * + */ + public TGTVe.InfCte.DetGTV createTGTVeInfCteDetGTV() { + return new TGTVe.InfCte.DetGTV(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl } + * + */ + public TGTVe.InfCte.Compl createTGTVeInfCteCompl() { + return new TGTVe.InfCte.Compl(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide } + * + */ + public TGTVe.InfCte.Ide createTGTVeInfCteIde() { + return new TGTVe.InfCte.Ide(); + } + + /** + * Create an instance of {@link TCTeSimp } + * + */ + public TCTeSimp createTCTeSimp() { + return new TCTeSimp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte } + * + */ + public TCTeSimp.InfCte createTCTeSimpInfCte() { + return new TCTeSimp.InfCte(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfPAA } + * + */ + public TCTeSimp.InfCte.InfPAA createTCTeSimpInfCteInfPAA() { + return new TCTeSimp.InfCte.InfPAA(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Imp } + * + */ + public TCTeSimp.InfCte.Imp createTCTeSimpInfCteImp() { + return new TCTeSimp.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr } + * + */ + public TCTeSimp.InfCte.Cobr createTCTeSimpInfCteCobr() { + return new TCTeSimp.InfCte.Cobr(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det } + * + */ + public TCTeSimp.InfCte.Det createTCTeSimpInfCteDet() { + return new TCTeSimp.InfCte.Det(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfDocAnt } + * + */ + public TCTeSimp.InfCte.Det.InfDocAnt createTCTeSimpInfCteDetInfDocAnt() { + return new TCTeSimp.InfCte.Det.InfDocAnt(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCarga } + * + */ + public TCTeSimp.InfCte.InfCarga createTCTeSimpInfCteInfCarga() { + return new TCTeSimp.InfCte.InfCarga(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl } + * + */ + public TCTeSimp.InfCte.Compl createTCTeSimpInfCteCompl() { + return new TCTeSimp.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.Fluxo } + * + */ + public TCTeSimp.InfCte.Compl.Fluxo createTCTeSimpInfCteComplFluxo() { + return new TCTeSimp.InfCte.Compl.Fluxo(); + } + + /** + * Create an instance of {@link TRSAKeyValueType } + * + */ + public TRSAKeyValueType createTRSAKeyValueType() { + return new TRSAKeyValueType(); + } + + /** + * Create an instance of {@link TRetCTeSimp } + * + */ + public TRetCTeSimp createTRetCTeSimp() { + return new TRetCTeSimp(); + } + + /** + * Create an instance of {@link TRetCTe } + * + */ + public TRetCTe createTRetCTe() { + return new TRetCTe(); + } + + /** + * Create an instance of {@link TRetGTVe } + * + */ + public TRetGTVe createTRetGTVe() { + return new TRetGTVe(); + } + + /** + * Create an instance of {@link TRetCTeOS } + * + */ + public TRetCTeOS createTRetCTeOS() { + return new TRetCTeOS(); + } + + /** + * Create an instance of {@link TEndeEmi } + * + */ + public TEndeEmi createTEndeEmi() { + return new TEndeEmi(); + } + + /** + * Create an instance of {@link TEndereco } + * + */ + public TEndereco createTEndereco() { + return new TEndereco(); + } + + /** + * Create an instance of {@link TEndernac } + * + */ + public TEndernac createTEndernac() { + return new TEndernac(); + } + + /** + * Create an instance of {@link TEndOrg } + * + */ + public TEndOrg createTEndOrg() { + return new TEndOrg(); + } + + /** + * Create an instance of {@link TLocal } + * + */ + public TLocal createTLocal() { + return new TLocal(); + } + + /** + * Create an instance of {@link TEndReEnt } + * + */ + public TEndReEnt createTEndReEnt() { + return new TEndReEnt(); + } + + /** + * Create an instance of {@link TRespTec } + * + */ + public TRespTec createTRespTec() { + return new TRespTec(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod createReferenceTypeDigestMethod() { + return new ReferenceType.DigestMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod createSignedInfoTypeCanonicalizationMethod() { + return new SignedInfoType.CanonicalizationMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod createSignedInfoTypeSignatureMethod() { + return new SignedInfoType.SignatureMethod(); + } + + /** + * Create an instance of {@link TUnidCarga.LacUnidCarga } + * + */ + public TUnidCarga.LacUnidCarga createTUnidCargaLacUnidCarga() { + return new TUnidCarga.LacUnidCarga(); + } + + /** + * Create an instance of {@link TUnidadeTransp.LacUnidTransp } + * + */ + public TUnidadeTransp.LacUnidTransp createTUnidadeTranspLacUnidTransp() { + return new TUnidadeTransp.LacUnidTransp(); + } + + /** + * Create an instance of {@link TImpOS.ICMS00 } + * + */ + public TImpOS.ICMS00 createTImpOSICMS00() { + return new TImpOS.ICMS00(); + } + + /** + * Create an instance of {@link TImpOS.ICMS20 } + * + */ + public TImpOS.ICMS20 createTImpOSICMS20() { + return new TImpOS.ICMS20(); + } + + /** + * Create an instance of {@link TImpOS.ICMS45 } + * + */ + public TImpOS.ICMS45 createTImpOSICMS45() { + return new TImpOS.ICMS45(); + } + + /** + * Create an instance of {@link TImpOS.ICMS90 } + * + */ + public TImpOS.ICMS90 createTImpOSICMS90() { + return new TImpOS.ICMS90(); + } + + /** + * Create an instance of {@link TImpOS.ICMSOutraUF } + * + */ + public TImpOS.ICMSOutraUF createTImpOSICMSOutraUF() { + return new TImpOS.ICMSOutraUF(); + } + + /** + * Create an instance of {@link TImpOS.ICMSSN } + * + */ + public TImpOS.ICMSSN createTImpOSICMSSN() { + return new TImpOS.ICMSSN(); + } + + /** + * Create an instance of {@link TImp.ICMS00 } + * + */ + public TImp.ICMS00 createTImpICMS00() { + return new TImp.ICMS00(); + } + + /** + * Create an instance of {@link TImp.ICMS20 } + * + */ + public TImp.ICMS20 createTImpICMS20() { + return new TImp.ICMS20(); + } + + /** + * Create an instance of {@link TImp.ICMS45 } + * + */ + public TImp.ICMS45 createTImpICMS45() { + return new TImp.ICMS45(); + } + + /** + * Create an instance of {@link TImp.ICMS60 } + * + */ + public TImp.ICMS60 createTImpICMS60() { + return new TImp.ICMS60(); + } + + /** + * Create an instance of {@link TImp.ICMS90 } + * + */ + public TImp.ICMS90 createTImpICMS90() { + return new TImp.ICMS90(); + } + + /** + * Create an instance of {@link TImp.ICMSOutraUF } + * + */ + public TImp.ICMSOutraUF createTImpICMSOutraUF() { + return new TImp.ICMSOutraUF(); + } + + /** + * Create an instance of {@link TImp.ICMSSN } + * + */ + public TImp.ICMSSN createTImpICMSSN() { + return new TImp.ICMSSN(); + } + + /** + * Create an instance of {@link TCTeOS.InfCTeSupl } + * + */ + public TCTeOS.InfCTeSupl createTCTeOSInfCTeSupl() { + return new TCTeOS.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Emit } + * + */ + public TCTeOS.InfCte.Emit createTCTeOSInfCteEmit() { + return new TCTeOS.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Toma } + * + */ + public TCTeOS.InfCte.Toma createTCTeOSInfCteToma() { + return new TCTeOS.InfCte.Toma(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCteComp } + * + */ + public TCTeOS.InfCte.InfCteComp createTCTeOSInfCteInfCteComp() { + return new TCTeOS.InfCte.InfCteComp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.AutXML } + * + */ + public TCTeOS.InfCte.AutXML createTCTeOSInfCteAutXML() { + return new TCTeOS.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfDocRef } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfDocRef createTCTeOSInfCteInfCTeNormInfDocRef() { + return new TCTeOS.InfCte.InfCTeNorm.InfDocRef(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Seg } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Seg createTCTeOSInfCteInfCTeNormSeg() { + return new TCTeOS.InfCte.InfCTeNorm.Seg(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfModal } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfModal createTCTeOSInfCteInfCTeNormInfModal() { + return new TCTeOS.InfCte.InfCTeNorm.InfModal(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfCteSub } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfCteSub createTCTeOSInfCteInfCTeNormInfCteSub() { + return new TCTeOS.InfCte.InfCTeNorm.InfCteSub(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp createTCTeOSInfCteInfCTeNormInfGTVeComp() { + return new TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr.Fat } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr.Fat createTCTeOSInfCteInfCTeNormCobrFat() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr.Dup } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr.Dup createTCTeOSInfCteInfCTeNormCobrDup() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ createTCTeOSInfCteInfCTeNormInfServicoInfQ() { + return new TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp.ICMSUFFim } + * + */ + public TCTeOS.InfCte.Imp.ICMSUFFim createTCTeOSInfCteImpICMSUFFim() { + return new TCTeOS.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp.InfTribFed } + * + */ + public TCTeOS.InfCte.Imp.InfTribFed createTCTeOSInfCteImpInfTribFed() { + return new TCTeOS.InfCte.Imp.InfTribFed(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.VPrest.Comp } + * + */ + public TCTeOS.InfCte.VPrest.Comp createTCTeOSInfCteVPrestComp() { + return new TCTeOS.InfCte.VPrest.Comp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl.ObsCont } + * + */ + public TCTeOS.InfCte.Compl.ObsCont createTCTeOSInfCteComplObsCont() { + return new TCTeOS.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl.ObsFisco } + * + */ + public TCTeOS.InfCte.Compl.ObsFisco createTCTeOSInfCteComplObsFisco() { + return new TCTeOS.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Ide.InfPercurso } + * + */ + public TCTeOS.InfCte.Ide.InfPercurso createTCTeOSInfCteIdeInfPercurso() { + return new TCTeOS.InfCte.Ide.InfPercurso(); + } + + /** + * Create an instance of {@link TCTe.InfCTeSupl } + * + */ + public TCTe.InfCTeSupl createTCTeInfCTeSupl() { + return new TCTe.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Emit } + * + */ + public TCTe.InfCte.Emit createTCTeInfCteEmit() { + return new TCTe.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Rem } + * + */ + public TCTe.InfCte.Rem createTCTeInfCteRem() { + return new TCTe.InfCte.Rem(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Exped } + * + */ + public TCTe.InfCte.Exped createTCTeInfCteExped() { + return new TCTe.InfCte.Exped(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Receb } + * + */ + public TCTe.InfCte.Receb createTCTeInfCteReceb() { + return new TCTe.InfCte.Receb(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Dest } + * + */ + public TCTe.InfCte.Dest createTCTeInfCteDest() { + return new TCTe.InfCte.Dest(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCteComp } + * + */ + public TCTe.InfCte.InfCteComp createTCTeInfCteInfCteComp() { + return new TCTe.InfCte.InfCteComp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.AutXML } + * + */ + public TCTe.InfCte.AutXML createTCTeInfCteAutXML() { + return new TCTe.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfSolicNFF } + * + */ + public TCTe.InfCte.InfSolicNFF createTCTeInfCteInfSolicNFF() { + return new TCTe.InfCte.InfSolicNFF(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfPAA.PAASignature } + * + */ + public TCTe.InfCte.InfPAA.PAASignature createTCTeInfCteInfPAAPAASignature() { + return new TCTe.InfCte.InfPAA.PAASignature(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfModal } + * + */ + public TCTe.InfCte.InfCTeNorm.InfModal createTCTeInfCteInfCTeNormInfModal() { + return new TCTe.InfCte.InfCTeNorm.InfModal(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.VeicNovos } + * + */ + public TCTe.InfCte.InfCTeNorm.VeicNovos createTCTeInfCteInfCTeNormVeicNovos() { + return new TCTe.InfCte.InfCTeNorm.VeicNovos(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCteSub } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCteSub createTCTeInfCteInfCTeNormInfCteSub() { + return new TCTe.InfCte.InfCTeNorm.InfCteSub(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfGlobalizado } + * + */ + public TCTe.InfCte.InfCTeNorm.InfGlobalizado createTCTeInfCteInfCTeNormInfGlobalizado() { + return new TCTe.InfCte.InfCTeNorm.InfGlobalizado(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal } + * + */ + public TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal createTCTeInfCteInfCTeNormInfServVincInfCTeMultimodal() { + return new TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr.Fat } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr.Fat createTCTeInfCteInfCTeNormCobrFat() { + return new TCTe.InfCte.InfCTeNorm.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr.Dup } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr.Dup createTCTeInfCteInfCTeNormCobrDup() { + return new TCTe.InfCte.InfCTeNorm.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAntIdDocAntPap() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAntIdDocAntEle() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfNF } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfNF createTCTeInfCteInfCTeNormInfDocInfNF() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfNF(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe createTCTeInfCteInfCTeNormInfDocInfNFe() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros createTCTeInfCteInfCTeNormInfDocInfOutros() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCarga.InfQ } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCarga.InfQ createTCTeInfCteInfCTeNormInfCargaInfQ() { + return new TCTe.InfCte.InfCTeNorm.InfCarga.InfQ(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Imp.ICMSUFFim } + * + */ + public TCTe.InfCte.Imp.ICMSUFFim createTCTeInfCteImpICMSUFFim() { + return new TCTe.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTe.InfCte.VPrest.Comp } + * + */ + public TCTe.InfCte.VPrest.Comp createTCTeInfCteVPrestComp() { + return new TCTe.InfCte.VPrest.Comp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.ObsCont } + * + */ + public TCTe.InfCte.Compl.ObsCont createTCTeInfCteComplObsCont() { + return new TCTe.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.ObsFisco } + * + */ + public TCTe.InfCte.Compl.ObsFisco createTCTeInfCteComplObsFisco() { + return new TCTe.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.SemData } + * + */ + public TCTe.InfCte.Compl.Entrega.SemData createTCTeInfCteComplEntregaSemData() { + return new TCTe.InfCte.Compl.Entrega.SemData(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.ComData } + * + */ + public TCTe.InfCte.Compl.Entrega.ComData createTCTeInfCteComplEntregaComData() { + return new TCTe.InfCte.Compl.Entrega.ComData(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.NoPeriodo } + * + */ + public TCTe.InfCte.Compl.Entrega.NoPeriodo createTCTeInfCteComplEntregaNoPeriodo() { + return new TCTe.InfCte.Compl.Entrega.NoPeriodo(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.SemHora } + * + */ + public TCTe.InfCte.Compl.Entrega.SemHora createTCTeInfCteComplEntregaSemHora() { + return new TCTe.InfCte.Compl.Entrega.SemHora(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.ComHora } + * + */ + public TCTe.InfCte.Compl.Entrega.ComHora createTCTeInfCteComplEntregaComHora() { + return new TCTe.InfCte.Compl.Entrega.ComHora(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.NoInter } + * + */ + public TCTe.InfCte.Compl.Entrega.NoInter createTCTeInfCteComplEntregaNoInter() { + return new TCTe.InfCte.Compl.Entrega.NoInter(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Fluxo.Pass } + * + */ + public TCTe.InfCte.Compl.Fluxo.Pass createTCTeInfCteComplFluxoPass() { + return new TCTe.InfCte.Compl.Fluxo.Pass(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide.Toma3 } + * + */ + public TCTe.InfCte.Ide.Toma3 createTCTeInfCteIdeToma3() { + return new TCTe.InfCte.Ide.Toma3(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide.Toma4 } + * + */ + public TCTe.InfCte.Ide.Toma4 createTCTeInfCteIdeToma4() { + return new TCTe.InfCte.Ide.Toma4(); + } + + /** + * Create an instance of {@link TProtGTVe.InfProt } + * + */ + public TProtGTVe.InfProt createTProtGTVeInfProt() { + return new TProtGTVe.InfProt(); + } + + /** + * Create an instance of {@link TProtGTVe.InfFisco } + * + */ + public TProtGTVe.InfFisco createTProtGTVeInfFisco() { + return new TProtGTVe.InfFisco(); + } + + /** + * Create an instance of {@link TProtCTeOS.InfProt } + * + */ + public TProtCTeOS.InfProt createTProtCTeOSInfProt() { + return new TProtCTeOS.InfProt(); + } + + /** + * Create an instance of {@link TProtCTeOS.InfFisco } + * + */ + public TProtCTeOS.InfFisco createTProtCTeOSInfFisco() { + return new TProtCTeOS.InfFisco(); + } + + /** + * Create an instance of {@link TProtCTe.InfProt } + * + */ + public TProtCTe.InfProt createTProtCTeInfProt() { + return new TProtCTe.InfProt(); + } + + /** + * Create an instance of {@link TProtCTe.InfFisco } + * + */ + public TProtCTe.InfFisco createTProtCTeInfFisco() { + return new TProtCTe.InfFisco(); + } + + /** + * Create an instance of {@link TGTVe.InfCTeSupl } + * + */ + public TGTVe.InfCTeSupl createTGTVeInfCTeSupl() { + return new TGTVe.InfCTeSupl(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Emit } + * + */ + public TGTVe.InfCte.Emit createTGTVeInfCteEmit() { + return new TGTVe.InfCte.Emit(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Rem } + * + */ + public TGTVe.InfCte.Rem createTGTVeInfCteRem() { + return new TGTVe.InfCte.Rem(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Dest } + * + */ + public TGTVe.InfCte.Dest createTGTVeInfCteDest() { + return new TGTVe.InfCte.Dest(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.AutXML } + * + */ + public TGTVe.InfCte.AutXML createTGTVeInfCteAutXML() { + return new TGTVe.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV.InfEspecie } + * + */ + public TGTVe.InfCte.DetGTV.InfEspecie createTGTVeInfCteDetGTVInfEspecie() { + return new TGTVe.InfCte.DetGTV.InfEspecie(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV.InfVeiculo } + * + */ + public TGTVe.InfCte.DetGTV.InfVeiculo createTGTVeInfCteDetGTVInfVeiculo() { + return new TGTVe.InfCte.DetGTV.InfVeiculo(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl.ObsCont } + * + */ + public TGTVe.InfCte.Compl.ObsCont createTGTVeInfCteComplObsCont() { + return new TGTVe.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl.ObsFisco } + * + */ + public TGTVe.InfCte.Compl.ObsFisco createTGTVeInfCteComplObsFisco() { + return new TGTVe.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide.Toma } + * + */ + public TGTVe.InfCte.Ide.Toma createTGTVeInfCteIdeToma() { + return new TGTVe.InfCte.Ide.Toma(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide.TomaTerceiro } + * + */ + public TGTVe.InfCte.Ide.TomaTerceiro createTGTVeInfCteIdeTomaTerceiro() { + return new TGTVe.InfCte.Ide.TomaTerceiro(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCTeSupl } + * + */ + public TCTeSimp.InfCTeSupl createTCTeSimpInfCTeSupl() { + return new TCTeSimp.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Ide } + * + */ + public TCTeSimp.InfCte.Ide createTCTeSimpInfCteIde() { + return new TCTeSimp.InfCte.Ide(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Emit } + * + */ + public TCTeSimp.InfCte.Emit createTCTeSimpInfCteEmit() { + return new TCTeSimp.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Toma } + * + */ + public TCTeSimp.InfCte.Toma createTCTeSimpInfCteToma() { + return new TCTeSimp.InfCte.Toma(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfModal } + * + */ + public TCTeSimp.InfCte.InfModal createTCTeSimpInfCteInfModal() { + return new TCTeSimp.InfCte.InfModal(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCteSub } + * + */ + public TCTeSimp.InfCte.InfCteSub createTCTeSimpInfCteInfCteSub() { + return new TCTeSimp.InfCte.InfCteSub(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Total } + * + */ + public TCTeSimp.InfCte.Total createTCTeSimpInfCteTotal() { + return new TCTeSimp.InfCte.Total(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.AutXML } + * + */ + public TCTeSimp.InfCte.AutXML createTCTeSimpInfCteAutXML() { + return new TCTeSimp.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfSolicNFF } + * + */ + public TCTeSimp.InfCte.InfSolicNFF createTCTeSimpInfCteInfSolicNFF() { + return new TCTeSimp.InfCte.InfSolicNFF(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfPAA.PAASignature } + * + */ + public TCTeSimp.InfCte.InfPAA.PAASignature createTCTeSimpInfCteInfPAAPAASignature() { + return new TCTeSimp.InfCte.InfPAA.PAASignature(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Imp.ICMSUFFim } + * + */ + public TCTeSimp.InfCte.Imp.ICMSUFFim createTCTeSimpInfCteImpICMSUFFim() { + return new TCTeSimp.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr.Fat } + * + */ + public TCTeSimp.InfCte.Cobr.Fat createTCTeSimpInfCteCobrFat() { + return new TCTeSimp.InfCte.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr.Dup } + * + */ + public TCTeSimp.InfCte.Cobr.Dup createTCTeSimpInfCteCobrDup() { + return new TCTeSimp.InfCte.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.Comp } + * + */ + public TCTeSimp.InfCte.Det.Comp createTCTeSimpInfCteDetComp() { + return new TCTeSimp.InfCte.Det.Comp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfNFe } + * + */ + public TCTeSimp.InfCte.Det.InfNFe createTCTeSimpInfCteDetInfNFe() { + return new TCTeSimp.InfCte.Det.InfNFe(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial } + * + */ + public TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial createTCTeSimpInfCteDetInfDocAntInfNFeTranspParcial() { + return new TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCarga.InfQ } + * + */ + public TCTeSimp.InfCte.InfCarga.InfQ createTCTeSimpInfCteInfCargaInfQ() { + return new TCTeSimp.InfCte.InfCarga.InfQ(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.ObsCont } + * + */ + public TCTeSimp.InfCte.Compl.ObsCont createTCTeSimpInfCteComplObsCont() { + return new TCTeSimp.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.ObsFisco } + * + */ + public TCTeSimp.InfCte.Compl.ObsFisco createTCTeSimpInfCteComplObsFisco() { + return new TCTeSimp.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.Fluxo.Pass } + * + */ + public TCTeSimp.InfCte.Compl.Fluxo.Pass createTCTeSimpInfCteComplFluxoPass() { + return new TCTeSimp.InfCte.Compl.Fluxo.Pass(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TCTeSimp }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TCTeSimp }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/cte", name = "CTeSimp") + public JAXBElement createCTeSimp(TCTeSimp value) { + return new JAXBElement(_CTeSimp_QNAME, TCTeSimp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ReferenceType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ReferenceType.java new file mode 100644 index 0000000..956d0e3 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/ReferenceType.java @@ -0,0 +1,272 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for ReferenceType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ReferenceType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
+ *         <element name="DigestMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
+ *             <minLength value="2"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms", required = true) + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethod digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI", required = true) + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethod } + * + */ + public DigestMethod getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethod } + * + */ + public void setDigestMethod(DigestMethod value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DigestMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#sha1"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureType.java new file mode 100644 index 0000000..ba7381a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureType.java @@ -0,0 +1,149 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for SignatureType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignatureType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignedInfo" type="{http://www.w3.org/2000/09/xmldsig#}SignedInfoType"/>
+ *         <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}SignatureValueType"/>
+ *         <element name="KeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo", required = true) + protected KeyInfoType keyInfo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureValueType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureValueType.java new file mode 100644 index 0000000..98de20e --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignatureValueType.java @@ -0,0 +1,88 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for SignatureValueType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignatureValueType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignedInfoType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignedInfoType.java new file mode 100644 index 0000000..b0e92fd --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/SignedInfoType.java @@ -0,0 +1,277 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for SignedInfoType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignedInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CanonicalizationMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="SignatureMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethod canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethod signatureMethod; + @XmlElement(name = "Reference", required = true) + protected ReferenceType reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the canonicalizationMethod property. + * + * @return + * possible object is + * {@link CanonicalizationMethod } + * + */ + public CanonicalizationMethod getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Sets the value of the canonicalizationMethod property. + * + * @param value + * allowed object is + * {@link CanonicalizationMethod } + * + */ + public void setCanonicalizationMethod(CanonicalizationMethod value) { + this.canonicalizationMethod = value; + } + + /** + * Gets the value of the signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethod } + * + */ + public SignatureMethod getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethod } + * + */ + public void setSignatureMethod(SignatureMethod value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link ReferenceType } + * + */ + public ReferenceType getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link ReferenceType } + * + */ + public void setReference(ReferenceType value) { + this.reference = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class CanonicalizationMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class SignatureMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTe.java new file mode 100644 index 0000000..d9faad5 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTe.java @@ -0,0 +1,13312 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico (Modelo 57) + * + *

Java class for TCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indGlobalizado" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunIni">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunFim">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="retira">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xDetRetira" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="160"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="toma3">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="0"/>
+ *                                               <enumeration value="1"/>
+ *                                               <enumeration value="2"/>
+ *                                               <enumeration value="3"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="toma4">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <choice>
+ *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                         </choice>
+ *                                         <element name="IE" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <sequence>
+ *                                           <element name="xNome">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <maxLength value="60"/>
+ *                                                 <minLength value="2"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="xFant" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <maxLength value="60"/>
+ *                                                 <minLength value="2"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                                           <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                                           <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                                         </sequence>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fluxo" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xOrig" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="pass" maxOccurs="unbounded" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xPass" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="15"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="xDest" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xRota" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="10"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="Entrega" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <choice>
+ *                                         <element name="semData">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="comData">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="noPeriodo">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                   <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </choice>
+ *                                       <choice>
+ *                                         <element name="semHora">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="comHora">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="noInter">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                   <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </choice>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="origCalc" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="40"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="destCalc" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="40"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="rem" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="exped" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="receb" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="dest" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vPrest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <choice>
+ *                     <element name="infCTeNorm">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="infCarga">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                         <element name="proPred">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="60"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xOutCat" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infQ" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="cUnid">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="00"/>
+ *                                                         <enumeration value="01"/>
+ *                                                         <enumeration value="02"/>
+ *                                                         <enumeration value="03"/>
+ *                                                         <enumeration value="04"/>
+ *                                                         <enumeration value="05"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpMed">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="20"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDoc" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <choice>
+ *                                           <element name="infNF" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="nRoma" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nPed" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+ *                                                     <element name="serie">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="3"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nDoc">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                                                     <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+ *                                                     <element name="PIN" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="2"/>
+ *                                                           <maxLength value="9"/>
+ *                                                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                           <element name="infNFe" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                     <element name="PIN" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="2"/>
+ *                                                           <maxLength value="9"/>
+ *                                                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                           <element name="infOutros" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="tpDoc">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <enumeration value="00"/>
+ *                                                           <enumeration value="10"/>
+ *                                                           <enumeration value="59"/>
+ *                                                           <enumeration value="65"/>
+ *                                                           <enumeration value="99"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="descOutros" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="100"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nDoc" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                         </choice>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="docAnt" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="emiDocAnt" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <choice>
+ *                                                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                                   </choice>
+ *                                                   <sequence minOccurs="0">
+ *                                                     <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+ *                                                     <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                                                   </sequence>
+ *                                                   <element name="xNome">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="idDocAnt" maxOccurs="2">
+ *                                                     <complexType>
+ *                                                       <complexContent>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                           <choice>
+ *                                                             <element name="idDocAntPap" maxOccurs="unbounded">
+ *                                                               <complexType>
+ *                                                                 <complexContent>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                                     <sequence>
+ *                                                                       <element name="tpDoc">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="serie">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="3"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="subser" minOccurs="0">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="2"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="nDoc">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="30"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                                     </sequence>
+ *                                                                   </restriction>
+ *                                                                 </complexContent>
+ *                                                               </complexType>
+ *                                                             </element>
+ *                                                             <element name="idDocAntEle" maxOccurs="unbounded">
+ *                                                               <complexType>
+ *                                                                 <complexContent>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                                     <sequence>
+ *                                                                       <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                                     </sequence>
+ *                                                                   </restriction>
+ *                                                                 </complexContent>
+ *                                                               </complexType>
+ *                                                             </element>
+ *                                                           </choice>
+ *                                                         </restriction>
+ *                                                       </complexContent>
+ *                                                     </complexType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infModal">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <any processContents='skip'/>
+ *                                       </sequence>
+ *                                       <attribute name="versaoModal" use="required">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </attribute>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chassi">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <length value="17"/>
+ *                                               <pattern value="[A-Z0-9]+"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="cCor">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xCor">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="40"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="cMod">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="6"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                         <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="cobr" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="fat" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nFat" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="60"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nDup" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infCteSub" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCte">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="indAlteraToma" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <enumeration value="1"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infGlobalizado" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="xObs">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="15"/>
+ *                                               <maxLength value="256"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infServVinc" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="infCTeMultimodal" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="infCteComp" maxOccurs="10">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                   </choice>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                   <element name="infSolicNFF" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xSolic">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="8000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infPAA" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="PAASignature">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *                                       <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTe", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +@XmlRootElement(name = "CTeSimp",namespace = "http://www.portalfiscal.inf.br/cte") +public class TCTe { + + @XmlElement(required = true) + protected InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indGlobalizado" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunIni">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunFim">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="retira">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xDetRetira" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="160"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="toma3">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="0"/>
+     *                                     <enumeration value="1"/>
+     *                                     <enumeration value="2"/>
+     *                                     <enumeration value="3"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="toma4">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <choice>
+     *                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                 <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                               </choice>
+     *                               <element name="IE" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <sequence>
+     *                                 <element name="xNome">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <maxLength value="60"/>
+     *                                       <minLength value="2"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="xFant" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <maxLength value="60"/>
+     *                                       <minLength value="2"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                                 <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                                 <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                               </sequence>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fluxo" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xOrig" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="pass" maxOccurs="unbounded" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xPass" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="15"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="xDest" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xRota" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="10"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="Entrega" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <choice>
+     *                               <element name="semData">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="comData">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="noPeriodo">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                         <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </choice>
+     *                             <choice>
+     *                               <element name="semHora">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="comHora">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="noInter">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                         <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </choice>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="origCalc" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="40"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="destCalc" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="40"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="rem" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="exped" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="receb" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="dest" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vPrest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <choice>
+     *           <element name="infCTeNorm">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="infCarga">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                               <element name="proPred">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="60"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xOutCat" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infQ" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="cUnid">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="00"/>
+     *                                               <enumeration value="01"/>
+     *                                               <enumeration value="02"/>
+     *                                               <enumeration value="03"/>
+     *                                               <enumeration value="04"/>
+     *                                               <enumeration value="05"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpMed">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="20"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDoc" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <choice>
+     *                                 <element name="infNF" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="nRoma" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nPed" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+     *                                           <element name="serie">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="3"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nDoc">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                                           <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+     *                                           <element name="PIN" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="2"/>
+     *                                                 <maxLength value="9"/>
+     *                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                                 <element name="infNFe" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                           <element name="PIN" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="2"/>
+     *                                                 <maxLength value="9"/>
+     *                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                                 <element name="infOutros" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="tpDoc">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <enumeration value="00"/>
+     *                                                 <enumeration value="10"/>
+     *                                                 <enumeration value="59"/>
+     *                                                 <enumeration value="65"/>
+     *                                                 <enumeration value="99"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="descOutros" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="100"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nDoc" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                               </choice>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="docAnt" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="emiDocAnt" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <choice>
+     *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                                         </choice>
+     *                                         <sequence minOccurs="0">
+     *                                           <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+     *                                           <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                                         </sequence>
+     *                                         <element name="xNome">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="idDocAnt" maxOccurs="2">
+     *                                           <complexType>
+     *                                             <complexContent>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                 <choice>
+     *                                                   <element name="idDocAntPap" maxOccurs="unbounded">
+     *                                                     <complexType>
+     *                                                       <complexContent>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                           <sequence>
+     *                                                             <element name="tpDoc">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="serie">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="3"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="subser" minOccurs="0">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="2"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="nDoc">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="30"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                                           </sequence>
+     *                                                         </restriction>
+     *                                                       </complexContent>
+     *                                                     </complexType>
+     *                                                   </element>
+     *                                                   <element name="idDocAntEle" maxOccurs="unbounded">
+     *                                                     <complexType>
+     *                                                       <complexContent>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                           <sequence>
+     *                                                             <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                                           </sequence>
+     *                                                         </restriction>
+     *                                                       </complexContent>
+     *                                                     </complexType>
+     *                                                   </element>
+     *                                                 </choice>
+     *                                               </restriction>
+     *                                             </complexContent>
+     *                                           </complexType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infModal">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <any processContents='skip'/>
+     *                             </sequence>
+     *                             <attribute name="versaoModal" use="required">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </attribute>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chassi">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <length value="17"/>
+     *                                     <pattern value="[A-Z0-9]+"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="cCor">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xCor">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="40"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="cMod">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="6"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                               <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="cobr" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="fat" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nFat" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="60"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nDup" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infCteSub" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCte">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="indAlteraToma" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <enumeration value="1"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infGlobalizado" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="xObs">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="15"/>
+     *                                     <maxLength value="256"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infServVinc" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="infCTeMultimodal" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="infCteComp" maxOccurs="10">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *         </choice>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *         <element name="infSolicNFF" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xSolic">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="8000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infPAA" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="PAASignature">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+     *                             <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "rem", + "exped", + "receb", + "dest", + "vPrest", + "imp", + "infCTeNorm", + "infCteComp", + "autXML", + "infRespTec", + "infSolicNFF", + "infPAA" + }) + public static class InfCte { + + @XmlElement(required = true) + protected Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected Emit emit; + protected Rem rem; + protected Exped exped; + protected Receb receb; + protected Dest dest; + @XmlElement(required = true) + protected VPrest vPrest; + @XmlElement(required = true) + protected Imp imp; + protected InfCTeNorm infCTeNorm; + protected List infCteComp; + protected List autXML; + protected TRespTec infRespTec; + protected InfSolicNFF infSolicNFF; + protected InfPAA infPAA; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the rem property. + * + * @return + * possible object is + * {@link Rem } + * + */ + public Rem getRem() { + return rem; + } + + /** + * Sets the value of the rem property. + * + * @param value + * allowed object is + * {@link Rem } + * + */ + public void setRem(Rem value) { + this.rem = value; + } + + /** + * Gets the value of the exped property. + * + * @return + * possible object is + * {@link Exped } + * + */ + public Exped getExped() { + return exped; + } + + /** + * Sets the value of the exped property. + * + * @param value + * allowed object is + * {@link Exped } + * + */ + public void setExped(Exped value) { + this.exped = value; + } + + /** + * Gets the value of the receb property. + * + * @return + * possible object is + * {@link Receb } + * + */ + public Receb getReceb() { + return receb; + } + + /** + * Sets the value of the receb property. + * + * @param value + * allowed object is + * {@link Receb } + * + */ + public void setReceb(Receb value) { + this.receb = value; + } + + /** + * Gets the value of the dest property. + * + * @return + * possible object is + * {@link Dest } + * + */ + public Dest getDest() { + return dest; + } + + /** + * Sets the value of the dest property. + * + * @param value + * allowed object is + * {@link Dest } + * + */ + public void setDest(Dest value) { + this.dest = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return + * possible object is + * {@link VPrest } + * + */ + public VPrest getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value + * allowed object is + * {@link VPrest } + * + */ + public void setVPrest(VPrest value) { + this.vPrest = value; + } + + /** + * Gets the value of the imp property. + * + * @return + * possible object is + * {@link Imp } + * + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value + * allowed object is + * {@link Imp } + * + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the infCTeNorm property. + * + * @return + * possible object is + * {@link InfCTeNorm } + * + */ + public InfCTeNorm getInfCTeNorm() { + return infCTeNorm; + } + + /** + * Sets the value of the infCTeNorm property. + * + * @param value + * allowed object is + * {@link InfCTeNorm } + * + */ + public void setInfCTeNorm(InfCTeNorm value) { + this.infCTeNorm = value; + } + + /** + * Gets the value of the infCteComp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infCteComp property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getInfCteComp().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCteComp } + * + * + */ + public List getInfCteComp() { + if (infCteComp == null) { + infCteComp = new ArrayList(); + } + return this.infCteComp; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the infSolicNFF property. + * + * @return + * possible object is + * {@link InfSolicNFF } + * + */ + public InfSolicNFF getInfSolicNFF() { + return infSolicNFF; + } + + /** + * Sets the value of the infSolicNFF property. + * + * @param value + * allowed object is + * {@link InfSolicNFF } + * + */ + public void setInfSolicNFF(InfSolicNFF value) { + this.infSolicNFF = value; + } + + /** + * Gets the value of the infPAA property. + * + * @return + * possible object is + * {@link InfPAA } + * + */ + public InfPAA getInfPAA() { + return infPAA; + } + + /** + * Sets the value of the infPAA property. + * + * @param value + * allowed object is + * {@link InfPAA } + * + */ + public void setInfPAA(InfPAA value) { + this.infPAA = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fluxo" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xOrig" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="pass" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xPass" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="15"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="xDest" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xRota" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="10"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="Entrega" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <choice>
+         *                     <element name="semData">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="comData">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="noPeriodo">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                               <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                   <choice>
+         *                     <element name="semHora">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="comHora">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="noInter">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                               <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="origCalc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="40"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="destCalc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="40"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "fluxo", + "entrega", + "origCalc", + "destCalc", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected Fluxo fluxo; + @XmlElement(name = "Entrega") + protected Entrega entrega; + protected String origCalc; + protected String destCalc; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the fluxo property. + * + * @return + * possible object is + * {@link Fluxo } + * + */ + public Fluxo getFluxo() { + return fluxo; + } + + /** + * Sets the value of the fluxo property. + * + * @param value + * allowed object is + * {@link Fluxo } + * + */ + public void setFluxo(Fluxo value) { + this.fluxo = value; + } + + /** + * Gets the value of the entrega property. + * + * @return + * possible object is + * {@link Entrega } + * + */ + public Entrega getEntrega() { + return entrega; + } + + /** + * Sets the value of the entrega property. + * + * @param value + * allowed object is + * {@link Entrega } + * + */ + public void setEntrega(Entrega value) { + this.entrega = value; + } + + /** + * Gets the value of the origCalc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrigCalc() { + return origCalc; + } + + /** + * Sets the value of the origCalc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrigCalc(String value) { + this.origCalc = value; + } + + /** + * Gets the value of the destCalc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDestCalc() { + return destCalc; + } + + /** + * Sets the value of the destCalc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDestCalc(String value) { + this.destCalc = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <choice>
+             *           <element name="semData">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="comData">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="noPeriodo">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                     <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *         <choice>
+             *           <element name="semHora">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="comHora">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="noInter">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                     <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "semData", + "comData", + "noPeriodo", + "semHora", + "comHora", + "noInter" + }) + public static class Entrega { + + protected SemData semData; + protected ComData comData; + protected NoPeriodo noPeriodo; + protected SemHora semHora; + protected ComHora comHora; + protected NoInter noInter; + + /** + * Gets the value of the semData property. + * + * @return + * possible object is + * {@link SemData } + * + */ + public SemData getSemData() { + return semData; + } + + /** + * Sets the value of the semData property. + * + * @param value + * allowed object is + * {@link SemData } + * + */ + public void setSemData(SemData value) { + this.semData = value; + } + + /** + * Gets the value of the comData property. + * + * @return + * possible object is + * {@link ComData } + * + */ + public ComData getComData() { + return comData; + } + + /** + * Sets the value of the comData property. + * + * @param value + * allowed object is + * {@link ComData } + * + */ + public void setComData(ComData value) { + this.comData = value; + } + + /** + * Gets the value of the noPeriodo property. + * + * @return + * possible object is + * {@link NoPeriodo } + * + */ + public NoPeriodo getNoPeriodo() { + return noPeriodo; + } + + /** + * Sets the value of the noPeriodo property. + * + * @param value + * allowed object is + * {@link NoPeriodo } + * + */ + public void setNoPeriodo(NoPeriodo value) { + this.noPeriodo = value; + } + + /** + * Gets the value of the semHora property. + * + * @return + * possible object is + * {@link SemHora } + * + */ + public SemHora getSemHora() { + return semHora; + } + + /** + * Sets the value of the semHora property. + * + * @param value + * allowed object is + * {@link SemHora } + * + */ + public void setSemHora(SemHora value) { + this.semHora = value; + } + + /** + * Gets the value of the comHora property. + * + * @return + * possible object is + * {@link ComHora } + * + */ + public ComHora getComHora() { + return comHora; + } + + /** + * Sets the value of the comHora property. + * + * @param value + * allowed object is + * {@link ComHora } + * + */ + public void setComHora(ComHora value) { + this.comHora = value; + } + + /** + * Gets the value of the noInter property. + * + * @return + * possible object is + * {@link NoInter } + * + */ + public NoInter getNoInter() { + return noInter; + } + + /** + * Sets the value of the noInter property. + * + * @param value + * allowed object is + * {@link NoInter } + * + */ + public void setNoInter(NoInter value) { + this.noInter = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer", + "dProg" + }) + public static class ComData { + + @XmlElement(required = true) + protected String tpPer; + @XmlElement(required = true) + protected String dProg; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + /** + * Gets the value of the dProg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDProg() { + return dProg; + } + + /** + * Sets the value of the dProg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDProg(String value) { + this.dProg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor", + "hProg" + }) + public static class ComHora { + + @XmlElement(required = true) + protected String tpHor; + @XmlElement(required = true) + protected String hProg; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + /** + * Gets the value of the hProg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHProg() { + return hProg; + } + + /** + * Sets the value of the hProg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHProg(String value) { + this.hProg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *         <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor", + "hIni", + "hFim" + }) + public static class NoInter { + + @XmlElement(required = true) + protected String tpHor; + @XmlElement(required = true) + protected String hIni; + @XmlElement(required = true) + protected String hFim; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + /** + * Gets the value of the hIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHIni() { + return hIni; + } + + /** + * Sets the value of the hIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHIni(String value) { + this.hIni = value; + } + + /** + * Gets the value of the hFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHFim() { + return hFim; + } + + /** + * Sets the value of the hFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHFim(String value) { + this.hFim = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *         <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer", + "dIni", + "dFim" + }) + public static class NoPeriodo { + + @XmlElement(required = true) + protected String tpPer; + @XmlElement(required = true) + protected String dIni; + @XmlElement(required = true) + protected String dFim; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + /** + * Gets the value of the dIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDIni() { + return dIni; + } + + /** + * Sets the value of the dIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDIni(String value) { + this.dIni = value; + } + + /** + * Gets the value of the dFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDFim() { + return dFim; + } + + /** + * Sets the value of the dFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDFim(String value) { + this.dFim = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer" + }) + public static class SemData { + + @XmlElement(required = true) + protected String tpPer; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor" + }) + public static class SemHora { + + @XmlElement(required = true) + protected String tpHor; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xOrig" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="pass" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xPass" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="15"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="xDest" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xRota" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="10"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xOrig", + "pass", + "xDest", + "xRota" + }) + public static class Fluxo { + + protected String xOrig; + protected List pass; + protected String xDest; + protected String xRota; + + /** + * Gets the value of the xOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXOrig() { + return xOrig; + } + + /** + * Sets the value of the xOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXOrig(String value) { + this.xOrig = value; + } + + /** + * Gets the value of the pass property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the pass property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getPass().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Pass } + * + * + */ + public List getPass() { + if (pass == null) { + pass = new ArrayList(); + } + return this.pass; + } + + /** + * Gets the value of the xDest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDest() { + return xDest; + } + + /** + * Sets the value of the xDest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDest(String value) { + this.xDest = value; + } + + /** + * Gets the value of the xRota property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXRota() { + return xRota; + } + + /** + * Sets the value of the xRota property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXRota(String value) { + this.xRota = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="xPass" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xPass" + }) + public static class Pass { + + protected String xPass; + + /** + * Gets the value of the xPass property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPass() { + return xPass; + } + + /** + * Sets the value of the xPass property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPass(String value) { + this.xPass = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "isuf", + "enderDest", + "email" + }) + public static class Dest { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(name = "ISUF") + protected String isuf; + @XmlElement(required = true) + protected TEndereco enderDest; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the isuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the enderDest property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderDest() { + return enderDest; + } + + /** + * Sets the value of the enderDest property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderDest(TEndereco value) { + this.enderDest = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true) + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "enderExped", + "email" + }) + public static class Exped { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderExped; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderExped property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderExped() { + return enderExped; + } + + /** + * Sets the value of the enderExped property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderExped(TEndereco value) { + this.enderExped = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indGlobalizado" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunIni">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunFim">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="retira">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xDetRetira" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="160"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="toma3">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="0"/>
+         *                           <enumeration value="1"/>
+         *                           <enumeration value="2"/>
+         *                           <enumeration value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="toma4">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="4"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <choice>
+         *                       <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                       <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                     </choice>
+         *                     <element name="IE" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <sequence>
+         *                       <element name="xNome">
+         *                         <simpleType>
+         *                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                             <maxLength value="60"/>
+         *                             <minLength value="2"/>
+         *                           </restriction>
+         *                         </simpleType>
+         *                       </element>
+         *                       <element name="xFant" minOccurs="0">
+         *                         <simpleType>
+         *                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                             <maxLength value="60"/>
+         *                             <minLength value="2"/>
+         *                           </restriction>
+         *                         </simpleType>
+         *                       </element>
+         *                       <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *                       <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *                       <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *                     </sequence>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "indGlobalizado", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "cMunIni", + "xMunIni", + "ufIni", + "cMunFim", + "xMunFim", + "ufFim", + "retira", + "xDetRetira", + "indIEToma", + "toma3", + "toma4", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String procEmi; + @XmlElement(required = true) + protected String verProc; + protected String indGlobalizado; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String cMunIni; + @XmlElement(required = true) + protected String xMunIni; + @XmlElement(name = "UFIni", required = true) + @XmlSchemaType(name = "string") + protected TUf ufIni; + @XmlElement(required = true) + protected String cMunFim; + @XmlElement(required = true) + protected String xMunFim; + @XmlElement(name = "UFFim", required = true) + @XmlSchemaType(name = "string") + protected TUf ufFim; + @XmlElement(required = true) + protected String retira; + protected String xDetRetira; + @XmlElement(required = true) + protected String indIEToma; + protected Toma3 toma3; + protected Toma4 toma4; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the indGlobalizado property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndGlobalizado() { + return indGlobalizado; + } + + /** + * Sets the value of the indGlobalizado property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndGlobalizado(String value) { + this.indGlobalizado = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the cMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the retira property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRetira() { + return retira; + } + + /** + * Sets the value of the retira property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRetira(String value) { + this.retira = value; + } + + /** + * Gets the value of the xDetRetira property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDetRetira() { + return xDetRetira; + } + + /** + * Sets the value of the xDetRetira property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDetRetira(String value) { + this.xDetRetira = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the toma3 property. + * + * @return + * possible object is + * {@link Toma3 } + * + */ + public Toma3 getToma3() { + return toma3; + } + + /** + * Sets the value of the toma3 property. + * + * @param value + * allowed object is + * {@link Toma3 } + * + */ + public void setToma3(Toma3 value) { + this.toma3 = value; + } + + /** + * Gets the value of the toma4 property. + * + * @return + * possible object is + * {@link Toma4 } + * + */ + public Toma4 getToma4() { + return toma4; + } + + /** + * Sets the value of the toma4 property. + * + * @param value + * allowed object is + * {@link Toma4 } + * + */ + public void setToma4(Toma4 value) { + this.toma4 = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma" + }) + public static class Toma3 { + + @XmlElement(required = true) + protected String toma; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <choice>
+             *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *         </choice>
+             *         <element name="IE" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <sequence>
+             *           <element name="xNome">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <maxLength value="60"/>
+             *                 <minLength value="2"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="xFant" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <maxLength value="60"/>
+             *                 <minLength value="2"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+             *           <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+             *           <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+             *         </sequence>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class Toma4 { + + @XmlElement(required = true) + protected String toma; + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true) + protected TImp icms; + protected String vTotTrib; + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim") + protected ICMSUFFim icmsufFim; + + /** + * Gets the value of the icms property. + * + * @return + * possible object is + * {@link TImp } + * + */ + public TImp getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value + * allowed object is + * {@link TImp } + * + */ + public void setICMS(TImp value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return + * possible object is + * {@link ICMSUFFim } + * + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value + * allowed object is + * {@link ICMSUFFim } + * + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true) + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true) + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true) + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true) + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true) + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true) + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true) + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class InfCteComp { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infCarga">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="proPred">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xOutCat" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="infQ" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="cUnid">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="00"/>
+         *                                   <enumeration value="01"/>
+         *                                   <enumeration value="02"/>
+         *                                   <enumeration value="03"/>
+         *                                   <enumeration value="04"/>
+         *                                   <enumeration value="05"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="tpMed">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="20"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infDoc" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <choice>
+         *                     <element name="infNF" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="nRoma" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nPed" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+         *                               <element name="serie">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nDoc">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                               <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *                               <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+         *                               <element name="PIN" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <minLength value="2"/>
+         *                                     <maxLength value="9"/>
+         *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="infNFe" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                               <element name="PIN" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <minLength value="2"/>
+         *                                     <maxLength value="9"/>
+         *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="infOutros" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpDoc">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="00"/>
+         *                                     <enumeration value="10"/>
+         *                                     <enumeration value="59"/>
+         *                                     <enumeration value="65"/>
+         *                                     <enumeration value="99"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="descOutros" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="100"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nDoc" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="docAnt" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="emiDocAnt" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <choice>
+         *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                             </choice>
+         *                             <sequence minOccurs="0">
+         *                               <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+         *                               <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *                             </sequence>
+         *                             <element name="xNome">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="idDocAnt" maxOccurs="2">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <choice>
+         *                                       <element name="idDocAntPap" maxOccurs="unbounded">
+         *                                         <complexType>
+         *                                           <complexContent>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                               <sequence>
+         *                                                 <element name="tpDoc">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="serie">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="3"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="subser" minOccurs="0">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="2"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="nDoc">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="30"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                                               </sequence>
+         *                                             </restriction>
+         *                                           </complexContent>
+         *                                         </complexType>
+         *                                       </element>
+         *                                       <element name="idDocAntEle" maxOccurs="unbounded">
+         *                                         <complexType>
+         *                                           <complexContent>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                               <sequence>
+         *                                                 <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                                               </sequence>
+         *                                             </restriction>
+         *                                           </complexContent>
+         *                                         </complexType>
+         *                                       </element>
+         *                                     </choice>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infModal">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <any processContents='skip'/>
+         *                 </sequence>
+         *                 <attribute name="versaoModal" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                       <whiteSpace value="preserve"/>
+         *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chassi">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <length value="17"/>
+         *                         <pattern value="[A-Z0-9]+"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cCor">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="4"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xCor">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="40"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cMod">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="6"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="cobr" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="fat" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nFat" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDup" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infCteSub" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCte">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="indAlteraToma" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <enumeration value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infGlobalizado" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xObs">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="15"/>
+         *                         <maxLength value="256"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infServVinc" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="infCTeMultimodal" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infCarga", + "infDoc", + "docAnt", + "infModal", + "veicNovos", + "cobr", + "infCteSub", + "infGlobalizado", + "infServVinc" + }) + public static class InfCTeNorm { + + @XmlElement(required = true) + protected InfCarga infCarga; + protected InfDoc infDoc; + protected DocAnt docAnt; + @XmlElement(required = true) + protected InfModal infModal; + protected List veicNovos; + protected Cobr cobr; + protected InfCteSub infCteSub; + protected InfGlobalizado infGlobalizado; + protected InfServVinc infServVinc; + + /** + * Gets the value of the infCarga property. + * + * @return + * possible object is + * {@link InfCarga } + * + */ + public InfCarga getInfCarga() { + return infCarga; + } + + /** + * Sets the value of the infCarga property. + * + * @param value + * allowed object is + * {@link InfCarga } + * + */ + public void setInfCarga(InfCarga value) { + this.infCarga = value; + } + + /** + * Gets the value of the infDoc property. + * + * @return + * possible object is + * {@link InfDoc } + * + */ + public InfDoc getInfDoc() { + return infDoc; + } + + /** + * Sets the value of the infDoc property. + * + * @param value + * allowed object is + * {@link InfDoc } + * + */ + public void setInfDoc(InfDoc value) { + this.infDoc = value; + } + + /** + * Gets the value of the docAnt property. + * + * @return + * possible object is + * {@link DocAnt } + * + */ + public DocAnt getDocAnt() { + return docAnt; + } + + /** + * Sets the value of the docAnt property. + * + * @param value + * allowed object is + * {@link DocAnt } + * + */ + public void setDocAnt(DocAnt value) { + this.docAnt = value; + } + + /** + * Gets the value of the infModal property. + * + * @return + * possible object is + * {@link InfModal } + * + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value + * allowed object is + * {@link InfModal } + * + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the veicNovos property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the veicNovos property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getVeicNovos().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link VeicNovos } + * + * + */ + public List getVeicNovos() { + if (veicNovos == null) { + veicNovos = new ArrayList(); + } + return this.veicNovos; + } + + /** + * Gets the value of the cobr property. + * + * @return + * possible object is + * {@link Cobr } + * + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value + * allowed object is + * {@link Cobr } + * + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return + * possible object is + * {@link InfCteSub } + * + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value + * allowed object is + * {@link InfCteSub } + * + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the infGlobalizado property. + * + * @return + * possible object is + * {@link InfGlobalizado } + * + */ + public InfGlobalizado getInfGlobalizado() { + return infGlobalizado; + } + + /** + * Sets the value of the infGlobalizado property. + * + * @param value + * allowed object is + * {@link InfGlobalizado } + * + */ + public void setInfGlobalizado(InfGlobalizado value) { + this.infGlobalizado = value; + } + + /** + * Gets the value of the infServVinc property. + * + * @return + * possible object is + * {@link InfServVinc } + * + */ + public InfServVinc getInfServVinc() { + return infServVinc; + } + + /** + * Sets the value of the infServVinc property. + * + * @param value + * allowed object is + * {@link InfServVinc } + * + */ + public void setInfServVinc(InfServVinc value) { + this.infServVinc = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="fat" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nFat" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDup" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return + * possible object is + * {@link Fat } + * + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value + * allowed object is + * {@link Fat } + * + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDup().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + * + * + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nDup" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nFat" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="emiDocAnt" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <choice>
+             *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *                   </choice>
+             *                   <sequence minOccurs="0">
+             *                     <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+             *                     <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+             *                   </sequence>
+             *                   <element name="xNome">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="idDocAnt" maxOccurs="2">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <choice>
+             *                             <element name="idDocAntPap" maxOccurs="unbounded">
+             *                               <complexType>
+             *                                 <complexContent>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                                     <sequence>
+             *                                       <element name="tpDoc">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="serie">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="3"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="subser" minOccurs="0">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="2"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="nDoc">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="30"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                                     </sequence>
+             *                                   </restriction>
+             *                                 </complexContent>
+             *                               </complexType>
+             *                             </element>
+             *                             <element name="idDocAntEle" maxOccurs="unbounded">
+             *                               <complexType>
+             *                                 <complexContent>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                                     <sequence>
+             *                                       <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                                     </sequence>
+             *                                   </restriction>
+             *                                 </complexContent>
+             *                               </complexType>
+             *                             </element>
+             *                           </choice>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "emiDocAnt" + }) + public static class DocAnt { + + @XmlElement(required = true) + protected List emiDocAnt; + + /** + * Gets the value of the emiDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the emiDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getEmiDocAnt().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link EmiDocAnt } + * + * + */ + public List getEmiDocAnt() { + if (emiDocAnt == null) { + emiDocAnt = new ArrayList(); + } + return this.emiDocAnt; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <choice>
+                 *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+                 *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+                 *         </choice>
+                 *         <sequence minOccurs="0">
+                 *           <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+                 *           <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+                 *         </sequence>
+                 *         <element name="xNome">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="idDocAnt" maxOccurs="2">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <choice>
+                 *                   <element name="idDocAntPap" maxOccurs="unbounded">
+                 *                     <complexType>
+                 *                       <complexContent>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                           <sequence>
+                 *                             <element name="tpDoc">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="serie">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="3"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="subser" minOccurs="0">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="2"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="nDoc">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="30"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *                           </sequence>
+                 *                         </restriction>
+                 *                       </complexContent>
+                 *                     </complexType>
+                 *                   </element>
+                 *                   <element name="idDocAntEle" maxOccurs="unbounded">
+                 *                     <complexType>
+                 *                       <complexContent>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                           <sequence>
+                 *                             <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *                           </sequence>
+                 *                         </restriction>
+                 *                       </complexContent>
+                 *                     </complexType>
+                 *                   </element>
+                 *                 </choice>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "uf", + "xNome", + "idDocAnt" + }) + public static class EmiDocAnt { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(name = "UF") + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected List idDocAnt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the idDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the idDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getIdDocAnt().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAnt } + * + * + */ + public List getIdDocAnt() { + if (idDocAnt == null) { + idDocAnt = new ArrayList(); + } + return this.idDocAnt; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                     * <complexType>
+                     *   <complexContent>
+                     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *       <choice>
+                     *         <element name="idDocAntPap" maxOccurs="unbounded">
+                     *           <complexType>
+                     *             <complexContent>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *                 <sequence>
+                     *                   <element name="tpDoc">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="serie">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="3"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="subser" minOccurs="0">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="2"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="nDoc">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="30"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                     *                 </sequence>
+                     *               </restriction>
+                     *             </complexContent>
+                     *           </complexType>
+                     *         </element>
+                     *         <element name="idDocAntEle" maxOccurs="unbounded">
+                     *           <complexType>
+                     *             <complexContent>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *                 <sequence>
+                     *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                     *                 </sequence>
+                     *               </restriction>
+                     *             </complexContent>
+                     *           </complexType>
+                     *         </element>
+                     *       </choice>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "idDocAntPap", + "idDocAntEle" + }) + public static class IdDocAnt { + + protected List idDocAntPap; + protected List idDocAntEle; + + /** + * Gets the value of the idDocAntPap property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the idDocAntPap property. + * + *

+ * For example, to add a new item, do as follows: + *

+                         *    getIdDocAntPap().add(newItem);
+                         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAntPap } + * + * + */ + public List getIdDocAntPap() { + if (idDocAntPap == null) { + idDocAntPap = new ArrayList(); + } + return this.idDocAntPap; + } + + /** + * Gets the value of the idDocAntEle property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the idDocAntEle property. + * + *

+ * For example, to add a new item, do as follows: + *

+                         *    getIdDocAntEle().add(newItem);
+                         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAntEle } + * + * + */ + public List getIdDocAntEle() { + if (idDocAntEle == null) { + idDocAntEle = new ArrayList(); + } + return this.idDocAntEle; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                         * <complexType>
+                         *   <complexContent>
+                         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                         *       <sequence>
+                         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                         *       </sequence>
+                         *     </restriction>
+                         *   </complexContent>
+                         * </complexType>
+                         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class IdDocAntEle { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                         * <complexType>
+                         *   <complexContent>
+                         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                         *       <sequence>
+                         *         <element name="tpDoc">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="serie">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="3"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="subser" minOccurs="0">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="2"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="nDoc">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="30"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                         *       </sequence>
+                         *     </restriction>
+                         *   </complexContent>
+                         * </complexType>
+                         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpDoc", + "serie", + "subser", + "nDoc", + "dEmi" + }) + public static class IdDocAntPap { + + @XmlElement(required = true) + protected String tpDoc; + @XmlElement(required = true) + protected String serie; + protected String subser; + @XmlElement(required = true) + protected String nDoc; + @XmlElement(required = true) + protected String dEmi; + + /** + * Gets the value of the tpDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpDoc() { + return tpDoc; + } + + /** + * Sets the value of the tpDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpDoc(String value) { + this.tpDoc = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the subser property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubser() { + return subser; + } + + /** + * Sets the value of the subser property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubser(String value) { + this.subser = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="proPred">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xOutCat" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infQ" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="cUnid">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="00"/>
+             *                         <enumeration value="01"/>
+             *                         <enumeration value="02"/>
+             *                         <enumeration value="03"/>
+             *                         <enumeration value="04"/>
+             *                         <enumeration value="05"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="tpMed">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="20"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vCarga", + "proPred", + "xOutCat", + "infQ", + "vCargaAverb" + }) + public static class InfCarga { + + protected String vCarga; + @XmlElement(required = true) + protected String proPred; + protected String xOutCat; + @XmlElement(required = true) + protected List infQ; + protected String vCargaAverb; + + /** + * Gets the value of the vCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCarga() { + return vCarga; + } + + /** + * Sets the value of the vCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCarga(String value) { + this.vCarga = value; + } + + /** + * Gets the value of the proPred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProPred() { + return proPred; + } + + /** + * Sets the value of the proPred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProPred(String value) { + this.proPred = value; + } + + /** + * Gets the value of the xOutCat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXOutCat() { + return xOutCat; + } + + /** + * Sets the value of the xOutCat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXOutCat(String value) { + this.xOutCat = value; + } + + /** + * Gets the value of the infQ property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infQ property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfQ().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfQ } + * + * + */ + public List getInfQ() { + if (infQ == null) { + infQ = new ArrayList(); + } + return this.infQ; + } + + /** + * Gets the value of the vCargaAverb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCargaAverb() { + return vCargaAverb; + } + + /** + * Sets the value of the vCargaAverb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCargaAverb(String value) { + this.vCargaAverb = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="cUnid">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="00"/>
+                 *               <enumeration value="01"/>
+                 *               <enumeration value="02"/>
+                 *               <enumeration value="03"/>
+                 *               <enumeration value="04"/>
+                 *               <enumeration value="05"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpMed">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cUnid", + "tpMed", + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true) + protected String cUnid; + @XmlElement(required = true) + protected String tpMed; + @XmlElement(required = true) + protected String qCarga; + + /** + * Gets the value of the cUnid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUnid() { + return cUnid; + } + + /** + * Sets the value of the cUnid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUnid(String value) { + this.cUnid = value; + } + + /** + * Gets the value of the tpMed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpMed() { + return tpMed; + } + + /** + * Sets the value of the tpMed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpMed(String value) { + this.tpMed = value; + } + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCte">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="indAlteraToma" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte", + "indAlteraToma" + }) + public static class InfCteSub { + + @XmlElement(required = true) + protected String chCte; + protected String indAlteraToma; + + /** + * Gets the value of the chCte property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCte(String value) { + this.chCte = value; + } + + /** + * Gets the value of the indAlteraToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndAlteraToma() { + return indAlteraToma; + } + + /** + * Sets the value of the indAlteraToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndAlteraToma(String value) { + this.indAlteraToma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <choice>
+             *           <element name="infNF" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="nRoma" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nPed" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+             *                     <element name="serie">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nDoc">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                     <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+             *                     <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+             *                     <element name="PIN" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <minLength value="2"/>
+             *                           <maxLength value="9"/>
+             *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="infNFe" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                     <element name="PIN" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <minLength value="2"/>
+             *                           <maxLength value="9"/>
+             *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="infOutros" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpDoc">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="00"/>
+             *                           <enumeration value="10"/>
+             *                           <enumeration value="59"/>
+             *                           <enumeration value="65"/>
+             *                           <enumeration value="99"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="descOutros" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="100"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nDoc" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infNF", + "infNFe", + "infOutros" + }) + public static class InfDoc { + + protected List infNF; + protected List infNFe; + protected List infOutros; + + /** + * Gets the value of the infNF property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infNF property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNF().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNF } + * + * + */ + public List getInfNF() { + if (infNF == null) { + infNF = new ArrayList(); + } + return this.infNF; + } + + /** + * Gets the value of the infNFe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNFe().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFe } + * + * + */ + public List getInfNFe() { + if (infNFe == null) { + infNFe = new ArrayList(); + } + return this.infNFe; + } + + /** + * Gets the value of the infOutros property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infOutros property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfOutros().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfOutros } + * + * + */ + public List getInfOutros() { + if (infOutros == null) { + infOutros = new ArrayList(); + } + return this.infOutros; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nRoma" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nPed" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+                 *         <element name="serie">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nDoc">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+                 *         <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+                 *         <element name="PIN" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="2"/>
+                 *               <maxLength value="9"/>
+                 *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nRoma", + "nPed", + "mod", + "serie", + "nDoc", + "dEmi", + "vbc", + "vicms", + "vbcst", + "vst", + "vProd", + "vnf", + "ncfop", + "nPeso", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNF { + + protected String nRoma; + protected String nPed; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(required = true) + protected String nDoc; + @XmlElement(required = true) + protected String dEmi; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vBCST", required = true) + protected String vbcst; + @XmlElement(name = "vST", required = true) + protected String vst; + @XmlElement(required = true) + protected String vProd; + @XmlElement(name = "vNF", required = true) + protected String vnf; + @XmlElement(name = "nCFOP", required = true) + protected String ncfop; + protected String nPeso; + @XmlElement(name = "PIN") + protected String pin; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the nRoma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRoma() { + return nRoma; + } + + /** + * Sets the value of the nRoma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRoma(String value) { + this.nRoma = value; + } + + /** + * Gets the value of the nPed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNPed() { + return nPed; + } + + /** + * Sets the value of the nPed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNPed(String value) { + this.nPed = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vbcst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Sets the value of the vbcst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Gets the value of the vst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVST() { + return vst; + } + + /** + * Sets the value of the vst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVST(String value) { + this.vst = value; + } + + /** + * Gets the value of the vProd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVProd() { + return vProd; + } + + /** + * Sets the value of the vProd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVProd(String value) { + this.vProd = value; + } + + /** + * Gets the value of the vnf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVNF() { + return vnf; + } + + /** + * Sets the value of the vnf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVNF(String value) { + this.vnf = value; + } + + /** + * Gets the value of the ncfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCFOP() { + return ncfop; + } + + /** + * Sets the value of the ncfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCFOP(String value) { + this.ncfop = value; + } + + /** + * Gets the value of the nPeso property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNPeso() { + return nPeso; + } + + /** + * Sets the value of the nPeso property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNPeso(String value) { + this.nPeso = value; + } + + /** + * Gets the value of the pin property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *         <element name="PIN" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="2"/>
+                 *               <maxLength value="9"/>
+                 *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chave", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNFe { + + @XmlElement(required = true) + protected String chave; + @XmlElement(name = "PIN") + protected String pin; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the chave property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChave() { + return chave; + } + + /** + * Sets the value of the chave property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChave(String value) { + this.chave = value; + } + + /** + * Gets the value of the pin property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpDoc">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="00"/>
+                 *               <enumeration value="10"/>
+                 *               <enumeration value="59"/>
+                 *               <enumeration value="65"/>
+                 *               <enumeration value="99"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="descOutros" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="100"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nDoc" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpDoc", + "descOutros", + "nDoc", + "dEmi", + "vDocFisc", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfOutros { + + @XmlElement(required = true) + protected String tpDoc; + protected String descOutros; + protected String nDoc; + protected String dEmi; + protected String vDocFisc; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the tpDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpDoc() { + return tpDoc; + } + + /** + * Sets the value of the tpDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpDoc(String value) { + this.tpDoc = value; + } + + /** + * Gets the value of the descOutros property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescOutros() { + return descOutros; + } + + /** + * Sets the value of the descOutros property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescOutros(String value) { + this.descOutros = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vDocFisc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDocFisc() { + return vDocFisc; + } + + /** + * Sets the value of the vDocFisc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDocFisc(String value) { + this.vDocFisc = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xObs">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="15"/>
+             *               <maxLength value="256"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xObs" + }) + public static class InfGlobalizado { + + @XmlElement(required = true) + protected String xObs; + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <any processContents='skip'/>
+             *       </sequence>
+             *       <attribute name="versaoModal" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *             <whiteSpace value="preserve"/>
+             *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="infCTeMultimodal" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infCTeMultimodal" + }) + public static class InfServVinc { + + @XmlElement(required = true) + protected List infCTeMultimodal; + + /** + * Gets the value of the infCTeMultimodal property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infCTeMultimodal property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfCTeMultimodal().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCTeMultimodal } + * + * + */ + public List getInfCTeMultimodal() { + if (infCTeMultimodal == null) { + infCTeMultimodal = new ArrayList(); + } + return this.infCTeMultimodal; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTeMultimodal" + }) + public static class InfCTeMultimodal { + + @XmlElement(required = true) + protected String chCTeMultimodal; + + /** + * Gets the value of the chCTeMultimodal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTeMultimodal() { + return chCTeMultimodal; + } + + /** + * Sets the value of the chCTeMultimodal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTeMultimodal(String value) { + this.chCTeMultimodal = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chassi">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <length value="17"/>
+             *               <pattern value="[A-Z0-9]+"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cCor">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xCor">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="40"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cMod">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="6"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chassi", + "cCor", + "xCor", + "cMod", + "vUnit", + "vFrete" + }) + public static class VeicNovos { + + @XmlElement(required = true) + protected String chassi; + @XmlElement(required = true) + protected String cCor; + @XmlElement(required = true) + protected String xCor; + @XmlElement(required = true) + protected String cMod; + @XmlElement(required = true) + protected String vUnit; + @XmlElement(required = true) + protected String vFrete; + + /** + * Gets the value of the chassi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChassi() { + return chassi; + } + + /** + * Sets the value of the chassi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChassi(String value) { + this.chassi = value; + } + + /** + * Gets the value of the cCor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCor() { + return cCor; + } + + /** + * Sets the value of the cCor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCor(String value) { + this.cCor = value; + } + + /** + * Gets the value of the xCor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCor() { + return xCor; + } + + /** + * Sets the value of the xCor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCor(String value) { + this.xCor = value; + } + + /** + * Gets the value of the cMod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMod() { + return cMod; + } + + /** + * Sets the value of the cMod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMod(String value) { + this.cMod = value; + } + + /** + * Gets the value of the vUnit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVUnit() { + return vUnit; + } + + /** + * Sets the value of the vUnit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVUnit(String value) { + this.vUnit = value; + } + + /** + * Gets the value of the vFrete property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFrete() { + return vFrete; + } + + /** + * Sets the value of the vFrete property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFrete(String value) { + this.vFrete = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="PAASignature">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+         *                   <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpjpaa", + "paaSignature" + }) + public static class InfPAA { + + @XmlElement(name = "CNPJPAA", required = true) + protected String cnpjpaa; + @XmlElement(name = "PAASignature", required = true) + protected PAASignature paaSignature; + + /** + * Gets the value of the cnpjpaa property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJPAA() { + return cnpjpaa; + } + + /** + * Sets the value of the cnpjpaa property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJPAA(String value) { + this.cnpjpaa = value; + } + + /** + * Gets the value of the paaSignature property. + * + * @return + * possible object is + * {@link PAASignature } + * + */ + public PAASignature getPAASignature() { + return paaSignature; + } + + /** + * Sets the value of the paaSignature property. + * + * @param value + * allowed object is + * {@link PAASignature } + * + */ + public void setPAASignature(PAASignature value) { + this.paaSignature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+             *         <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "signatureValue", + "rsaKeyValue" + }) + public static class PAASignature { + + @XmlElement(name = "SignatureValue", required = true) + protected byte[] signatureValue; + @XmlElement(name = "RSAKeyValue", required = true) + protected TRSAKeyValueType rsaKeyValue; + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setSignatureValue(byte[] value) { + this.signatureValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return + * possible object is + * {@link TRSAKeyValueType } + * + */ + public TRSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value + * allowed object is + * {@link TRSAKeyValueType } + * + */ + public void setRSAKeyValue(TRSAKeyValueType value) { + this.rsaKeyValue = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xSolic">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="8000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xSolic" + }) + public static class InfSolicNFF { + + @XmlElement(required = true) + protected String xSolic; + + /** + * Gets the value of the xSolic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXSolic() { + return xSolic; + } + + /** + * Sets the value of the xSolic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXSolic(String value) { + this.xSolic = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "enderReceb", + "email" + }) + public static class Receb { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReceb; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReceb property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReceb() { + return enderReceb; + } + + /** + * Sets the value of the enderReceb property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReceb(TEndereco value) { + this.enderReceb = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderReme", + "email" + }) + public static class Rem { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReme; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReme property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReme() { + return enderReme; + } + + /** + * Sets the value of the enderReme property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReme(TEndereco value) { + this.enderReme = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vRec", + "comp" + }) + public static class VPrest { + + @XmlElement(name = "vTPrest", required = true) + protected String vtPrest; + @XmlElement(required = true) + protected String vRec; + @XmlElement(name = "Comp") + protected List comp; + + /** + * Gets the value of the vtPrest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeOS.java new file mode 100644 index 0000000..f847587 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeOS.java @@ -0,0 +1,6818 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico Outros Serviços (Modelo 67) + * + *

Java class for TCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="6"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+ *                             <element name="xMunIni" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                             <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+ *                             <element name="xMunFim" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                             <element name="infPercurso" maxOccurs="25" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="IE">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="toma" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vPrest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="infTribFed" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <choice>
+ *                     <element name="infCTeNorm">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="infServico">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="xDescServ">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infQ" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <choice>
+ *                                         <sequence>
+ *                                           <element name="nDoc">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="20"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="serie" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="3"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="subserie" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="3"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                           <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                         </sequence>
+ *                                         <element name="chBPe">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </choice>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="seg" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="respSeg">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="1"/>
+ *                                               <enumeration value="4"/>
+ *                                               <enumeration value="5"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xSeg" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="nApol" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="20"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infModal" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <any processContents='skip'/>
+ *                                       </sequence>
+ *                                       <attribute name="versaoModal" use="required">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </attribute>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infCteSub" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCte">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="refCTeCanc" minOccurs="0">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                               <element name="cobr" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="fat" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nFat" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="60"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nDup" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCTe">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="Comp" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpComp">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                         <enumeration value="4"/>
+ *                                                         <enumeration value="5"/>
+ *                                                         <enumeration value="6"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                   <element name="xComp" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="15"/>
+ *                                                         <minLength value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="infCteComp" maxOccurs="10">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                   </choice>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTeOS", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TCTeOS { + + @XmlElement(required = true) + protected InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="6"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+     *                   <element name="xMunIni" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                   <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+     *                   <element name="xMunFim" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                   <element name="infPercurso" maxOccurs="25" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="IE">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="toma" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vPrest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="infTribFed" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <choice>
+     *           <element name="infCTeNorm">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="infServico">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="xDescServ">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infQ" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <choice>
+     *                               <sequence>
+     *                                 <element name="nDoc">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="20"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="serie" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="3"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="subserie" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="3"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                 <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                               </sequence>
+     *                               <element name="chBPe">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </choice>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="seg" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="respSeg">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="1"/>
+     *                                     <enumeration value="4"/>
+     *                                     <enumeration value="5"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xSeg" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="nApol" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="20"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infModal" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <any processContents='skip'/>
+     *                             </sequence>
+     *                             <attribute name="versaoModal" use="required">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </attribute>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infCteSub" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCte">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="refCTeCanc" minOccurs="0">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                     <element name="cobr" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="fat" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nFat" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="60"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nDup" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCTe">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="Comp" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpComp">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                               <enumeration value="4"/>
+     *                                               <enumeration value="5"/>
+     *                                               <enumeration value="6"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                         <element name="xComp" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="15"/>
+     *                                               <minLength value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="infCteComp" maxOccurs="10">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *         </choice>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "toma", + "vPrest", + "imp", + "infCTeNorm", + "infCteComp", + "autXML", + "infRespTec" + }) + public static class InfCte { + + @XmlElement(required = true) + protected Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected Emit emit; + protected Toma toma; + @XmlElement(required = true) + protected VPrest vPrest; + @XmlElement(required = true) + protected Imp imp; + protected InfCTeNorm infCTeNorm; + protected List infCteComp; + protected List autXML; + protected TRespTec infRespTec; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link Toma } + * + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link Toma } + * + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return + * possible object is + * {@link VPrest } + * + */ + public VPrest getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value + * allowed object is + * {@link VPrest } + * + */ + public void setVPrest(VPrest value) { + this.vPrest = value; + } + + /** + * Gets the value of the imp property. + * + * @return + * possible object is + * {@link Imp } + * + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value + * allowed object is + * {@link Imp } + * + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the infCTeNorm property. + * + * @return + * possible object is + * {@link InfCTeNorm } + * + */ + public InfCTeNorm getInfCTeNorm() { + return infCTeNorm; + } + + /** + * Sets the value of the infCTeNorm property. + * + * @param value + * allowed object is + * {@link InfCTeNorm } + * + */ + public void setInfCTeNorm(InfCTeNorm value) { + this.infCTeNorm = value; + } + + /** + * Gets the value of the infCteComp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infCteComp property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getInfCteComp().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCteComp } + * + * + */ + public List getInfCteComp() { + if (infCteComp == null) { + infCteComp = new ArrayList(); + } + return this.infCteComp; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="IE">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(name = "IE", required = true) + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true) + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="6"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+         *         <element name="xMunIni" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *         <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+         *         <element name="xMunFim" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *         <element name="infPercurso" maxOccurs="25" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "indIEToma", + "cMunIni", + "xMunIni", + "ufIni", + "cMunFim", + "xMunFim", + "ufFim", + "infPercurso", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String procEmi; + @XmlElement(required = true) + protected String verProc; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String indIEToma; + protected String cMunIni; + protected String xMunIni; + @XmlElement(name = "UFIni") + @XmlSchemaType(name = "string") + protected TUf ufIni; + protected String cMunFim; + protected String xMunFim; + @XmlElement(name = "UFFim") + @XmlSchemaType(name = "string") + protected TUf ufFim; + protected List infPercurso; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the cMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the infPercurso property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infPercurso property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfPercurso().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfPercurso } + * + * + */ + public List getInfPercurso() { + if (infPercurso == null) { + infPercurso = new ArrayList(); + } + return this.infPercurso; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ufPer" + }) + public static class InfPercurso { + + @XmlElement(name = "UFPer", required = true) + @XmlSchemaType(name = "string") + protected TUf ufPer; + + /** + * Gets the value of the ufPer property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFPer() { + return ufPer; + } + + /** + * Sets the value of the ufPer property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFPer(TUf value) { + this.ufPer = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infTribFed" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim", + "infTribFed" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true) + protected TImpOS icms; + protected String vTotTrib; + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim") + protected ICMSUFFim icmsufFim; + protected InfTribFed infTribFed; + + /** + * Gets the value of the icms property. + * + * @return + * possible object is + * {@link TImpOS } + * + */ + public TImpOS getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value + * allowed object is + * {@link TImpOS } + * + */ + public void setICMS(TImpOS value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return + * possible object is + * {@link ICMSUFFim } + * + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value + * allowed object is + * {@link ICMSUFFim } + * + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + /** + * Gets the value of the infTribFed property. + * + * @return + * possible object is + * {@link InfTribFed } + * + */ + public InfTribFed getInfTribFed() { + return infTribFed; + } + + /** + * Sets the value of the infTribFed property. + * + * @param value + * allowed object is + * {@link InfTribFed } + * + */ + public void setInfTribFed(InfTribFed value) { + this.infTribFed = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true) + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true) + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true) + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true) + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true) + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true) + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true) + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vpis", + "vcofins", + "vir", + "vinss", + "vcsll" + }) + public static class InfTribFed { + + @XmlElement(name = "vPIS") + protected String vpis; + @XmlElement(name = "vCOFINS") + protected String vcofins; + @XmlElement(name = "vIR") + protected String vir; + @XmlElement(name = "vINSS") + protected String vinss; + @XmlElement(name = "vCSLL") + protected String vcsll; + + /** + * Gets the value of the vpis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Sets the value of the vpis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + /** + * Gets the value of the vcofins property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Sets the value of the vcofins property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + /** + * Gets the value of the vir property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIR() { + return vir; + } + + /** + * Sets the value of the vir property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIR(String value) { + this.vir = value; + } + + /** + * Gets the value of the vinss property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVINSS() { + return vinss; + } + + /** + * Sets the value of the vinss property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVINSS(String value) { + this.vinss = value; + } + + /** + * Gets the value of the vcsll property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCSLL() { + return vcsll; + } + + /** + * Sets the value of the vcsll property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCSLL(String value) { + this.vcsll = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class InfCteComp { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infServico">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xDescServ">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="infQ" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <choice>
+         *                   <sequence>
+         *                     <element name="nDoc">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="20"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="serie" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="subserie" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                     <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   </sequence>
+         *                   <element name="chBPe">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </choice>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="seg" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="respSeg">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <minLength value="1"/>
+         *                         <maxLength value="1"/>
+         *                         <enumeration value="4"/>
+         *                         <enumeration value="5"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xSeg" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nApol" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="20"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infModal" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <any processContents='skip'/>
+         *                 </sequence>
+         *                 <attribute name="versaoModal" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                       <whiteSpace value="preserve"/>
+         *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infCteSub" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCte">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="refCTeCanc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cobr" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="fat" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nFat" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDup" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCTe">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="Comp" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="tpComp">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="1"/>
+         *                                   <enumeration value="2"/>
+         *                                   <enumeration value="3"/>
+         *                                   <enumeration value="4"/>
+         *                                   <enumeration value="5"/>
+         *                                   <enumeration value="6"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                             <element name="xComp" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="15"/>
+         *                                   <minLength value="0"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infServico", + "infDocRef", + "seg", + "infModal", + "infCteSub", + "refCTeCanc", + "cobr", + "infGTVe" + }) + public static class InfCTeNorm { + + @XmlElement(required = true) + protected InfServico infServico; + protected List infDocRef; + protected List seg; + protected InfModal infModal; + protected InfCteSub infCteSub; + protected String refCTeCanc; + protected Cobr cobr; + protected List infGTVe; + + /** + * Gets the value of the infServico property. + * + * @return + * possible object is + * {@link InfServico } + * + */ + public InfServico getInfServico() { + return infServico; + } + + /** + * Sets the value of the infServico property. + * + * @param value + * allowed object is + * {@link InfServico } + * + */ + public void setInfServico(InfServico value) { + this.infServico = value; + } + + /** + * Gets the value of the infDocRef property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infDocRef property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfDocRef().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfDocRef } + * + * + */ + public List getInfDocRef() { + if (infDocRef == null) { + infDocRef = new ArrayList(); + } + return this.infDocRef; + } + + /** + * Gets the value of the seg property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the seg property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getSeg().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Seg } + * + * + */ + public List getSeg() { + if (seg == null) { + seg = new ArrayList(); + } + return this.seg; + } + + /** + * Gets the value of the infModal property. + * + * @return + * possible object is + * {@link InfModal } + * + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value + * allowed object is + * {@link InfModal } + * + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return + * possible object is + * {@link InfCteSub } + * + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value + * allowed object is + * {@link InfCteSub } + * + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the refCTeCanc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefCTeCanc() { + return refCTeCanc; + } + + /** + * Sets the value of the refCTeCanc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefCTeCanc(String value) { + this.refCTeCanc = value; + } + + /** + * Gets the value of the cobr property. + * + * @return + * possible object is + * {@link Cobr } + * + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value + * allowed object is + * {@link Cobr } + * + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infGTVe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infGTVe property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfGTVe().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfGTVe } + * + * + */ + public List getInfGTVe() { + if (infGTVe == null) { + infGTVe = new ArrayList(); + } + return this.infGTVe; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="fat" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nFat" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDup" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return + * possible object is + * {@link Fat } + * + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value + * allowed object is + * {@link Fat } + * + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDup().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + * + * + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nDup" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nFat" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCte">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte" + }) + public static class InfCteSub { + + @XmlElement(required = true) + protected String chCte; + + /** + * Gets the value of the chCte property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCte(String value) { + this.chCte = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <choice>
+             *         <sequence>
+             *           <element name="nDoc">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="20"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="serie" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="3"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="subserie" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="3"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *           <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         </sequence>
+             *         <element name="chBPe">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </choice>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDoc", + "serie", + "subserie", + "dEmi", + "vDoc", + "chBPe" + }) + public static class InfDocRef { + + protected String nDoc; + protected String serie; + protected String subserie; + protected String dEmi; + protected String vDoc; + protected String chBPe; + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the subserie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubserie() { + return subserie; + } + + /** + * Sets the value of the subserie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubserie(String value) { + this.subserie = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDoc() { + return vDoc; + } + + /** + * Sets the value of the vDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDoc(String value) { + this.vDoc = value; + } + + /** + * Gets the value of the chBPe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChBPe() { + return chBPe; + } + + /** + * Sets the value of the chBPe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChBPe(String value) { + this.chBPe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCTe">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="Comp" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="tpComp">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="1"/>
+             *                         <enumeration value="2"/>
+             *                         <enumeration value="3"/>
+             *                         <enumeration value="4"/>
+             *                         <enumeration value="5"/>
+             *                         <enumeration value="6"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                   <element name="xComp" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="15"/>
+             *                         <minLength value="0"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe", + "comp" + }) + public static class InfGTVe { + + @XmlElement(required = true) + protected String chCTe; + @XmlElement(name = "Comp", required = true) + protected List comp; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getComp().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpComp">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *               <enumeration value="4"/>
+                 *               <enumeration value="5"/>
+                 *               <enumeration value="6"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="xComp" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="15"/>
+                 *               <minLength value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpComp", + "vComp", + "xComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String tpComp; + @XmlElement(required = true) + protected String vComp; + protected String xComp; + + /** + * Gets the value of the tpComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpComp() { + return tpComp; + } + + /** + * Sets the value of the tpComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpComp(String value) { + this.tpComp = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + /** + * Gets the value of the xComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXComp() { + return xComp; + } + + /** + * Sets the value of the xComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXComp(String value) { + this.xComp = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <any processContents='skip'/>
+             *       </sequence>
+             *       <attribute name="versaoModal" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *             <whiteSpace value="preserve"/>
+             *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xDescServ">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infQ" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xDescServ", + "infQ" + }) + public static class InfServico { + + @XmlElement(required = true) + protected String xDescServ; + protected InfQ infQ; + + /** + * Gets the value of the xDescServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDescServ() { + return xDescServ; + } + + /** + * Sets the value of the xDescServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDescServ(String value) { + this.xDescServ = value; + } + + /** + * Gets the value of the infQ property. + * + * @return + * possible object is + * {@link InfQ } + * + */ + public InfQ getInfQ() { + return infQ; + } + + /** + * Sets the value of the infQ property. + * + * @param value + * allowed object is + * {@link InfQ } + * + */ + public void setInfQ(InfQ value) { + this.infQ = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true) + protected String qCarga; + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="respSeg">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <minLength value="1"/>
+             *               <maxLength value="1"/>
+             *               <enumeration value="4"/>
+             *               <enumeration value="5"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xSeg" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nApol" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="20"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "respSeg", + "xSeg", + "nApol" + }) + public static class Seg { + + @XmlElement(required = true) + protected String respSeg; + protected String xSeg; + protected String nApol; + + /** + * Gets the value of the respSeg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRespSeg() { + return respSeg; + } + + /** + * Sets the value of the respSeg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRespSeg(String value) { + this.respSeg = value; + } + + /** + * Gets the value of the xSeg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXSeg() { + return xSeg; + } + + /** + * Sets the value of the xSeg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXSeg(String value) { + this.xSeg = value; + } + + /** + * Gets the value of the nApol property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNApol() { + return nApol; + } + + /** + * Sets the value of the nApol property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNApol(String value) { + this.nApol = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class Toma { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vRec", + "comp" + }) + public static class VPrest { + + @XmlElement(name = "vTPrest", required = true) + protected String vtPrest; + @XmlElement(required = true) + protected String vRec; + @XmlElement(name = "Comp") + protected List comp; + + /** + * Gets the value of the vtPrest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeSimp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeSimp.java new file mode 100644 index 0000000..9cdcf77 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TCTeSimp.java @@ -0,0 +1,6519 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico (Modelo 57) - Modelo Simplificado + * + *

Java class for TCTeSimp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTeSimp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="retira">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xDetRetira" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="160"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fluxo" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xOrig" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="pass" maxOccurs="unbounded" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xPass" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="15"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="xDest" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xRota" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="10"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="toma">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="toma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infCarga">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="proPred">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xOutCat" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="infQ" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="cUnid">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="00"/>
+ *                                             <enumeration value="01"/>
+ *                                             <enumeration value="02"/>
+ *                                             <enumeration value="03"/>
+ *                                             <enumeration value="04"/>
+ *                                             <enumeration value="05"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="tpMed">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="2"/>
+ *                                             <enumeration value="00"/>
+ *                                             <enumeration value="01"/>
+ *                                             <enumeration value="02"/>
+ *                                             <enumeration value="03"/>
+ *                                             <enumeration value="04"/>
+ *                                             <enumeration value="05"/>
+ *                                             <enumeration value="06"/>
+ *                                             <enumeration value="07"/>
+ *                                             <enumeration value="08"/>
+ *                                             <enumeration value="09"/>
+ *                                             <enumeration value="10"/>
+ *                                             <enumeration value="11"/>
+ *                                             <enumeration value="12"/>
+ *                                             <enumeration value="13"/>
+ *                                             <enumeration value="14"/>
+ *                                             <enumeration value="15"/>
+ *                                             <enumeration value="99"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="det" maxOccurs="999">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <sequence>
+ *                               <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                               <element name="xMunIni">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="2"/>
+ *                                     <maxLength value="60"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <sequence>
+ *                               <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                               <element name="xMunFim">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="2"/>
+ *                                     <maxLength value="60"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="infNFe" maxOccurs="unbounded">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                         <element name="PIN" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <minLength value="2"/>
+ *                                               <maxLength value="9"/>
+ *                                               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                         <choice>
+ *                                           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                         </choice>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDocAnt" maxOccurs="unbounded">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                         <element name="tpPrest">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="1"/>
+ *                                               <enumeration value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                           </sequence>
+ *                           <attribute name="nItem" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infModal">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <any processContents='skip'/>
+ *                           </sequence>
+ *                           <attribute name="versaoModal" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="cobr" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="fat" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nFat" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nDup" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                       <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infCteSub" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="chCte">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <pattern value="[0-9]{44}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indAlteraToma" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="total">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                   <element name="infSolicNFF" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xSolic">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infPAA" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="PAASignature">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *                                       <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTeSimp", namespace = "http://www.portalfiscal.inf.br/cte", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +@XmlRootElement(name = "CTeSimp", namespace = "http://www.portalfiscal.inf.br/cte") +public class TCTeSimp { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte", required = true) + protected InfCte infCte; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the infCte property. + * + * @return possible object is + * {@link InfCte } + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value allowed object is + * {@link InfCte } + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return possible object is + * {@link InfCTeSupl } + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value allowed object is + * {@link InfCTeSupl } + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return possible object is + * {@link SignatureType } + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value allowed object is + * {@link SignatureType } + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="retira">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xDetRetira" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="160"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fluxo" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xOrig" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="pass" maxOccurs="unbounded" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xPass" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="15"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="xDest" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xRota" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="10"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="toma">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="toma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infCarga">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="proPred">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xOutCat" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="infQ" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="cUnid">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="00"/>
+     *                                   <enumeration value="01"/>
+     *                                   <enumeration value="02"/>
+     *                                   <enumeration value="03"/>
+     *                                   <enumeration value="04"/>
+     *                                   <enumeration value="05"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="tpMed">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="2"/>
+     *                                   <enumeration value="00"/>
+     *                                   <enumeration value="01"/>
+     *                                   <enumeration value="02"/>
+     *                                   <enumeration value="03"/>
+     *                                   <enumeration value="04"/>
+     *                                   <enumeration value="05"/>
+     *                                   <enumeration value="06"/>
+     *                                   <enumeration value="07"/>
+     *                                   <enumeration value="08"/>
+     *                                   <enumeration value="09"/>
+     *                                   <enumeration value="10"/>
+     *                                   <enumeration value="11"/>
+     *                                   <enumeration value="12"/>
+     *                                   <enumeration value="13"/>
+     *                                   <enumeration value="14"/>
+     *                                   <enumeration value="15"/>
+     *                                   <enumeration value="99"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="det" maxOccurs="999">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <sequence>
+     *                     <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                     <element name="xMunIni">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="2"/>
+     *                           <maxLength value="60"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <sequence>
+     *                     <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                     <element name="xMunFim">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="2"/>
+     *                           <maxLength value="60"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="infNFe" maxOccurs="unbounded">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                               <element name="PIN" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <minLength value="2"/>
+     *                                     <maxLength value="9"/>
+     *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                               <choice>
+     *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                               </choice>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDocAnt" maxOccurs="unbounded">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                               <element name="tpPrest">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="1"/>
+     *                                     <enumeration value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                 </sequence>
+     *                 <attribute name="nItem" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infModal">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <any processContents='skip'/>
+     *                 </sequence>
+     *                 <attribute name="versaoModal" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="cobr" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="fat" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nFat" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nDup" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infCteSub" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="chCte">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <pattern value="[0-9]{44}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indAlteraToma" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="total">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *         <element name="infSolicNFF" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xSolic">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infPAA" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="PAASignature">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+     *                             <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "toma", + "infCarga", + "det", + "infModal", + "cobr", + "infCteSub", + "imp", + "total", + "autXML", + "infRespTec", + "infSolicNFF", + "infPAA" + }) + public static class InfCte { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected Emit emit; + @XmlElement(required = true) + protected Toma toma; + @XmlElement(required = true) + protected InfCarga infCarga; + @XmlElement(required = true) + protected List det; + @XmlElement(required = true) + protected InfModal infModal; + protected Cobr cobr; + protected InfCteSub infCteSub; + @XmlElement(required = true) + protected Imp imp; + @XmlElement(required = true) + protected Total total; + protected List autXML; + protected TRespTec infRespTec; + protected InfSolicNFF infSolicNFF; + protected InfPAA infPAA; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return possible object is + * {@link Ide } + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value allowed object is + * {@link Ide } + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return possible object is + * {@link Compl } + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value allowed object is + * {@link Compl } + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return possible object is + * {@link Emit } + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value allowed object is + * {@link Emit } + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the toma property. + * + * @return possible object is + * {@link Toma } + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value allowed object is + * {@link Toma } + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the infCarga property. + * + * @return possible object is + * {@link InfCarga } + */ + public InfCarga getInfCarga() { + return infCarga; + } + + /** + * Sets the value of the infCarga property. + * + * @param value allowed object is + * {@link InfCarga } + */ + public void setInfCarga(InfCarga value) { + this.infCarga = value; + } + + /** + * Gets the value of the det property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the det property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDet().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Det } + */ + public List getDet() { + if (det == null) { + det = new ArrayList(); + } + return this.det; + } + + /** + * Gets the value of the infModal property. + * + * @return possible object is + * {@link InfModal } + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value allowed object is + * {@link InfModal } + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the cobr property. + * + * @return possible object is + * {@link Cobr } + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value allowed object is + * {@link Cobr } + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return possible object is + * {@link InfCteSub } + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value allowed object is + * {@link InfCteSub } + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the imp property. + * + * @return possible object is + * {@link Imp } + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value allowed object is + * {@link Imp } + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the total property. + * + * @return possible object is + * {@link Total } + */ + public Total getTotal() { + return total; + } + + /** + * Sets the value of the total property. + * + * @param value allowed object is + * {@link Total } + */ + public void setTotal(Total value) { + this.total = value; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return possible object is + * {@link TRespTec } + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value allowed object is + * {@link TRespTec } + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the infSolicNFF property. + * + * @return possible object is + * {@link InfSolicNFF } + */ + public InfSolicNFF getInfSolicNFF() { + return infSolicNFF; + } + + /** + * Sets the value of the infSolicNFF property. + * + * @param value allowed object is + * {@link InfSolicNFF } + */ + public void setInfSolicNFF(InfSolicNFF value) { + this.infSolicNFF = value; + } + + /** + * Gets the value of the infPAA property. + * + * @return possible object is + * {@link InfPAA } + */ + public InfPAA getInfPAA() { + return infPAA; + } + + /** + * Sets the value of the infPAA property. + * + * @param value allowed object is + * {@link InfPAA } + */ + public void setInfPAA(InfPAA value) { + this.infPAA = value; + } + + /** + * Gets the value of the versao property. + * + * @return possible object is + * {@link String } + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value allowed object is + * {@link String } + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return possible object is + * {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is + * {@link String } + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="fat" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nFat" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nDup" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return possible object is + * {@link Fat } + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value allowed object is + * {@link Fat } + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDup().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="nDup" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return possible object is + * {@link String } + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value allowed object is + * {@link String } + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return possible object is + * {@link String } + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value allowed object is + * {@link String } + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return possible object is + * {@link String } + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value allowed object is + * {@link String } + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="nFat" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return possible object is + * {@link String } + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value allowed object is + * {@link String } + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return possible object is + * {@link String } + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value allowed object is + * {@link String } + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return possible object is + * {@link String } + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value allowed object is + * {@link String } + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return possible object is + * {@link String } + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value allowed object is + * {@link String } + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fluxo" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xOrig" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="pass" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xPass" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="15"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="xDest" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xRota" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="10"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "fluxo", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected Fluxo fluxo; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return possible object is + * {@link String } + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return possible object is + * {@link String } + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the fluxo property. + * + * @return possible object is + * {@link Fluxo } + */ + public Fluxo getFluxo() { + return fluxo; + } + + /** + * Sets the value of the fluxo property. + * + * @param value allowed object is + * {@link Fluxo } + */ + public void setFluxo(Fluxo value) { + this.fluxo = value; + } + + /** + * Gets the value of the xObs property. + * + * @return possible object is + * {@link String } + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value allowed object is + * {@link String } + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xOrig" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="pass" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xPass" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="15"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="xDest" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xRota" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="10"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xOrig", + "pass", + "xDest", + "xRota" + }) + public static class Fluxo { + + protected String xOrig; + protected List pass; + protected String xDest; + protected String xRota; + + /** + * Gets the value of the xOrig property. + * + * @return possible object is + * {@link String } + */ + public String getXOrig() { + return xOrig; + } + + /** + * Sets the value of the xOrig property. + * + * @param value allowed object is + * {@link String } + */ + public void setXOrig(String value) { + this.xOrig = value; + } + + /** + * Gets the value of the pass property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the pass property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getPass().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Pass } + */ + public List getPass() { + if (pass == null) { + pass = new ArrayList(); + } + return this.pass; + } + + /** + * Gets the value of the xDest property. + * + * @return possible object is + * {@link String } + */ + public String getXDest() { + return xDest; + } + + /** + * Sets the value of the xDest property. + * + * @param value allowed object is + * {@link String } + */ + public void setXDest(String value) { + this.xDest = value; + } + + /** + * Gets the value of the xRota property. + * + * @return possible object is + * {@link String } + */ + public String getXRota() { + return xRota; + } + + /** + * Sets the value of the xRota property. + * + * @param value allowed object is + * {@link String } + */ + public void setXRota(String value) { + this.xRota = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="xPass" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xPass" + }) + public static class Pass { + + protected String xPass; + + /** + * Gets the value of the xPass property. + * + * @return possible object is + * {@link String } + */ + public String getXPass() { + return xPass; + } + + /** + * Sets the value of the xPass property. + * + * @param value allowed object is + * {@link String } + */ + public void setXPass(String value) { + this.xPass = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return possible object is + * {@link String } + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value allowed object is + * {@link String } + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return possible object is + * {@link String } + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return possible object is + * {@link String } + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value allowed object is + * {@link String } + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return possible object is + * {@link String } + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <sequence>
+         *           <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *           <element name="xMunIni">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="2"/>
+         *                 <maxLength value="60"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <sequence>
+         *           <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *           <element name="xMunFim">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="2"/>
+         *                 <maxLength value="60"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <choice>
+         *           <element name="infNFe" maxOccurs="unbounded">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                     <element name="PIN" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <minLength value="2"/>
+         *                           <maxLength value="9"/>
+         *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                     <choice>
+         *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                     </choice>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="infDocAnt" maxOccurs="unbounded">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                     <element name="tpPrest">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="1"/>
+         *                           <enumeration value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *       </sequence>
+         *       <attribute name="nItem" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMunIni", + "xMunIni", + "cMunFim", + "xMunFim", + "vPrest", + "vRec", + "comp", + "infNFe", + "infDocAnt" + }) + public static class Det { + + @XmlElement(required = true) + protected String cMunIni; + @XmlElement(required = true) + protected String xMunIni; + @XmlElement(required = true) + protected String cMunFim; + @XmlElement(required = true) + protected String xMunFim; + @XmlElement(required = true) + protected String vPrest; + @XmlElement(required = true) + protected String vRec; + @XmlElement(name = "Comp") + protected List comp; + protected List infNFe; + protected List infDocAnt; + @XmlAttribute(name = "nItem", required = true) + protected String nItem; + + /** + * Gets the value of the cMunIni property. + * + * @return possible object is + * {@link String } + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return possible object is + * {@link String } + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return possible object is + * {@link String } + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return possible object is + * {@link String } + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return possible object is + * {@link String } + */ + public String getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setVPrest(String value) { + this.vPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return possible object is + * {@link String } + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value allowed object is + * {@link String } + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + /** + * Gets the value of the infNFe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfNFe().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFe } + */ + public List getInfNFe() { + if (infNFe == null) { + infNFe = new ArrayList(); + } + return this.infNFe; + } + + /** + * Gets the value of the infDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfDocAnt().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfDocAnt } + */ + public List getInfDocAnt() { + if (infDocAnt == null) { + infDocAnt = new ArrayList(); + } + return this.infDocAnt; + } + + /** + * Gets the value of the nItem property. + * + * @return possible object is + * {@link String } + */ + public String getNItem() { + return nItem; + } + + /** + * Sets the value of the nItem property. + * + * @param value allowed object is + * {@link String } + */ + public void setNItem(String value) { + this.nItem = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return possible object is + * {@link String } + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value allowed object is + * {@link String } + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *         <element name="tpPrest">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe", + "tpPrest", + "infNFeTranspParcial" + }) + public static class InfDocAnt { + + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String tpPrest; + protected List infNFeTranspParcial; + + /** + * Gets the value of the chCTe property. + * + * @return possible object is + * {@link String } + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the tpPrest property. + * + * @return possible object is + * {@link String } + */ + public String getTpPrest() { + return tpPrest; + } + + /** + * Sets the value of the tpPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpPrest(String value) { + this.tpPrest = value; + } + + /** + * Gets the value of the infNFeTranspParcial property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infNFeTranspParcial property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNFeTranspParcial().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFeTranspParcial } + */ + public List getInfNFeTranspParcial() { + if (infNFeTranspParcial == null) { + infNFeTranspParcial = new ArrayList(); + } + return this.infNFeTranspParcial; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chNFe" + }) + public static class InfNFeTranspParcial { + + @XmlElement(required = true) + protected String chNFe; + + /** + * Gets the value of the chNFe property. + * + * @return possible object is + * {@link String } + */ + public String getChNFe() { + return chNFe; + } + + /** + * Sets the value of the chNFe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *         <element name="PIN" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <minLength value="2"/>
+             *               <maxLength value="9"/>
+             *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *         <choice>
+             *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chNFe", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNFe { + + @XmlElement(required = true) + protected String chNFe; + @XmlElement(name = "PIN") + protected String pin; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the chNFe property. + * + * @return possible object is + * {@link String } + */ + public String getChNFe() { + return chNFe; + } + + /** + * Sets the value of the chNFe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Gets the value of the pin property. + * + * @return possible object is + * {@link String } + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value allowed object is + * {@link String } + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return possible object is + * {@link String } + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value allowed object is + * {@link String } + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfUnidCarga().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfUnidTransp().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true) + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return possible object is + * {@link String } + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value allowed object is + * {@link String } + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return possible object is + * {@link String } + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value allowed object is + * {@link String } + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return possible object is + * {@link String } + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value allowed object is + * {@link String } + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return possible object is + * {@link TEndeEmi } + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value allowed object is + * {@link TEndeEmi } + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return possible object is + * {@link String } + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value allowed object is + * {@link String } + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="retira">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xDetRetira" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="160"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "ufIni", + "ufFim", + "retira", + "xDetRetira", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cuf; + @XmlElement(name = "cCT", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String procEmi; + @XmlElement(required = true) + protected String verProc; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(name = "UFIni", required = true) + @XmlSchemaType(name = "string") + protected TUf ufIni; + @XmlElement(name = "UFFim", required = true) + @XmlSchemaType(name = "string") + protected TUf ufFim; + @XmlElement(required = true) + protected String retira; + protected String xDetRetira; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return possible object is + * {@link String } + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return possible object is + * {@link String } + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value allowed object is + * {@link String } + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return possible object is + * {@link String } + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value allowed object is + * {@link String } + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return possible object is + * {@link String } + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value allowed object is + * {@link String } + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return possible object is + * {@link String } + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value allowed object is + * {@link String } + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return possible object is + * {@link String } + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value allowed object is + * {@link String } + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return possible object is + * {@link String } + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value allowed object is + * {@link String } + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return possible object is + * {@link String } + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value allowed object is + * {@link String } + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return possible object is + * {@link String } + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return possible object is + * {@link String } + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return possible object is + * {@link String } + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value allowed object is + * {@link String } + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return possible object is + * {@link String } + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return possible object is + * {@link String } + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return possible object is + * {@link String } + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value allowed object is + * {@link String } + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return possible object is + * {@link String } + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value allowed object is + * {@link String } + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return possible object is + * {@link String } + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return possible object is + * {@link String } + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return possible object is + * {@link String } + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value allowed object is + * {@link String } + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return possible object is + * {@link String } + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the retira property. + * + * @return possible object is + * {@link String } + */ + public String getRetira() { + return retira; + } + + /** + * Sets the value of the retira property. + * + * @param value allowed object is + * {@link String } + */ + public void setRetira(String value) { + this.retira = value; + } + + /** + * Gets the value of the xDetRetira property. + * + * @return possible object is + * {@link String } + */ + public String getXDetRetira() { + return xDetRetira; + } + + /** + * Sets the value of the xDetRetira property. + * + * @param value allowed object is + * {@link String } + */ + public void setXDetRetira(String value) { + this.xDetRetira = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return possible object is + * {@link String } + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value allowed object is + * {@link String } + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return possible object is + * {@link String } + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value allowed object is + * {@link String } + */ + public void setXJust(String value) { + this.xJust = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true) + protected TImp icms; + protected String vTotTrib; + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim") + protected ICMSUFFim icmsufFim; + + /** + * Gets the value of the icms property. + * + * @return possible object is + * {@link TImp } + */ + public TImp getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value allowed object is + * {@link TImp } + */ + public void setICMS(TImp value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return possible object is + * {@link String } + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return possible object is + * {@link String } + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value allowed object is + * {@link String } + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return possible object is + * {@link ICMSUFFim } + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value allowed object is + * {@link ICMSUFFim } + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true) + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true) + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true) + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true) + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true) + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true) + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true) + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return possible object is + * {@link String } + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return possible object is + * {@link String } + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return possible object is + * {@link String } + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value allowed object is + * {@link String } + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return possible object is + * {@link String } + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="proPred">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xOutCat" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="infQ" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="cUnid">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="00"/>
+         *                         <enumeration value="01"/>
+         *                         <enumeration value="02"/>
+         *                         <enumeration value="03"/>
+         *                         <enumeration value="04"/>
+         *                         <enumeration value="05"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="tpMed">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="2"/>
+         *                         <enumeration value="00"/>
+         *                         <enumeration value="01"/>
+         *                         <enumeration value="02"/>
+         *                         <enumeration value="03"/>
+         *                         <enumeration value="04"/>
+         *                         <enumeration value="05"/>
+         *                         <enumeration value="06"/>
+         *                         <enumeration value="07"/>
+         *                         <enumeration value="08"/>
+         *                         <enumeration value="09"/>
+         *                         <enumeration value="10"/>
+         *                         <enumeration value="11"/>
+         *                         <enumeration value="12"/>
+         *                         <enumeration value="13"/>
+         *                         <enumeration value="14"/>
+         *                         <enumeration value="15"/>
+         *                         <enumeration value="99"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vCarga", + "proPred", + "xOutCat", + "infQ", + "vCargaAverb" + }) + public static class InfCarga { + + @XmlElement(required = true) + protected String vCarga; + @XmlElement(required = true) + protected String proPred; + protected String xOutCat; + @XmlElement(required = true) + protected List infQ; + protected String vCargaAverb; + + /** + * Gets the value of the vCarga property. + * + * @return possible object is + * {@link String } + */ + public String getVCarga() { + return vCarga; + } + + /** + * Sets the value of the vCarga property. + * + * @param value allowed object is + * {@link String } + */ + public void setVCarga(String value) { + this.vCarga = value; + } + + /** + * Gets the value of the proPred property. + * + * @return possible object is + * {@link String } + */ + public String getProPred() { + return proPred; + } + + /** + * Sets the value of the proPred property. + * + * @param value allowed object is + * {@link String } + */ + public void setProPred(String value) { + this.proPred = value; + } + + /** + * Gets the value of the xOutCat property. + * + * @return possible object is + * {@link String } + */ + public String getXOutCat() { + return xOutCat; + } + + /** + * Sets the value of the xOutCat property. + * + * @param value allowed object is + * {@link String } + */ + public void setXOutCat(String value) { + this.xOutCat = value; + } + + /** + * Gets the value of the infQ property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infQ property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfQ().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfQ } + */ + public List getInfQ() { + if (infQ == null) { + infQ = new ArrayList(); + } + return this.infQ; + } + + /** + * Gets the value of the vCargaAverb property. + * + * @return possible object is + * {@link String } + */ + public String getVCargaAverb() { + return vCargaAverb; + } + + /** + * Sets the value of the vCargaAverb property. + * + * @param value allowed object is + * {@link String } + */ + public void setVCargaAverb(String value) { + this.vCargaAverb = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="cUnid">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="00"/>
+             *               <enumeration value="01"/>
+             *               <enumeration value="02"/>
+             *               <enumeration value="03"/>
+             *               <enumeration value="04"/>
+             *               <enumeration value="05"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="tpMed">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="2"/>
+             *               <enumeration value="00"/>
+             *               <enumeration value="01"/>
+             *               <enumeration value="02"/>
+             *               <enumeration value="03"/>
+             *               <enumeration value="04"/>
+             *               <enumeration value="05"/>
+             *               <enumeration value="06"/>
+             *               <enumeration value="07"/>
+             *               <enumeration value="08"/>
+             *               <enumeration value="09"/>
+             *               <enumeration value="10"/>
+             *               <enumeration value="11"/>
+             *               <enumeration value="12"/>
+             *               <enumeration value="13"/>
+             *               <enumeration value="14"/>
+             *               <enumeration value="15"/>
+             *               <enumeration value="99"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cUnid", + "tpMed", + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true) + protected String cUnid; + @XmlElement(required = true) + protected String tpMed; + @XmlElement(required = true) + protected String qCarga; + + /** + * Gets the value of the cUnid property. + * + * @return possible object is + * {@link String } + */ + public String getCUnid() { + return cUnid; + } + + /** + * Sets the value of the cUnid property. + * + * @param value allowed object is + * {@link String } + */ + public void setCUnid(String value) { + this.cUnid = value; + } + + /** + * Gets the value of the tpMed property. + * + * @return possible object is + * {@link String } + */ + public String getTpMed() { + return tpMed; + } + + /** + * Sets the value of the tpMed property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpMed(String value) { + this.tpMed = value; + } + + /** + * Gets the value of the qCarga property. + * + * @return possible object is + * {@link String } + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value allowed object is + * {@link String } + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCte">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <pattern value="[0-9]{44}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indAlteraToma" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte", + "indAlteraToma" + }) + public static class InfCteSub { + + @XmlElement(required = true) + protected String chCte; + protected String indAlteraToma; + + /** + * Gets the value of the chCte property. + * + * @return possible object is + * {@link String } + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value allowed object is + * {@link String } + */ + public void setChCte(String value) { + this.chCte = value; + } + + /** + * Gets the value of the indAlteraToma property. + * + * @return possible object is + * {@link String } + */ + public String getIndAlteraToma() { + return indAlteraToma; + } + + /** + * Sets the value of the indAlteraToma property. + * + * @param value allowed object is + * {@link String } + */ + public void setIndAlteraToma(String value) { + this.indAlteraToma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <any processContents='skip'/>
+         *       </sequence>
+         *       <attribute name="versaoModal" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return possible object is + * {@link Element } + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value allowed object is + * {@link Element } + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return possible object is + * {@link String } + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value allowed object is + * {@link String } + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="PAASignature">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+         *                   <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpjpaa", + "paaSignature" + }) + public static class InfPAA { + + @XmlElement(name = "CNPJPAA", required = true) + protected String cnpjpaa; + @XmlElement(name = "PAASignature", required = true) + protected PAASignature paaSignature; + + /** + * Gets the value of the cnpjpaa property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJPAA() { + return cnpjpaa; + } + + /** + * Sets the value of the cnpjpaa property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJPAA(String value) { + this.cnpjpaa = value; + } + + /** + * Gets the value of the paaSignature property. + * + * @return possible object is + * {@link PAASignature } + */ + public PAASignature getPAASignature() { + return paaSignature; + } + + /** + * Sets the value of the paaSignature property. + * + * @param value allowed object is + * {@link PAASignature } + */ + public void setPAASignature(PAASignature value) { + this.paaSignature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+             *         <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "signatureValue", + "rsaKeyValue" + }) + public static class PAASignature { + + @XmlElement(name = "SignatureValue", required = true) + protected byte[] signatureValue; + @XmlElement(name = "RSAKeyValue", required = true) + protected TRSAKeyValueType rsaKeyValue; + + /** + * Gets the value of the signatureValue property. + * + * @return possible object is + * byte[] + */ + public byte[] getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value allowed object is + * byte[] + */ + public void setSignatureValue(byte[] value) { + this.signatureValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return possible object is + * {@link TRSAKeyValueType } + */ + public TRSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value allowed object is + * {@link TRSAKeyValueType } + */ + public void setRSAKeyValue(TRSAKeyValueType value) { + this.rsaKeyValue = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xSolic">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xSolic" + }) + public static class InfSolicNFF { + + @XmlElement(required = true) + protected String xSolic; + + /** + * Gets the value of the xSolic property. + * + * @return possible object is + * {@link String } + */ + public String getXSolic() { + return xSolic; + } + + /** + * Sets the value of the xSolic property. + * + * @param value allowed object is + * {@link String } + */ + public void setXSolic(String value) { + this.xSolic = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="toma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "indIEToma", + "cnpj", + "cpf", + "ie", + "xNome", + "isuf", + "fone", + "enderToma", + "email" + }) + public static class Toma { + + @XmlElement(required = true) + protected String toma; + @XmlElement(required = true) + protected String indIEToma; + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + @XmlElement(name = "ISUF") + protected String isuf; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the toma property. + * + * @return possible object is + * {@link String } + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value allowed object is + * {@link String } + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return possible object is + * {@link String } + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value allowed object is + * {@link String } + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return possible object is + * {@link String } + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value allowed object is + * {@link String } + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the isuf property. + * + * @return possible object is + * {@link String } + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value allowed object is + * {@link String } + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the fone property. + * + * @return possible object is + * {@link String } + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value allowed object is + * {@link String } + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return possible object is + * {@link TEndereco } + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value allowed object is + * {@link TEndereco } + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return possible object is + * {@link String } + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value allowed object is + * {@link String } + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vtRec" + }) + public static class Total { + + @XmlElement(name = "vTPrest", required = true) + protected String vtPrest; + @XmlElement(name = "vTRec", required = true) + protected String vtRec; + + /** + * Gets the value of the vtPrest property. + * + * @return possible object is + * {@link String } + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vtRec property. + * + * @return possible object is + * {@link String } + */ + public String getVTRec() { + return vtRec; + } + + /** + * Sets the value of the vtRec property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTRec(String value) { + this.vtRec = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return possible object is + * {@link String } + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndOrg.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndOrg.java new file mode 100644 index 0000000..dc711ec --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndOrg.java @@ -0,0 +1,396 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndOrg complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndOrg">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndOrg", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "cPais", + "xPais", + "fone" +}) +public class TEndOrg { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + protected String cPais; + protected String xPais; + protected String fone; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the cPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Sets the value of the cPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Gets the value of the xPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Sets the value of the xPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndReEnt.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndReEnt.java new file mode 100644 index 0000000..1a32188 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndReEnt.java @@ -0,0 +1,359 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Local de Retirada ou Entrega + * + *

Java class for TEndReEnt complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndReEnt">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <choice>
+ *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *         </choice>
+ *         <element name="xNome">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndReEnt", propOrder = { + "cnpj", + "cpf", + "xNome", + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "uf" +}) +public class TEndReEnt { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndeEmi.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndeEmi.java new file mode 100644 index 0000000..134b3ad --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndeEmi.java @@ -0,0 +1,328 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndeEmi complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndeEmi">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUF_sem_EX"/>
+ *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndeEmi", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "fone" +}) +public class TEndeEmi { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUFSemEX uf; + protected String fone; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUFSemEX } + * + */ + public TUFSemEX getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUFSemEX } + * + */ + public void setUF(TUFSemEX value) { + this.uf = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndereco.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndereco.java new file mode 100644 index 0000000..9283182 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndereco.java @@ -0,0 +1,369 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndereco complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndereco">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndereco", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "cPais", + "xPais" +}) +public class TEndereco { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + protected String cPais; + protected String xPais; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the cPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Sets the value of the cPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Gets the value of the xPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Sets the value of the xPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndernac.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndernac.java new file mode 100644 index 0000000..bf2abc0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TEndernac.java @@ -0,0 +1,301 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndernac complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndernac">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndernac", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf" +}) +public class TEndernac { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TGTVe.java new file mode 100644 index 0000000..bbad078 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TGTVe.java @@ -0,0 +1,4728 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Guia de Transporte de Valores Eletrônica (Modelo 64) + * + *

Java class for TGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+ *                                   <enumeration value="01"/>
+ *                                   <enumeration value="06"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dhSaidaOrig">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dhChegadaDest">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="toma">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="0"/>
+ *                                               <enumeration value="1"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="tomaTerceiro">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <choice>
+ *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                         </choice>
+ *                                         <element name="IE" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xNome">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <maxLength value="60"/>
+ *                                               <minLength value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xFant" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <maxLength value="60"/>
+ *                                               <minLength value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                                         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                                         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="IE">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="rem">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="dest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="origem" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+ *                   <element name="destino" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+ *                   <element name="detGTV">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="infEspecie" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="tpEspecie">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                             <enumeration value="3"/>
+ *                                             <enumeration value="4"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="tpNumerario">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xMoedaEstr" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="2"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                             <element name="infVeiculo" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+ *                                       <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                                       <element name="RNTRC" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{8}|ISENTO"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TGTVe", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TGTVe { + + @XmlElement(required = true) + protected InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+     *                         <enumeration value="01"/>
+     *                         <enumeration value="06"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dhSaidaOrig">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dhChegadaDest">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="toma">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="0"/>
+     *                                     <enumeration value="1"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="tomaTerceiro">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <choice>
+     *                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                 <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                               </choice>
+     *                               <element name="IE" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xNome">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <maxLength value="60"/>
+     *                                     <minLength value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xFant" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <maxLength value="60"/>
+     *                                     <minLength value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                               <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                               <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="IE">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="rem">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="dest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="origem" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+     *         <element name="destino" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+     *         <element name="detGTV">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="infEspecie" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="tpEspecie">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                   <enumeration value="3"/>
+     *                                   <enumeration value="4"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="tpNumerario">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xMoedaEstr" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="2"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                   <element name="infVeiculo" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+     *                             <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                             <element name="RNTRC" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{8}|ISENTO"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "rem", + "dest", + "origem", + "destino", + "detGTV", + "autXML", + "infRespTec" + }) + public static class InfCte { + + @XmlElement(required = true) + protected Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected Emit emit; + @XmlElement(required = true) + protected Rem rem; + @XmlElement(required = true) + protected Dest dest; + protected TEndeEmi origem; + protected TEndeEmi destino; + @XmlElement(required = true) + protected DetGTV detGTV; + protected List autXML; + protected TRespTec infRespTec; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the rem property. + * + * @return + * possible object is + * {@link Rem } + * + */ + public Rem getRem() { + return rem; + } + + /** + * Sets the value of the rem property. + * + * @param value + * allowed object is + * {@link Rem } + * + */ + public void setRem(Rem value) { + this.rem = value; + } + + /** + * Gets the value of the dest property. + * + * @return + * possible object is + * {@link Dest } + * + */ + public Dest getDest() { + return dest; + } + + /** + * Sets the value of the dest property. + * + * @param value + * allowed object is + * {@link Dest } + * + */ + public void setDest(Dest value) { + this.dest = value; + } + + /** + * Gets the value of the origem property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getOrigem() { + return origem; + } + + /** + * Sets the value of the origem property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setOrigem(TEndeEmi value) { + this.origem = value; + } + + /** + * Gets the value of the destino property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getDestino() { + return destino; + } + + /** + * Sets the value of the destino property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setDestino(TEndeEmi value) { + this.destino = value; + } + + /** + * Gets the value of the detGTV property. + * + * @return + * possible object is + * {@link DetGTV } + * + */ + public DetGTV getDetGTV() { + return detGTV; + } + + /** + * Sets the value of the detGTV property. + * + * @param value + * allowed object is + * {@link DetGTV } + * + */ + public void setDetGTV(DetGTV value) { + this.detGTV = value; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "isuf", + "enderDest", + "email" + }) + public static class Dest { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(name = "ISUF") + protected String isuf; + @XmlElement(required = true) + protected TEndereco enderDest; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the isuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the enderDest property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderDest() { + return enderDest; + } + + /** + * Sets the value of the enderDest property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderDest(TEndereco value) { + this.enderDest = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infEspecie" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="tpEspecie">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                         <enumeration value="3"/>
+         *                         <enumeration value="4"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="tpNumerario">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xMoedaEstr" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="2"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *         <element name="infVeiculo" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+         *                   <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *                   <element name="RNTRC" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{8}|ISENTO"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infEspecie", + "qCarga", + "infVeiculo" + }) + public static class DetGTV { + + @XmlElement(required = true) + protected List infEspecie; + @XmlElement(required = true) + protected String qCarga; + @XmlElement(required = true) + protected List infVeiculo; + + /** + * Gets the value of the infEspecie property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infEspecie property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfEspecie().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfEspecie } + * + * + */ + public List getInfEspecie() { + if (infEspecie == null) { + infEspecie = new ArrayList(); + } + return this.infEspecie; + } + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + /** + * Gets the value of the infVeiculo property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infVeiculo property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfVeiculo().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfVeiculo } + * + * + */ + public List getInfVeiculo() { + if (infVeiculo == null) { + infVeiculo = new ArrayList(); + } + return this.infVeiculo; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="tpEspecie">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="tpNumerario">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xMoedaEstr" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpEspecie", + "vEspecie", + "tpNumerario", + "xMoedaEstr" + }) + public static class InfEspecie { + + @XmlElement(required = true) + protected String tpEspecie; + @XmlElement(required = true) + protected String vEspecie; + @XmlElement(required = true) + protected String tpNumerario; + protected String xMoedaEstr; + + /** + * Gets the value of the tpEspecie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEspecie() { + return tpEspecie; + } + + /** + * Sets the value of the tpEspecie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEspecie(String value) { + this.tpEspecie = value; + } + + /** + * Gets the value of the vEspecie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVEspecie() { + return vEspecie; + } + + /** + * Sets the value of the vEspecie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVEspecie(String value) { + this.vEspecie = value; + } + + /** + * Gets the value of the tpNumerario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpNumerario() { + return tpNumerario; + } + + /** + * Sets the value of the tpNumerario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpNumerario(String value) { + this.tpNumerario = value; + } + + /** + * Gets the value of the xMoedaEstr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMoedaEstr() { + return xMoedaEstr; + } + + /** + * Sets the value of the xMoedaEstr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMoedaEstr(String value) { + this.xMoedaEstr = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+             *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+             *         <element name="RNTRC" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{8}|ISENTO"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "placa", + "uf", + "rntrc" + }) + public static class InfVeiculo { + + @XmlElement(required = true) + protected String placa; + @XmlElement(name = "UF") + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(name = "RNTRC") + protected String rntrc; + + /** + * Gets the value of the placa property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaca() { + return placa; + } + + /** + * Sets the value of the placa property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaca(String value) { + this.placa = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the rntrc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRNTRC() { + return rntrc; + } + + /** + * Sets the value of the rntrc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRNTRC(String value) { + this.rntrc = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="IE">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(name = "IE", required = true) + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+         *               <enumeration value="01"/>
+         *               <enumeration value="06"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dhSaidaOrig">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dhChegadaDest">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="toma">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="0"/>
+         *                           <enumeration value="1"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="tomaTerceiro">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="4"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <choice>
+         *                       <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                       <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                     </choice>
+         *                     <element name="IE" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="xNome">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <maxLength value="60"/>
+         *                           <minLength value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="xFant" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <maxLength value="60"/>
+         *                           <minLength value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *                     <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *                     <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "indIEToma", + "dhSaidaOrig", + "dhChegadaDest", + "toma", + "tomaTerceiro", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String verProc; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String indIEToma; + @XmlElement(required = true) + protected String dhSaidaOrig; + @XmlElement(required = true) + protected String dhChegadaDest; + protected Toma toma; + protected TomaTerceiro tomaTerceiro; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the dhSaidaOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhSaidaOrig() { + return dhSaidaOrig; + } + + /** + * Sets the value of the dhSaidaOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhSaidaOrig(String value) { + this.dhSaidaOrig = value; + } + + /** + * Gets the value of the dhChegadaDest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhChegadaDest() { + return dhChegadaDest; + } + + /** + * Sets the value of the dhChegadaDest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhChegadaDest(String value) { + this.dhChegadaDest = value; + } + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link Toma } + * + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link Toma } + * + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the tomaTerceiro property. + * + * @return + * possible object is + * {@link TomaTerceiro } + * + */ + public TomaTerceiro getTomaTerceiro() { + return tomaTerceiro; + } + + /** + * Sets the value of the tomaTerceiro property. + * + * @param value + * allowed object is + * {@link TomaTerceiro } + * + */ + public void setTomaTerceiro(TomaTerceiro value) { + this.tomaTerceiro = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma" + }) + public static class Toma { + + @XmlElement(required = true) + protected String toma; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <choice>
+             *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *         </choice>
+             *         <element name="IE" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xFant" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+             *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+             *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class TomaTerceiro { + + @XmlElement(required = true) + protected String toma; + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderReme", + "email" + }) + public static class Rem { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReme; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReme property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReme() { + return enderReme; + } + + /** + * Sets the value of the enderReme property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReme(TEndereco value) { + this.enderReme = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImp.java new file mode 100644 index 0000000..6357361 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImp.java @@ -0,0 +1,1785 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Dados do Imposto CT-e + * + *

Java class for TImp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TImp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="ICMS00">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS20">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS45">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="40"/>
+ *                         <enumeration value="41"/>
+ *                         <enumeration value="51"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS60">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS90">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSOutraUF">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSSN">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="indSN">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TImp", propOrder = { + "icms00", + "icms20", + "icms45", + "icms60", + "icms90", + "icmsOutraUF", + "icmssn" +}) +public class TImp { + + @XmlElement(name = "ICMS00") + protected ICMS00 icms00; + @XmlElement(name = "ICMS20") + protected ICMS20 icms20; + @XmlElement(name = "ICMS45") + protected ICMS45 icms45; + @XmlElement(name = "ICMS60") + protected ICMS60 icms60; + @XmlElement(name = "ICMS90") + protected ICMS90 icms90; + @XmlElement(name = "ICMSOutraUF") + protected ICMSOutraUF icmsOutraUF; + @XmlElement(name = "ICMSSN") + protected ICMSSN icmssn; + + /** + * Gets the value of the icms00 property. + * + * @return + * possible object is + * {@link ICMS00 } + * + */ + public ICMS00 getICMS00() { + return icms00; + } + + /** + * Sets the value of the icms00 property. + * + * @param value + * allowed object is + * {@link ICMS00 } + * + */ + public void setICMS00(ICMS00 value) { + this.icms00 = value; + } + + /** + * Gets the value of the icms20 property. + * + * @return + * possible object is + * {@link ICMS20 } + * + */ + public ICMS20 getICMS20() { + return icms20; + } + + /** + * Sets the value of the icms20 property. + * + * @param value + * allowed object is + * {@link ICMS20 } + * + */ + public void setICMS20(ICMS20 value) { + this.icms20 = value; + } + + /** + * Gets the value of the icms45 property. + * + * @return + * possible object is + * {@link ICMS45 } + * + */ + public ICMS45 getICMS45() { + return icms45; + } + + /** + * Sets the value of the icms45 property. + * + * @param value + * allowed object is + * {@link ICMS45 } + * + */ + public void setICMS45(ICMS45 value) { + this.icms45 = value; + } + + /** + * Gets the value of the icms60 property. + * + * @return + * possible object is + * {@link ICMS60 } + * + */ + public ICMS60 getICMS60() { + return icms60; + } + + /** + * Sets the value of the icms60 property. + * + * @param value + * allowed object is + * {@link ICMS60 } + * + */ + public void setICMS60(ICMS60 value) { + this.icms60 = value; + } + + /** + * Gets the value of the icms90 property. + * + * @return + * possible object is + * {@link ICMS90 } + * + */ + public ICMS90 getICMS90() { + return icms90; + } + + /** + * Sets the value of the icms90 property. + * + * @param value + * allowed object is + * {@link ICMS90 } + * + */ + public void setICMS90(ICMS90 value) { + this.icms90 = value; + } + + /** + * Gets the value of the icmsOutraUF property. + * + * @return + * possible object is + * {@link ICMSOutraUF } + * + */ + public ICMSOutraUF getICMSOutraUF() { + return icmsOutraUF; + } + + /** + * Sets the value of the icmsOutraUF property. + * + * @param value + * allowed object is + * {@link ICMSOutraUF } + * + */ + public void setICMSOutraUF(ICMSOutraUF value) { + this.icmsOutraUF = value; + } + + /** + * Gets the value of the icmssn property. + * + * @return + * possible object is + * {@link ICMSSN } + * + */ + public ICMSSN getICMSSN() { + return icmssn; + } + + /** + * Sets the value of the icmssn property. + * + * @param value + * allowed object is + * {@link ICMSSN } + * + */ + public void setICMSSN(ICMSSN value) { + this.icmssn = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "picms", + "vicms" + }) + public static class ICMS00 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vicmsDeson", + "cBenef" + }) + public static class ICMS20 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="40"/>
+     *               <enumeration value="41"/>
+     *               <enumeration value="51"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vicmsDeson", + "cBenef" + }) + public static class ICMS45 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbcstRet", + "vicmsstRet", + "picmsstRet", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS60 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBCSTRet", required = true) + protected String vbcstRet; + @XmlElement(name = "vICMSSTRet", required = true) + protected String vicmsstRet; + @XmlElement(name = "pICMSSTRet", required = true) + protected String picmsstRet; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbcstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTRet() { + return vbcstRet; + } + + /** + * Sets the value of the vbcstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTRet(String value) { + this.vbcstRet = value; + } + + /** + * Gets the value of the vicmsstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTRet() { + return vicmsstRet; + } + + /** + * Sets the value of the vicmsstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTRet(String value) { + this.vicmsstRet = value; + } + + /** + * Gets the value of the picmsstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSSTRet() { + return picmsstRet; + } + + /** + * Sets the value of the picmsstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSSTRet(String value) { + this.picmsstRet = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS90 { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBCOutraUF", + "vbcOutraUF", + "picmsOutraUF", + "vicmsOutraUF", + "vicmsDeson", + "cBenef" + }) + public static class ICMSOutraUF { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBCOutraUF; + @XmlElement(name = "vBCOutraUF", required = true) + protected String vbcOutraUF; + @XmlElement(name = "pICMSOutraUF", required = true) + protected String picmsOutraUF; + @XmlElement(name = "vICMSOutraUF", required = true) + protected String vicmsOutraUF; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBCOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCOutraUF() { + return pRedBCOutraUF; + } + + /** + * Sets the value of the pRedBCOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCOutraUF(String value) { + this.pRedBCOutraUF = value; + } + + /** + * Gets the value of the vbcOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCOutraUF() { + return vbcOutraUF; + } + + /** + * Sets the value of the vbcOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCOutraUF(String value) { + this.vbcOutraUF = value; + } + + /** + * Gets the value of the picmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSOutraUF() { + return picmsOutraUF; + } + + /** + * Sets the value of the picmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSOutraUF(String value) { + this.picmsOutraUF = value; + } + + /** + * Gets the value of the vicmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSOutraUF() { + return vicmsOutraUF; + } + + /** + * Sets the value of the vicmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSOutraUF(String value) { + this.vicmsOutraUF = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="indSN">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "indSN" + }) + public static class ICMSSN { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String indSN; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the indSN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSN() { + return indSN; + } + + /** + * Sets the value of the indSN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSN(String value) { + this.indSN = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImpOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImpOS.java new file mode 100644 index 0000000..f6b96fc --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TImpOS.java @@ -0,0 +1,1488 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Dados do Imposto para CT-e OS + * + *

Java class for TImpOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TImpOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="ICMS00">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS20">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS45">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="40"/>
+ *                         <enumeration value="41"/>
+ *                         <enumeration value="51"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS90">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSOutraUF">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSSN">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="indSN">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TImpOS", propOrder = { + "icms00", + "icms20", + "icms45", + "icms90", + "icmsOutraUF", + "icmssn" +}) +public class TImpOS { + + @XmlElement(name = "ICMS00") + protected ICMS00 icms00; + @XmlElement(name = "ICMS20") + protected ICMS20 icms20; + @XmlElement(name = "ICMS45") + protected ICMS45 icms45; + @XmlElement(name = "ICMS90") + protected ICMS90 icms90; + @XmlElement(name = "ICMSOutraUF") + protected ICMSOutraUF icmsOutraUF; + @XmlElement(name = "ICMSSN") + protected ICMSSN icmssn; + + /** + * Gets the value of the icms00 property. + * + * @return + * possible object is + * {@link ICMS00 } + * + */ + public ICMS00 getICMS00() { + return icms00; + } + + /** + * Sets the value of the icms00 property. + * + * @param value + * allowed object is + * {@link ICMS00 } + * + */ + public void setICMS00(ICMS00 value) { + this.icms00 = value; + } + + /** + * Gets the value of the icms20 property. + * + * @return + * possible object is + * {@link ICMS20 } + * + */ + public ICMS20 getICMS20() { + return icms20; + } + + /** + * Sets the value of the icms20 property. + * + * @param value + * allowed object is + * {@link ICMS20 } + * + */ + public void setICMS20(ICMS20 value) { + this.icms20 = value; + } + + /** + * Gets the value of the icms45 property. + * + * @return + * possible object is + * {@link ICMS45 } + * + */ + public ICMS45 getICMS45() { + return icms45; + } + + /** + * Sets the value of the icms45 property. + * + * @param value + * allowed object is + * {@link ICMS45 } + * + */ + public void setICMS45(ICMS45 value) { + this.icms45 = value; + } + + /** + * Gets the value of the icms90 property. + * + * @return + * possible object is + * {@link ICMS90 } + * + */ + public ICMS90 getICMS90() { + return icms90; + } + + /** + * Sets the value of the icms90 property. + * + * @param value + * allowed object is + * {@link ICMS90 } + * + */ + public void setICMS90(ICMS90 value) { + this.icms90 = value; + } + + /** + * Gets the value of the icmsOutraUF property. + * + * @return + * possible object is + * {@link ICMSOutraUF } + * + */ + public ICMSOutraUF getICMSOutraUF() { + return icmsOutraUF; + } + + /** + * Sets the value of the icmsOutraUF property. + * + * @param value + * allowed object is + * {@link ICMSOutraUF } + * + */ + public void setICMSOutraUF(ICMSOutraUF value) { + this.icmsOutraUF = value; + } + + /** + * Gets the value of the icmssn property. + * + * @return + * possible object is + * {@link ICMSSN } + * + */ + public ICMSSN getICMSSN() { + return icmssn; + } + + /** + * Sets the value of the icmssn property. + * + * @param value + * allowed object is + * {@link ICMSSN } + * + */ + public void setICMSSN(ICMSSN value) { + this.icmssn = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "picms", + "vicms" + }) + public static class ICMS00 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vicmsDeson", + "cBenef" + }) + public static class ICMS20 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="40"/>
+     *               <enumeration value="41"/>
+     *               <enumeration value="51"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vicmsDeson", + "cBenef" + }) + public static class ICMS45 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS90 { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBCOutraUF", + "vbcOutraUF", + "picmsOutraUF", + "vicmsOutraUF", + "vicmsDeson", + "cBenef" + }) + public static class ICMSOutraUF { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBCOutraUF; + @XmlElement(name = "vBCOutraUF", required = true) + protected String vbcOutraUF; + @XmlElement(name = "pICMSOutraUF", required = true) + protected String picmsOutraUF; + @XmlElement(name = "vICMSOutraUF", required = true) + protected String vicmsOutraUF; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBCOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCOutraUF() { + return pRedBCOutraUF; + } + + /** + * Sets the value of the pRedBCOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCOutraUF(String value) { + this.pRedBCOutraUF = value; + } + + /** + * Gets the value of the vbcOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCOutraUF() { + return vbcOutraUF; + } + + /** + * Sets the value of the vbcOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCOutraUF(String value) { + this.vbcOutraUF = value; + } + + /** + * Gets the value of the picmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSOutraUF() { + return picmsOutraUF; + } + + /** + * Sets the value of the picmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSOutraUF(String value) { + this.picmsOutraUF = value; + } + + /** + * Gets the value of the vicmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSOutraUF() { + return vicmsOutraUF; + } + + /** + * Sets the value of the vicmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSOutraUF(String value) { + this.vicmsOutraUF = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="indSN">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "indSN" + }) + public static class ICMSSN { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String indSN; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the indSN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSN() { + return indSN; + } + + /** + * Sets the value of the indSN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSN(String value) { + this.indSN = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TLocal.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TLocal.java new file mode 100644 index 0000000..af01cad --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TLocal.java @@ -0,0 +1,127 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Local de Origem ou Destino + * + *

Java class for TLocal complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TLocal">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TLocal", propOrder = { + "cMun", + "xMun", + "uf" +}) +public class TLocal { + + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTe.java new file mode 100644 index 0000000..839e0f0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTe.java @@ -0,0 +1,562 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento da CT-e + * + *

Java class for TProtCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtCTe", propOrder = { + "infProt", + "infFisco", + "signature" +}) +@XmlRootElement(name = "protCTe", namespace = "http://www.portalfiscal.inf.br/cte") +public class TProtCTe { + + @XmlElement(required = true) + protected InfProt infProt; + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + }) + public static class InfProt { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String dhRecbto; + protected String nProt; + protected byte[] digVal; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTeOS.java new file mode 100644 index 0000000..daf3fa6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtCTeOS.java @@ -0,0 +1,561 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento do CT-e OS (Modelo 67) + * + *

Java class for TProtCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtCTeOS", propOrder = { + "infProt", + "infFisco", + "signature" +}) +public class TProtCTeOS { + + @XmlElement(required = true) + protected InfProt infProt; + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + }) + public static class InfProt { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String dhRecbto; + protected String nProt; + protected byte[] digVal; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtGTVe.java new file mode 100644 index 0000000..8934d4d --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TProtGTVe.java @@ -0,0 +1,561 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento da GTV-e (Modelo 64) + * + *

Java class for TProtGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtGTVe", propOrder = { + "infProt", + "infFisco", + "signature" +}) +public class TProtGTVe { + + @XmlElement(required = true) + protected InfProt infProt; + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + }) + public static class InfProt { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String dhRecbto; + protected String nProt; + protected byte[] digVal; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRSAKeyValueType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRSAKeyValueType.java new file mode 100644 index 0000000..d52e028 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRSAKeyValueType.java @@ -0,0 +1,90 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo que representa uma chave publica padrão RSA + * + *

Java class for TRSAKeyValueType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRSAKeyValueType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *         <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class TRSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected byte[] modulus; + @XmlElement(name = "Exponent", required = true) + protected byte[] exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * byte[] + */ + public void setModulus(byte[] value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * byte[] + */ + public void setExponent(byte[] value) { + this.exponent = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRespTec.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRespTec.java new file mode 100644 index 0000000..da3d146 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRespTec.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Dados da Responsável Técnico + * + *

Java class for TRespTec complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRespTec">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *         <element name="xContato">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail"/>
+ *         <element name="fone">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{7,12}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <sequence minOccurs="0">
+ *           <element name="idCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                 <pattern value="[0-9]{3}"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *           <element name="hashCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}base64Binary">
+ *                 <length value="20"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *         </sequence>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRespTec", propOrder = { + "cnpj", + "xContato", + "email", + "fone", + "idCSRT", + "hashCSRT" +}) +public class TRespTec { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(required = true) + protected String xContato; + @XmlElement(required = true) + protected String email; + @XmlElement(required = true) + protected String fone; + protected String idCSRT; + protected byte[] hashCSRT; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the xContato property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXContato() { + return xContato; + } + + /** + * Sets the value of the xContato property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXContato(String value) { + this.xContato = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the idCSRT property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCSRT() { + return idCSRT; + } + + /** + * Sets the value of the idCSRT property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCSRT(String value) { + this.idCSRT = value; + } + + /** + * Gets the value of the hashCSRT property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getHashCSRT() { + return hashCSRT; + } + + /** + * Sets the value of the hashCSRT property. + * + * @param value + * allowed object is + * byte[] + */ + public void setHashCSRT(byte[] value) { + this.hashCSRT = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTe.java new file mode 100644 index 0000000..b79b7f8 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTe.java @@ -0,0 +1,229 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e (Modelo 57) + * + *

Java class for TRetCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTe", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetCTe { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTe } + * + */ + public TProtCTe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTe } + * + */ + public void setProtCTe(TProtCTe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeOS.java new file mode 100644 index 0000000..f2ff640 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeOS.java @@ -0,0 +1,229 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e OS (Modelo 67) + * + *

Java class for TRetCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTeOS" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTeOS", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetCTeOS { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTeOS protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTeOS } + * + */ + public TProtCTeOS getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTeOS } + * + */ + public void setProtCTe(TProtCTeOS value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeSimp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeSimp.java new file mode 100644 index 0000000..9638846 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetCTeSimp.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e Simplificado (Modelo 57) + * + *

Java class for TRetCTeSimp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTeSimp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTeSimp", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +@XmlRootElement(name = "retCTeSimp", namespace = "http://www.portalfiscal.inf.br/cte") +public class TRetCTeSimp { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTe } + * + */ + public TProtCTe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTe } + * + */ + public void setProtCTe(TProtCTe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetGTVe.java new file mode 100644 index 0000000..fdf08ac --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TRetGTVe.java @@ -0,0 +1,229 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Retorno do Pedido de Autorização de GTV-e (Modelo 64) + * + *

Java class for TRetGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtGTVe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetGTVe", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetGTVe { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtGTVe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtGTVe } + * + */ + public TProtGTVe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtGTVe } + * + */ + public void setProtCTe(TProtGTVe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUFSemEX.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUFSemEX.java new file mode 100644 index 0000000..db24c28 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUFSemEX.java @@ -0,0 +1,91 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for TUF_sem_EX. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="TUF_sem_EX">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUF_sem_EX") +@XmlEnum +public enum TUFSemEX { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO; + + public String value() { + return name(); + } + + public static TUFSemEX fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUf.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUf.java new file mode 100644 index 0000000..7dae89f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUf.java @@ -0,0 +1,93 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for TUf. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="TUf">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *     <enumeration value="EX"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUf") +@XmlEnum +public enum TUf { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO, + EX; + + public String value() { + return name(); + } + + public static TUf fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidCarga.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidCarga.java new file mode 100644 index 0000000..5cebdd8 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidCarga.java @@ -0,0 +1,234 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Dados Unidade de Carga + * + *

Java class for TUnidCarga complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TUnidCarga">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TtipoUnidCarga"/>
+ *         <element name="idUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TContainer"/>
+ *         <element name="lacUnidCarga" maxOccurs="unbounded" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="nLacre">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="qtdRat" type="{http://www.portalfiscal.inf.br/cte}TDec_0302_0303" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TUnidCarga", propOrder = { + "tpUnidCarga", + "idUnidCarga", + "lacUnidCarga", + "qtdRat" +}) +public class TUnidCarga { + + @XmlElement(required = true) + protected String tpUnidCarga; + @XmlElement(required = true) + protected String idUnidCarga; + protected List lacUnidCarga; + protected String qtdRat; + + /** + * Gets the value of the tpUnidCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpUnidCarga() { + return tpUnidCarga; + } + + /** + * Sets the value of the tpUnidCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpUnidCarga(String value) { + this.tpUnidCarga = value; + } + + /** + * Gets the value of the idUnidCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdUnidCarga() { + return idUnidCarga; + } + + /** + * Sets the value of the idUnidCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdUnidCarga(String value) { + this.idUnidCarga = value; + } + + /** + * Gets the value of the lacUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the lacUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getLacUnidCarga().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link LacUnidCarga } + * + * + */ + public List getLacUnidCarga() { + if (lacUnidCarga == null) { + lacUnidCarga = new ArrayList(); + } + return this.lacUnidCarga; + } + + /** + * Gets the value of the qtdRat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQtdRat() { + return qtdRat; + } + + /** + * Sets the value of the qtdRat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQtdRat(String value) { + this.qtdRat = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="nLacre">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLacre" + }) + public static class LacUnidCarga { + + @XmlElement(required = true) + protected String nLacre; + + /** + * Gets the value of the nLacre property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLacre() { + return nLacre; + } + + /** + * Sets the value of the nLacre property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLacre(String value) { + this.nLacre = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidadeTransp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidadeTransp.java new file mode 100644 index 0000000..c21b0bb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TUnidadeTransp.java @@ -0,0 +1,266 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Dados Unidade de Transporte + * + *

Java class for TUnidadeTransp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TUnidadeTransp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TtipoUnidTransp"/>
+ *         <element name="idUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TContainer"/>
+ *         <element name="lacUnidTransp" maxOccurs="unbounded" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="nLacre">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="qtdRat" type="{http://www.portalfiscal.inf.br/cte}TDec_0302_0303" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TUnidadeTransp", propOrder = { + "tpUnidTransp", + "idUnidTransp", + "lacUnidTransp", + "infUnidCarga", + "qtdRat" +}) +public class TUnidadeTransp { + + @XmlElement(required = true) + protected String tpUnidTransp; + @XmlElement(required = true) + protected String idUnidTransp; + protected List lacUnidTransp; + protected List infUnidCarga; + protected String qtdRat; + + /** + * Gets the value of the tpUnidTransp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpUnidTransp() { + return tpUnidTransp; + } + + /** + * Sets the value of the tpUnidTransp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpUnidTransp(String value) { + this.tpUnidTransp = value; + } + + /** + * Gets the value of the idUnidTransp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdUnidTransp() { + return idUnidTransp; + } + + /** + * Sets the value of the idUnidTransp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdUnidTransp(String value) { + this.idUnidTransp = value; + } + + /** + * Gets the value of the lacUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the lacUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getLacUnidTransp().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link LacUnidTransp } + * + * + */ + public List getLacUnidTransp() { + if (lacUnidTransp == null) { + lacUnidTransp = new ArrayList(); + } + return this.lacUnidTransp; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getInfUnidCarga().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the qtdRat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQtdRat() { + return qtdRat; + } + + /** + * Sets the value of the qtdRat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQtdRat(String value) { + this.qtdRat = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="nLacre">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLacre" + }) + public static class LacUnidTransp { + + @XmlElement(required = true) + protected String nLacre; + + /** + * Gets the value of the nLacre property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLacre() { + return nLacre; + } + + /** + * Sets the value of the nLacre property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLacre(String value) { + this.nLacre = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformType.java new file mode 100644 index 0000000..664fb7a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformType.java @@ -0,0 +1,95 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Java class for TransformType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TransformType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "xPath" +}) +public class TransformType { + + @XmlElement(name = "XPath") + protected List xPath; + @XmlAttribute(name = "Algorithm", required = true) + protected String algorithm; + + /** + * Gets the value of the xPath property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the xPath property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getXPath().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getXPath() { + if (xPath == null) { + xPath = new ArrayList(); + } + return this.xPath; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformsType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformsType.java new file mode 100644 index 0000000..e2c41b4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/TransformsType.java @@ -0,0 +1,71 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Java class for TransformsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TransformsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transform" type="{http://www.w3.org/2000/09/xmldsig#}TransformType" maxOccurs="2" minOccurs="2"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List transform; + + /** + * Gets the value of the transform property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the transform property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTransform().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List getTransform() { + if (transform == null) { + transform = new ArrayList(); + } + return this.transform; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/X509DataType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/X509DataType.java new file mode 100644 index 0000000..ba043cc --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/X509DataType.java @@ -0,0 +1,62 @@ + + + +package br.com.swconsultoria.cte.schema_400.cteSimp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for X509DataType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="X509DataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Certificate" +}) +public class X509DataType { + + @XmlElement(name = "X509Certificate", required = true) + protected byte[] x509Certificate; + + /** + * Gets the value of the x509Certificate property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Sets the value of the x509Certificate property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/package-info.java b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/package-info.java new file mode 100644 index 0000000..6ed1a50 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/cteSimp/package-info.java @@ -0,0 +1,3 @@ + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.portalfiscal.inf.br/cte", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package br.com.swconsultoria.cte.schema_400.cteSimp; diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/CteSimpProc.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/CteSimpProc.java new file mode 100644 index 0000000..eb982eb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/CteSimpProc.java @@ -0,0 +1,210 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CTeSimp" type="{http://www.portalfiscal.inf.br/cte}TCTeSimp"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTe"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *       <attribute name="ipTransmissor" type="{http://www.portalfiscal.inf.br/cte}TIPv4" />
+ *       <attribute name="nPortaCon">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             <pattern value="[0-9]{1,5}"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="dhConexao" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "cTeSimp", + "protCTe" +}) +@XmlRootElement(name = "cteSimpProc", namespace = "http://www.portalfiscal.inf.br/cte") +public class CteSimpProc { + + @XmlElement(name = "CTeSimp", required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp cTeSimp; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected TProtCTe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "ipTransmissor") + protected String ipTransmissor; + @XmlAttribute(name = "nPortaCon") + protected String nPortaCon; + @XmlAttribute(name = "dhConexao") + protected String dhConexao; + + /** + * Gets the value of the cTeSimp property. + * + * @return + * possible object is + * {@link TCTeSimp } + * + */ + public TCTeSimp getCTeSimp() { + return cTeSimp; + } + + /** + * Sets the value of the cTeSimp property. + * + * @param value + * allowed object is + * {@link TCTeSimp } + * + */ + public void setCTeSimp(TCTeSimp value) { + this.cTeSimp = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTe } + * + */ + public TProtCTe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTe } + * + */ + public void setProtCTe(TProtCTe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the ipTransmissor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIpTransmissor() { + return ipTransmissor; + } + + /** + * Sets the value of the ipTransmissor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIpTransmissor(String value) { + this.ipTransmissor = value; + } + + /** + * Gets the value of the nPortaCon property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNPortaCon() { + return nPortaCon; + } + + /** + * Sets the value of the nPortaCon property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNPortaCon(String value) { + this.nPortaCon = value; + } + + /** + * Gets the value of the dhConexao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhConexao() { + return dhConexao; + } + + /** + * Sets the value of the dhConexao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhConexao(String value) { + this.dhConexao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/KeyInfoType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/KeyInfoType.java new file mode 100644 index 0000000..b1ca364 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/KeyInfoType.java @@ -0,0 +1,96 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + + +/** + *

Java class for KeyInfoType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="KeyInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Data" +}) +public class KeyInfoType { + + @XmlElement(name = "X509Data", required = true) + protected X509DataType x509Data; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the x509Data property. + * + * @return + * possible object is + * {@link X509DataType } + * + */ + public X509DataType getX509Data() { + return x509Data; + } + + /** + * Sets the value of the x509Data property. + * + * @param value + * allowed object is + * {@link X509DataType } + * + */ + public void setX509Data(X509DataType value) { + this.x509Data = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ObjectFactory.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ObjectFactory.java new file mode 100644 index 0000000..8477486 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ObjectFactory.java @@ -0,0 +1,1494 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import org.w3c.dom.Element; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.*; + + +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.bcap.me.JaxB package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.bcap.me.JaxB + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TUnidCarga } + * + */ + public TUnidCarga createTUnidCarga() { + return new TUnidCarga(); + } + + /** + * Create an instance of {@link TUnidadeTransp } + * + */ + public TUnidadeTransp createTUnidadeTransp() { + return new TUnidadeTransp(); + } + + /** + * Create an instance of {@link TImpOS } + * + */ + public TImpOS createTImpOS() { + return new TImpOS(); + } + + /** + * Create an instance of {@link TImp } + * + */ + public TImp createTImp() { + return new TImp(); + } + + /** + * Create an instance of {@link TCTeOS } + * + */ + public TCTeOS createTCTeOS() { + return new TCTeOS(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte } + * + */ + public TCTeOS.InfCte createTCTeOSInfCte() { + return new TCTeOS.InfCte(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm } + * + */ + public TCTeOS.InfCte.InfCTeNorm createTCTeOSInfCteInfCTeNorm() { + return new TCTeOS.InfCte.InfCTeNorm(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfGTVe } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfGTVe createTCTeOSInfCteInfCTeNormInfGTVe() { + return new TCTeOS.InfCte.InfCTeNorm.InfGTVe(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr createTCTeOSInfCteInfCTeNormCobr() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfServico } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfServico createTCTeOSInfCteInfCTeNormInfServico() { + return new TCTeOS.InfCte.InfCTeNorm.InfServico(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp } + * + */ + public TCTeOS.InfCte.Imp createTCTeOSInfCteImp() { + return new TCTeOS.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.VPrest } + * + */ + public TCTeOS.InfCte.VPrest createTCTeOSInfCteVPrest() { + return new TCTeOS.InfCte.VPrest(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl } + * + */ + public TCTeOS.InfCte.Compl createTCTeOSInfCteCompl() { + return new TCTeOS.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Ide } + * + */ + public TCTeOS.InfCte.Ide createTCTeOSInfCteIde() { + return new TCTeOS.InfCte.Ide(); + } + + /** + * Create an instance of {@link TCTe } + * + */ + public TCTe createTCTe() { + return new TCTe(); + } + + /** + * Create an instance of {@link TCTe.InfCte } + * + */ + public TCTe.InfCte createTCTeInfCte() { + return new TCTe.InfCte(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfPAA } + * + */ + public TCTe.InfCte.InfPAA createTCTeInfCteInfPAA() { + return new TCTe.InfCte.InfPAA(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm } + * + */ + public TCTe.InfCte.InfCTeNorm createTCTeInfCteInfCTeNorm() { + return new TCTe.InfCte.InfCTeNorm(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfServVinc } + * + */ + public TCTe.InfCte.InfCTeNorm.InfServVinc createTCTeInfCteInfCTeNormInfServVinc() { + return new TCTe.InfCte.InfCTeNorm.InfServVinc(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr createTCTeInfCteInfCTeNormCobr() { + return new TCTe.InfCte.InfCTeNorm.Cobr(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt createTCTeInfCteInfCTeNormDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt createTCTeInfCteInfCTeNormDocAntEmiDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAnt() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc createTCTeInfCteInfCTeNormInfDoc() { + return new TCTe.InfCte.InfCTeNorm.InfDoc(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCarga } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCarga createTCTeInfCteInfCTeNormInfCarga() { + return new TCTe.InfCte.InfCTeNorm.InfCarga(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Imp } + * + */ + public TCTe.InfCte.Imp createTCTeInfCteImp() { + return new TCTe.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.VPrest } + * + */ + public TCTe.InfCte.VPrest createTCTeInfCteVPrest() { + return new TCTe.InfCte.VPrest(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl } + * + */ + public TCTe.InfCte.Compl createTCTeInfCteCompl() { + return new TCTe.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega } + * + */ + public TCTe.InfCte.Compl.Entrega createTCTeInfCteComplEntrega() { + return new TCTe.InfCte.Compl.Entrega(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Fluxo } + * + */ + public TCTe.InfCte.Compl.Fluxo createTCTeInfCteComplFluxo() { + return new TCTe.InfCte.Compl.Fluxo(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide } + * + */ + public TCTe.InfCte.Ide createTCTeInfCteIde() { + return new TCTe.InfCte.Ide(); + } + + /** + * Create an instance of {@link TProtGTVe } + * + */ + public TProtGTVe createTProtGTVe() { + return new TProtGTVe(); + } + + /** + * Create an instance of {@link TProtCTeOS } + * + */ + public TProtCTeOS createTProtCTeOS() { + return new TProtCTeOS(); + } + + /** + * Create an instance of {@link TGTVe } + * + */ + public TGTVe createTGTVe() { + return new TGTVe(); + } + + /** + * Create an instance of {@link TGTVe.InfCte } + * + */ + public TGTVe.InfCte createTGTVeInfCte() { + return new TGTVe.InfCte(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV } + * + */ + public TGTVe.InfCte.DetGTV createTGTVeInfCteDetGTV() { + return new TGTVe.InfCte.DetGTV(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl } + * + */ + public TGTVe.InfCte.Compl createTGTVeInfCteCompl() { + return new TGTVe.InfCte.Compl(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide } + * + */ + public TGTVe.InfCte.Ide createTGTVeInfCteIde() { + return new TGTVe.InfCte.Ide(); + } + + /** + * Create an instance of {@link TProtCTe } + * + */ + public TProtCTe createTProtCTe() { + return new TProtCTe(); + } + + /** + * Create an instance of {@link TCTeSimp } + * + */ + public TCTeSimp createTCTeSimp() { + return new TCTeSimp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte } + * + */ + public TCTeSimp.InfCte createTCTeSimpInfCte() { + return new TCTeSimp.InfCte(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfPAA } + * + */ + public TCTeSimp.InfCte.InfPAA createTCTeSimpInfCteInfPAA() { + return new TCTeSimp.InfCte.InfPAA(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Imp } + * + */ + public TCTeSimp.InfCte.Imp createTCTeSimpInfCteImp() { + return new TCTeSimp.InfCte.Imp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr } + * + */ + public TCTeSimp.InfCte.Cobr createTCTeSimpInfCteCobr() { + return new TCTeSimp.InfCte.Cobr(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det } + * + */ + public TCTeSimp.InfCte.Det createTCTeSimpInfCteDet() { + return new TCTeSimp.InfCte.Det(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfDocAnt } + * + */ + public TCTeSimp.InfCte.Det.InfDocAnt createTCTeSimpInfCteDetInfDocAnt() { + return new TCTeSimp.InfCte.Det.InfDocAnt(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCarga } + * + */ + public TCTeSimp.InfCte.InfCarga createTCTeSimpInfCteInfCarga() { + return new TCTeSimp.InfCte.InfCarga(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl } + * + */ + public TCTeSimp.InfCte.Compl createTCTeSimpInfCteCompl() { + return new TCTeSimp.InfCte.Compl(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.Fluxo } + * + */ + public TCTeSimp.InfCte.Compl.Fluxo createTCTeSimpInfCteComplFluxo() { + return new TCTeSimp.InfCte.Compl.Fluxo(); + } + + /** + * Create an instance of {@link CteSimpProc } + * + */ + public CteSimpProc createCteSimpProc() { + return new CteSimpProc(); + } + + /** + * Create an instance of {@link TRSAKeyValueType } + * + */ + public TRSAKeyValueType createTRSAKeyValueType() { + return new TRSAKeyValueType(); + } + + /** + * Create an instance of {@link TRetCTeSimp } + * + */ + public TRetCTeSimp createTRetCTeSimp() { + return new TRetCTeSimp(); + } + + /** + * Create an instance of {@link TRetCTe } + * + */ + public TRetCTe createTRetCTe() { + return new TRetCTe(); + } + + /** + * Create an instance of {@link TRetGTVe } + * + */ + public TRetGTVe createTRetGTVe() { + return new TRetGTVe(); + } + + /** + * Create an instance of {@link TRetCTeOS } + * + */ + public TRetCTeOS createTRetCTeOS() { + return new TRetCTeOS(); + } + + /** + * Create an instance of {@link TEndeEmi } + * + */ + public TEndeEmi createTEndeEmi() { + return new TEndeEmi(); + } + + /** + * Create an instance of {@link TEndereco } + * + */ + public TEndereco createTEndereco() { + return new TEndereco(); + } + + /** + * Create an instance of {@link TEndernac } + * + */ + public TEndernac createTEndernac() { + return new TEndernac(); + } + + /** + * Create an instance of {@link TEndOrg } + * + */ + public TEndOrg createTEndOrg() { + return new TEndOrg(); + } + + /** + * Create an instance of {@link TLocal } + * + */ + public TLocal createTLocal() { + return new TLocal(); + } + + /** + * Create an instance of {@link TEndReEnt } + * + */ + public TEndReEnt createTEndReEnt() { + return new TEndReEnt(); + } + + /** + * Create an instance of {@link TRespTec } + * + */ + public TRespTec createTRespTec() { + return new TRespTec(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod createReferenceTypeDigestMethod() { + return new ReferenceType.DigestMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod createSignedInfoTypeCanonicalizationMethod() { + return new SignedInfoType.CanonicalizationMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod createSignedInfoTypeSignatureMethod() { + return new SignedInfoType.SignatureMethod(); + } + + /** + * Create an instance of {@link TUnidCarga.LacUnidCarga } + * + */ + public TUnidCarga.LacUnidCarga createTUnidCargaLacUnidCarga() { + return new TUnidCarga.LacUnidCarga(); + } + + /** + * Create an instance of {@link TUnidadeTransp.LacUnidTransp } + * + */ + public TUnidadeTransp.LacUnidTransp createTUnidadeTranspLacUnidTransp() { + return new TUnidadeTransp.LacUnidTransp(); + } + + /** + * Create an instance of {@link TImpOS.ICMS00 } + * + */ + public TImpOS.ICMS00 createTImpOSICMS00() { + return new TImpOS.ICMS00(); + } + + /** + * Create an instance of {@link TImpOS.ICMS20 } + * + */ + public TImpOS.ICMS20 createTImpOSICMS20() { + return new TImpOS.ICMS20(); + } + + /** + * Create an instance of {@link TImpOS.ICMS45 } + * + */ + public TImpOS.ICMS45 createTImpOSICMS45() { + return new TImpOS.ICMS45(); + } + + /** + * Create an instance of {@link TImpOS.ICMS90 } + * + */ + public TImpOS.ICMS90 createTImpOSICMS90() { + return new TImpOS.ICMS90(); + } + + /** + * Create an instance of {@link TImpOS.ICMSOutraUF } + * + */ + public TImpOS.ICMSOutraUF createTImpOSICMSOutraUF() { + return new TImpOS.ICMSOutraUF(); + } + + /** + * Create an instance of {@link TImpOS.ICMSSN } + * + */ + public TImpOS.ICMSSN createTImpOSICMSSN() { + return new TImpOS.ICMSSN(); + } + + /** + * Create an instance of {@link TImp.ICMS00 } + * + */ + public TImp.ICMS00 createTImpICMS00() { + return new TImp.ICMS00(); + } + + /** + * Create an instance of {@link TImp.ICMS20 } + * + */ + public TImp.ICMS20 createTImpICMS20() { + return new TImp.ICMS20(); + } + + /** + * Create an instance of {@link TImp.ICMS45 } + * + */ + public TImp.ICMS45 createTImpICMS45() { + return new TImp.ICMS45(); + } + + /** + * Create an instance of {@link TImp.ICMS60 } + * + */ + public TImp.ICMS60 createTImpICMS60() { + return new TImp.ICMS60(); + } + + /** + * Create an instance of {@link TImp.ICMS90 } + * + */ + public TImp.ICMS90 createTImpICMS90() { + return new TImp.ICMS90(); + } + + /** + * Create an instance of {@link TImp.ICMSOutraUF } + * + */ + public TImp.ICMSOutraUF createTImpICMSOutraUF() { + return new TImp.ICMSOutraUF(); + } + + /** + * Create an instance of {@link TImp.ICMSSN } + * + */ + public TImp.ICMSSN createTImpICMSSN() { + return new TImp.ICMSSN(); + } + + /** + * Create an instance of {@link TCTeOS.InfCTeSupl } + * + */ + public TCTeOS.InfCTeSupl createTCTeOSInfCTeSupl() { + return new TCTeOS.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Emit } + * + */ + public TCTeOS.InfCte.Emit createTCTeOSInfCteEmit() { + return new TCTeOS.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Toma } + * + */ + public TCTeOS.InfCte.Toma createTCTeOSInfCteToma() { + return new TCTeOS.InfCte.Toma(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCteComp } + * + */ + public TCTeOS.InfCte.InfCteComp createTCTeOSInfCteInfCteComp() { + return new TCTeOS.InfCte.InfCteComp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.AutXML } + * + */ + public TCTeOS.InfCte.AutXML createTCTeOSInfCteAutXML() { + return new TCTeOS.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfDocRef } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfDocRef createTCTeOSInfCteInfCTeNormInfDocRef() { + return new TCTeOS.InfCte.InfCTeNorm.InfDocRef(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Seg } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Seg createTCTeOSInfCteInfCTeNormSeg() { + return new TCTeOS.InfCte.InfCTeNorm.Seg(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfModal } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfModal createTCTeOSInfCteInfCTeNormInfModal() { + return new TCTeOS.InfCte.InfCTeNorm.InfModal(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfCteSub } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfCteSub createTCTeOSInfCteInfCTeNormInfCteSub() { + return new TCTeOS.InfCte.InfCTeNorm.InfCteSub(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp createTCTeOSInfCteInfCTeNormInfGTVeComp() { + return new TCTeOS.InfCte.InfCTeNorm.InfGTVe.Comp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr.Fat } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr.Fat createTCTeOSInfCteInfCTeNormCobrFat() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.Cobr.Dup } + * + */ + public TCTeOS.InfCte.InfCTeNorm.Cobr.Dup createTCTeOSInfCteInfCTeNormCobrDup() { + return new TCTeOS.InfCte.InfCTeNorm.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ } + * + */ + public TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ createTCTeOSInfCteInfCTeNormInfServicoInfQ() { + return new TCTeOS.InfCte.InfCTeNorm.InfServico.InfQ(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp.ICMSUFFim } + * + */ + public TCTeOS.InfCte.Imp.ICMSUFFim createTCTeOSInfCteImpICMSUFFim() { + return new TCTeOS.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Imp.InfTribFed } + * + */ + public TCTeOS.InfCte.Imp.InfTribFed createTCTeOSInfCteImpInfTribFed() { + return new TCTeOS.InfCte.Imp.InfTribFed(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.VPrest.Comp } + * + */ + public TCTeOS.InfCte.VPrest.Comp createTCTeOSInfCteVPrestComp() { + return new TCTeOS.InfCte.VPrest.Comp(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl.ObsCont } + * + */ + public TCTeOS.InfCte.Compl.ObsCont createTCTeOSInfCteComplObsCont() { + return new TCTeOS.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Compl.ObsFisco } + * + */ + public TCTeOS.InfCte.Compl.ObsFisco createTCTeOSInfCteComplObsFisco() { + return new TCTeOS.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTeOS.InfCte.Ide.InfPercurso } + * + */ + public TCTeOS.InfCte.Ide.InfPercurso createTCTeOSInfCteIdeInfPercurso() { + return new TCTeOS.InfCte.Ide.InfPercurso(); + } + + /** + * Create an instance of {@link TCTe.InfCTeSupl } + * + */ + public TCTe.InfCTeSupl createTCTeInfCTeSupl() { + return new TCTe.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Emit } + * + */ + public TCTe.InfCte.Emit createTCTeInfCteEmit() { + return new TCTe.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Rem } + * + */ + public TCTe.InfCte.Rem createTCTeInfCteRem() { + return new TCTe.InfCte.Rem(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Exped } + * + */ + public TCTe.InfCte.Exped createTCTeInfCteExped() { + return new TCTe.InfCte.Exped(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Receb } + * + */ + public TCTe.InfCte.Receb createTCTeInfCteReceb() { + return new TCTe.InfCte.Receb(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Dest } + * + */ + public TCTe.InfCte.Dest createTCTeInfCteDest() { + return new TCTe.InfCte.Dest(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCteComp } + * + */ + public TCTe.InfCte.InfCteComp createTCTeInfCteInfCteComp() { + return new TCTe.InfCte.InfCteComp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.AutXML } + * + */ + public TCTe.InfCte.AutXML createTCTeInfCteAutXML() { + return new TCTe.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfSolicNFF } + * + */ + public TCTe.InfCte.InfSolicNFF createTCTeInfCteInfSolicNFF() { + return new TCTe.InfCte.InfSolicNFF(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfPAA.PAASignature } + * + */ + public TCTe.InfCte.InfPAA.PAASignature createTCTeInfCteInfPAAPAASignature() { + return new TCTe.InfCte.InfPAA.PAASignature(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfModal } + * + */ + public TCTe.InfCte.InfCTeNorm.InfModal createTCTeInfCteInfCTeNormInfModal() { + return new TCTe.InfCte.InfCTeNorm.InfModal(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.VeicNovos } + * + */ + public TCTe.InfCte.InfCTeNorm.VeicNovos createTCTeInfCteInfCTeNormVeicNovos() { + return new TCTe.InfCte.InfCTeNorm.VeicNovos(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCteSub } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCteSub createTCTeInfCteInfCTeNormInfCteSub() { + return new TCTe.InfCte.InfCTeNorm.InfCteSub(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfGlobalizado } + * + */ + public TCTe.InfCte.InfCTeNorm.InfGlobalizado createTCTeInfCteInfCTeNormInfGlobalizado() { + return new TCTe.InfCte.InfCTeNorm.InfGlobalizado(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal } + * + */ + public TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal createTCTeInfCteInfCTeNormInfServVincInfCTeMultimodal() { + return new TCTe.InfCte.InfCTeNorm.InfServVinc.InfCTeMultimodal(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr.Fat } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr.Fat createTCTeInfCteInfCTeNormCobrFat() { + return new TCTe.InfCte.InfCTeNorm.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.Cobr.Dup } + * + */ + public TCTe.InfCte.InfCTeNorm.Cobr.Dup createTCTeInfCteInfCTeNormCobrDup() { + return new TCTe.InfCte.InfCTeNorm.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAntIdDocAntPap() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntPap(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle } + * + */ + public TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle createTCTeInfCteInfCTeNormDocAntEmiDocAntIdDocAntIdDocAntEle() { + return new TCTe.InfCte.InfCTeNorm.DocAnt.EmiDocAnt.IdDocAnt.IdDocAntEle(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfNF } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfNF createTCTeInfCteInfCTeNormInfDocInfNF() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfNF(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe createTCTeInfCteInfCTeNormInfDocInfNFe() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfNFe(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros } + * + */ + public TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros createTCTeInfCteInfCTeNormInfDocInfOutros() { + return new TCTe.InfCte.InfCTeNorm.InfDoc.InfOutros(); + } + + /** + * Create an instance of {@link TCTe.InfCte.InfCTeNorm.InfCarga.InfQ } + * + */ + public TCTe.InfCte.InfCTeNorm.InfCarga.InfQ createTCTeInfCteInfCTeNormInfCargaInfQ() { + return new TCTe.InfCte.InfCTeNorm.InfCarga.InfQ(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Imp.ICMSUFFim } + * + */ + public TCTe.InfCte.Imp.ICMSUFFim createTCTeInfCteImpICMSUFFim() { + return new TCTe.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTe.InfCte.VPrest.Comp } + * + */ + public TCTe.InfCte.VPrest.Comp createTCTeInfCteVPrestComp() { + return new TCTe.InfCte.VPrest.Comp(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.ObsCont } + * + */ + public TCTe.InfCte.Compl.ObsCont createTCTeInfCteComplObsCont() { + return new TCTe.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.ObsFisco } + * + */ + public TCTe.InfCte.Compl.ObsFisco createTCTeInfCteComplObsFisco() { + return new TCTe.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.SemData } + * + */ + public TCTe.InfCte.Compl.Entrega.SemData createTCTeInfCteComplEntregaSemData() { + return new TCTe.InfCte.Compl.Entrega.SemData(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.ComData } + * + */ + public TCTe.InfCte.Compl.Entrega.ComData createTCTeInfCteComplEntregaComData() { + return new TCTe.InfCte.Compl.Entrega.ComData(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.NoPeriodo } + * + */ + public TCTe.InfCte.Compl.Entrega.NoPeriodo createTCTeInfCteComplEntregaNoPeriodo() { + return new TCTe.InfCte.Compl.Entrega.NoPeriodo(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.SemHora } + * + */ + public TCTe.InfCte.Compl.Entrega.SemHora createTCTeInfCteComplEntregaSemHora() { + return new TCTe.InfCte.Compl.Entrega.SemHora(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.ComHora } + * + */ + public TCTe.InfCte.Compl.Entrega.ComHora createTCTeInfCteComplEntregaComHora() { + return new TCTe.InfCte.Compl.Entrega.ComHora(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Entrega.NoInter } + * + */ + public TCTe.InfCte.Compl.Entrega.NoInter createTCTeInfCteComplEntregaNoInter() { + return new TCTe.InfCte.Compl.Entrega.NoInter(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Compl.Fluxo.Pass } + * + */ + public TCTe.InfCte.Compl.Fluxo.Pass createTCTeInfCteComplFluxoPass() { + return new TCTe.InfCte.Compl.Fluxo.Pass(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide.Toma3 } + * + */ + public TCTe.InfCte.Ide.Toma3 createTCTeInfCteIdeToma3() { + return new TCTe.InfCte.Ide.Toma3(); + } + + /** + * Create an instance of {@link TCTe.InfCte.Ide.Toma4 } + * + */ + public TCTe.InfCte.Ide.Toma4 createTCTeInfCteIdeToma4() { + return new TCTe.InfCte.Ide.Toma4(); + } + + /** + * Create an instance of {@link TProtGTVe.InfProt } + * + */ + public TProtGTVe.InfProt createTProtGTVeInfProt() { + return new TProtGTVe.InfProt(); + } + + /** + * Create an instance of {@link TProtGTVe.InfFisco } + * + */ + public TProtGTVe.InfFisco createTProtGTVeInfFisco() { + return new TProtGTVe.InfFisco(); + } + + /** + * Create an instance of {@link TProtCTeOS.InfProt } + * + */ + public TProtCTeOS.InfProt createTProtCTeOSInfProt() { + return new TProtCTeOS.InfProt(); + } + + /** + * Create an instance of {@link TProtCTeOS.InfFisco } + * + */ + public TProtCTeOS.InfFisco createTProtCTeOSInfFisco() { + return new TProtCTeOS.InfFisco(); + } + + /** + * Create an instance of {@link TGTVe.InfCTeSupl } + * + */ + public TGTVe.InfCTeSupl createTGTVeInfCTeSupl() { + return new TGTVe.InfCTeSupl(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Emit } + * + */ + public TGTVe.InfCte.Emit createTGTVeInfCteEmit() { + return new TGTVe.InfCte.Emit(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Rem } + * + */ + public TGTVe.InfCte.Rem createTGTVeInfCteRem() { + return new TGTVe.InfCte.Rem(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Dest } + * + */ + public TGTVe.InfCte.Dest createTGTVeInfCteDest() { + return new TGTVe.InfCte.Dest(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.AutXML } + * + */ + public TGTVe.InfCte.AutXML createTGTVeInfCteAutXML() { + return new TGTVe.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV.InfEspecie } + * + */ + public TGTVe.InfCte.DetGTV.InfEspecie createTGTVeInfCteDetGTVInfEspecie() { + return new TGTVe.InfCte.DetGTV.InfEspecie(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.DetGTV.InfVeiculo } + * + */ + public TGTVe.InfCte.DetGTV.InfVeiculo createTGTVeInfCteDetGTVInfVeiculo() { + return new TGTVe.InfCte.DetGTV.InfVeiculo(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl.ObsCont } + * + */ + public TGTVe.InfCte.Compl.ObsCont createTGTVeInfCteComplObsCont() { + return new TGTVe.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Compl.ObsFisco } + * + */ + public TGTVe.InfCte.Compl.ObsFisco createTGTVeInfCteComplObsFisco() { + return new TGTVe.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide.Toma } + * + */ + public TGTVe.InfCte.Ide.Toma createTGTVeInfCteIdeToma() { + return new TGTVe.InfCte.Ide.Toma(); + } + + /** + * Create an instance of {@link TGTVe.InfCte.Ide.TomaTerceiro } + * + */ + public TGTVe.InfCte.Ide.TomaTerceiro createTGTVeInfCteIdeTomaTerceiro() { + return new TGTVe.InfCte.Ide.TomaTerceiro(); + } + + /** + * Create an instance of {@link TProtCTe.InfProt } + * + */ + public TProtCTe.InfProt createTProtCTeInfProt() { + return new TProtCTe.InfProt(); + } + + /** + * Create an instance of {@link TProtCTe.InfFisco } + * + */ + public TProtCTe.InfFisco createTProtCTeInfFisco() { + return new TProtCTe.InfFisco(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCTeSupl } + * + */ + public TCTeSimp.InfCTeSupl createTCTeSimpInfCTeSupl() { + return new TCTeSimp.InfCTeSupl(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Ide } + * + */ + public TCTeSimp.InfCte.Ide createTCTeSimpInfCteIde() { + return new TCTeSimp.InfCte.Ide(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Emit } + * + */ + public TCTeSimp.InfCte.Emit createTCTeSimpInfCteEmit() { + return new TCTeSimp.InfCte.Emit(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Toma } + * + */ + public TCTeSimp.InfCte.Toma createTCTeSimpInfCteToma() { + return new TCTeSimp.InfCte.Toma(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfModal } + * + */ + public TCTeSimp.InfCte.InfModal createTCTeSimpInfCteInfModal() { + return new TCTeSimp.InfCte.InfModal(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCteSub } + * + */ + public TCTeSimp.InfCte.InfCteSub createTCTeSimpInfCteInfCteSub() { + return new TCTeSimp.InfCte.InfCteSub(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Total } + * + */ + public TCTeSimp.InfCte.Total createTCTeSimpInfCteTotal() { + return new TCTeSimp.InfCte.Total(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.AutXML } + * + */ + public TCTeSimp.InfCte.AutXML createTCTeSimpInfCteAutXML() { + return new TCTeSimp.InfCte.AutXML(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfSolicNFF } + * + */ + public TCTeSimp.InfCte.InfSolicNFF createTCTeSimpInfCteInfSolicNFF() { + return new TCTeSimp.InfCte.InfSolicNFF(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfPAA.PAASignature } + * + */ + public TCTeSimp.InfCte.InfPAA.PAASignature createTCTeSimpInfCteInfPAAPAASignature() { + return new TCTeSimp.InfCte.InfPAA.PAASignature(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Imp.ICMSUFFim } + * + */ + public TCTeSimp.InfCte.Imp.ICMSUFFim createTCTeSimpInfCteImpICMSUFFim() { + return new TCTeSimp.InfCte.Imp.ICMSUFFim(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr.Fat } + * + */ + public TCTeSimp.InfCte.Cobr.Fat createTCTeSimpInfCteCobrFat() { + return new TCTeSimp.InfCte.Cobr.Fat(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Cobr.Dup } + * + */ + public TCTeSimp.InfCte.Cobr.Dup createTCTeSimpInfCteCobrDup() { + return new TCTeSimp.InfCte.Cobr.Dup(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.Comp } + * + */ + public TCTeSimp.InfCte.Det.Comp createTCTeSimpInfCteDetComp() { + return new TCTeSimp.InfCte.Det.Comp(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfNFe } + * + */ + public TCTeSimp.InfCte.Det.InfNFe createTCTeSimpInfCteDetInfNFe() { + return new TCTeSimp.InfCte.Det.InfNFe(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial } + * + */ + public TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial createTCTeSimpInfCteDetInfDocAntInfNFeTranspParcial() { + return new TCTeSimp.InfCte.Det.InfDocAnt.InfNFeTranspParcial(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.InfCarga.InfQ } + * + */ + public TCTeSimp.InfCte.InfCarga.InfQ createTCTeSimpInfCteInfCargaInfQ() { + return new TCTeSimp.InfCte.InfCarga.InfQ(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.ObsCont } + * + */ + public TCTeSimp.InfCte.Compl.ObsCont createTCTeSimpInfCteComplObsCont() { + return new TCTeSimp.InfCte.Compl.ObsCont(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.ObsFisco } + * + */ + public TCTeSimp.InfCte.Compl.ObsFisco createTCTeSimpInfCteComplObsFisco() { + return new TCTeSimp.InfCte.Compl.ObsFisco(); + } + + /** + * Create an instance of {@link TCTeSimp.InfCte.Compl.Fluxo.Pass } + * + */ + public TCTeSimp.InfCte.Compl.Fluxo.Pass createTCTeSimpInfCteComplFluxoPass() { + return new TCTeSimp.InfCte.Compl.Fluxo.Pass(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ReferenceType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ReferenceType.java new file mode 100644 index 0000000..ace3eb3 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/ReferenceType.java @@ -0,0 +1,273 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for ReferenceType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ReferenceType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
+ *         <element name="DigestMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
+ *             <minLength value="2"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms", required = true) + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected ReferenceType.DigestMethod digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI", required = true) + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethod } + * + */ + public DigestMethod getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethod } + * + */ + public void setDigestMethod(DigestMethod value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DigestMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#sha1"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureType.java new file mode 100644 index 0000000..5b7f81e --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureType.java @@ -0,0 +1,151 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for SignatureType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignatureType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignedInfo" type="{http://www.w3.org/2000/09/xmldsig#}SignedInfoType"/>
+ *         <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}SignatureValueType"/>
+ *         <element name="KeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo", required = true) + protected KeyInfoType keyInfo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureValueType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureValueType.java new file mode 100644 index 0000000..cfa5e6a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignatureValueType.java @@ -0,0 +1,91 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + + +/** + *

Java class for SignatureValueType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignatureValueType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignedInfoType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignedInfoType.java new file mode 100644 index 0000000..c0fe640 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/SignedInfoType.java @@ -0,0 +1,279 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for SignedInfoType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SignedInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CanonicalizationMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="SignatureMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected SignedInfoType.CanonicalizationMethod canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignedInfoType.SignatureMethod signatureMethod; + @XmlElement(name = "Reference", required = true) + protected ReferenceType reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the canonicalizationMethod property. + * + * @return + * possible object is + * {@link CanonicalizationMethod } + * + */ + public CanonicalizationMethod getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Sets the value of the canonicalizationMethod property. + * + * @param value + * allowed object is + * {@link CanonicalizationMethod } + * + */ + public void setCanonicalizationMethod(CanonicalizationMethod value) { + this.canonicalizationMethod = value; + } + + /** + * Gets the value of the signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethod } + * + */ + public SignatureMethod getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethod } + * + */ + public void setSignatureMethod(SignatureMethod value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link ReferenceType } + * + */ + public ReferenceType getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link ReferenceType } + * + */ + public void setReference(ReferenceType value) { + this.reference = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class CanonicalizationMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class SignatureMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + } else { + return algorithm; + } + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTe.java new file mode 100644 index 0000000..28707c0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTe.java @@ -0,0 +1,13312 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + +import org.w3c.dom.Element; + +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico (Modelo 57) + * + *

Java class for TCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indGlobalizado" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunIni">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunFim">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="retira">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xDetRetira" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="160"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="toma3">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="0"/>
+ *                                               <enumeration value="1"/>
+ *                                               <enumeration value="2"/>
+ *                                               <enumeration value="3"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="toma4">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <choice>
+ *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                         </choice>
+ *                                         <element name="IE" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <sequence>
+ *                                           <element name="xNome">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <maxLength value="60"/>
+ *                                                 <minLength value="2"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="xFant" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <maxLength value="60"/>
+ *                                                 <minLength value="2"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                                           <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                                           <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                                         </sequence>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fluxo" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xOrig" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="pass" maxOccurs="unbounded" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xPass" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="15"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="xDest" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xRota" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="10"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="Entrega" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <choice>
+ *                                         <element name="semData">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="comData">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="noPeriodo">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpPer">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                   <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </choice>
+ *                                       <choice>
+ *                                         <element name="semHora">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="comHora">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="noInter">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpHor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                   <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </choice>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="origCalc" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="40"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="destCalc" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="40"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="rem" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="exped" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="receb" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="dest" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vPrest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <choice>
+ *                     <element name="infCTeNorm">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="infCarga">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                         <element name="proPred">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="60"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xOutCat" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infQ" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="cUnid">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="00"/>
+ *                                                         <enumeration value="01"/>
+ *                                                         <enumeration value="02"/>
+ *                                                         <enumeration value="03"/>
+ *                                                         <enumeration value="04"/>
+ *                                                         <enumeration value="05"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpMed">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="20"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDoc" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <choice>
+ *                                           <element name="infNF" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="nRoma" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nPed" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+ *                                                     <element name="serie">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="3"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nDoc">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                     <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                                                     <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+ *                                                     <element name="PIN" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="2"/>
+ *                                                           <maxLength value="9"/>
+ *                                                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                           <element name="infNFe" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                     <element name="PIN" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="2"/>
+ *                                                           <maxLength value="9"/>
+ *                                                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                           <element name="infOutros" maxOccurs="unbounded">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <sequence>
+ *                                                     <element name="tpDoc">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <enumeration value="00"/>
+ *                                                           <enumeration value="10"/>
+ *                                                           <enumeration value="59"/>
+ *                                                           <enumeration value="65"/>
+ *                                                           <enumeration value="99"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="descOutros" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="100"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nDoc" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                     <choice>
+ *                                                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                                     </choice>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                         </choice>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="docAnt" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="emiDocAnt" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <choice>
+ *                                                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                                   </choice>
+ *                                                   <sequence minOccurs="0">
+ *                                                     <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+ *                                                     <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                                                   </sequence>
+ *                                                   <element name="xNome">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="idDocAnt" maxOccurs="2">
+ *                                                     <complexType>
+ *                                                       <complexContent>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                           <choice>
+ *                                                             <element name="idDocAntPap" maxOccurs="unbounded">
+ *                                                               <complexType>
+ *                                                                 <complexContent>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                                     <sequence>
+ *                                                                       <element name="tpDoc">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="serie">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="3"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="subser" minOccurs="0">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="2"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="nDoc">
+ *                                                                         <simpleType>
+ *                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                                             <minLength value="1"/>
+ *                                                                             <maxLength value="30"/>
+ *                                                                           </restriction>
+ *                                                                         </simpleType>
+ *                                                                       </element>
+ *                                                                       <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                                                     </sequence>
+ *                                                                   </restriction>
+ *                                                                 </complexContent>
+ *                                                               </complexType>
+ *                                                             </element>
+ *                                                             <element name="idDocAntEle" maxOccurs="unbounded">
+ *                                                               <complexType>
+ *                                                                 <complexContent>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                                     <sequence>
+ *                                                                       <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                                     </sequence>
+ *                                                                   </restriction>
+ *                                                                 </complexContent>
+ *                                                               </complexType>
+ *                                                             </element>
+ *                                                           </choice>
+ *                                                         </restriction>
+ *                                                       </complexContent>
+ *                                                     </complexType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infModal">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <any processContents='skip'/>
+ *                                       </sequence>
+ *                                       <attribute name="versaoModal" use="required">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </attribute>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chassi">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <length value="17"/>
+ *                                               <pattern value="[A-Z0-9]+"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="cCor">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xCor">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="40"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="cMod">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="6"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                         <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="cobr" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="fat" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nFat" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="60"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nDup" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infCteSub" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCte">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="indAlteraToma" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <enumeration value="1"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infGlobalizado" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="xObs">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="15"/>
+ *                                               <maxLength value="256"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infServVinc" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="infCTeMultimodal" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="infCteComp" maxOccurs="10">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                   </choice>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                   <element name="infSolicNFF" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xSolic">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="8000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infPAA" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="PAASignature">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *                                       <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTe", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TCTe { + + @XmlElement(required = true) + protected TCTe.InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indGlobalizado" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunIni">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunFim">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="retira">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xDetRetira" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="160"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="toma3">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="0"/>
+     *                                     <enumeration value="1"/>
+     *                                     <enumeration value="2"/>
+     *                                     <enumeration value="3"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="toma4">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <choice>
+     *                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                 <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                               </choice>
+     *                               <element name="IE" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <sequence>
+     *                                 <element name="xNome">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <maxLength value="60"/>
+     *                                       <minLength value="2"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="xFant" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <maxLength value="60"/>
+     *                                       <minLength value="2"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                                 <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                                 <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                               </sequence>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fluxo" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xOrig" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="pass" maxOccurs="unbounded" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xPass" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="15"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="xDest" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xRota" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="10"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="Entrega" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <choice>
+     *                               <element name="semData">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="comData">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="noPeriodo">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpPer">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                         <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </choice>
+     *                             <choice>
+     *                               <element name="semHora">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="comHora">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="noInter">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpHor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                         <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </choice>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="origCalc" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="40"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="destCalc" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="40"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="rem" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="exped" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="receb" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="dest" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vPrest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <choice>
+     *           <element name="infCTeNorm">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="infCarga">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                               <element name="proPred">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="60"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xOutCat" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infQ" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="cUnid">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="00"/>
+     *                                               <enumeration value="01"/>
+     *                                               <enumeration value="02"/>
+     *                                               <enumeration value="03"/>
+     *                                               <enumeration value="04"/>
+     *                                               <enumeration value="05"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpMed">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="20"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDoc" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <choice>
+     *                                 <element name="infNF" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="nRoma" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nPed" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+     *                                           <element name="serie">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="3"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nDoc">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                           <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                                           <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+     *                                           <element name="PIN" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="2"/>
+     *                                                 <maxLength value="9"/>
+     *                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                                 <element name="infNFe" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                           <element name="PIN" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="2"/>
+     *                                                 <maxLength value="9"/>
+     *                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                                 <element name="infOutros" maxOccurs="unbounded">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <sequence>
+     *                                           <element name="tpDoc">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <enumeration value="00"/>
+     *                                                 <enumeration value="10"/>
+     *                                                 <enumeration value="59"/>
+     *                                                 <enumeration value="65"/>
+     *                                                 <enumeration value="99"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="descOutros" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="100"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nDoc" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                           <choice>
+     *                                             <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                             <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                                           </choice>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                               </choice>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="docAnt" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="emiDocAnt" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <choice>
+     *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                                         </choice>
+     *                                         <sequence minOccurs="0">
+     *                                           <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+     *                                           <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                                         </sequence>
+     *                                         <element name="xNome">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="idDocAnt" maxOccurs="2">
+     *                                           <complexType>
+     *                                             <complexContent>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                 <choice>
+     *                                                   <element name="idDocAntPap" maxOccurs="unbounded">
+     *                                                     <complexType>
+     *                                                       <complexContent>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                           <sequence>
+     *                                                             <element name="tpDoc">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="serie">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="3"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="subser" minOccurs="0">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="2"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="nDoc">
+     *                                                               <simpleType>
+     *                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                                                   <minLength value="1"/>
+     *                                                                   <maxLength value="30"/>
+     *                                                                 </restriction>
+     *                                                               </simpleType>
+     *                                                             </element>
+     *                                                             <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                                           </sequence>
+     *                                                         </restriction>
+     *                                                       </complexContent>
+     *                                                     </complexType>
+     *                                                   </element>
+     *                                                   <element name="idDocAntEle" maxOccurs="unbounded">
+     *                                                     <complexType>
+     *                                                       <complexContent>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                           <sequence>
+     *                                                             <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                                           </sequence>
+     *                                                         </restriction>
+     *                                                       </complexContent>
+     *                                                     </complexType>
+     *                                                   </element>
+     *                                                 </choice>
+     *                                               </restriction>
+     *                                             </complexContent>
+     *                                           </complexType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infModal">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <any processContents='skip'/>
+     *                             </sequence>
+     *                             <attribute name="versaoModal" use="required">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </attribute>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chassi">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <length value="17"/>
+     *                                     <pattern value="[A-Z0-9]+"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="cCor">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xCor">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="40"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="cMod">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="6"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                               <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="cobr" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="fat" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nFat" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="60"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nDup" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infCteSub" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCte">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="indAlteraToma" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <enumeration value="1"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infGlobalizado" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="xObs">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="15"/>
+     *                                     <maxLength value="256"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infServVinc" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="infCTeMultimodal" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="infCteComp" maxOccurs="10">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *         </choice>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *         <element name="infSolicNFF" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xSolic">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="8000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infPAA" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="PAASignature">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+     *                             <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "rem", + "exped", + "receb", + "dest", + "vPrest", + "imp", + "infCTeNorm", + "infCteComp", + "autXML", + "infRespTec", + "infSolicNFF", + "infPAA" + }) + public static class InfCte { + + @XmlElement(required = true) + protected TCTe.InfCte.Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected TCTe.InfCte.Emit emit; + protected Rem rem; + protected Exped exped; + protected Receb receb; + protected Dest dest; + @XmlElement(required = true) + protected TCTe.InfCte.VPrest vPrest; + @XmlElement(required = true) + protected TCTe.InfCte.Imp imp; + protected InfCTeNorm infCTeNorm; + protected List infCteComp; + protected List autXML; + protected TRespTec infRespTec; + protected InfSolicNFF infSolicNFF; + protected InfPAA infPAA; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the rem property. + * + * @return + * possible object is + * {@link Rem } + * + */ + public Rem getRem() { + return rem; + } + + /** + * Sets the value of the rem property. + * + * @param value + * allowed object is + * {@link Rem } + * + */ + public void setRem(Rem value) { + this.rem = value; + } + + /** + * Gets the value of the exped property. + * + * @return + * possible object is + * {@link Exped } + * + */ + public Exped getExped() { + return exped; + } + + /** + * Sets the value of the exped property. + * + * @param value + * allowed object is + * {@link Exped } + * + */ + public void setExped(Exped value) { + this.exped = value; + } + + /** + * Gets the value of the receb property. + * + * @return + * possible object is + * {@link Receb } + * + */ + public Receb getReceb() { + return receb; + } + + /** + * Sets the value of the receb property. + * + * @param value + * allowed object is + * {@link Receb } + * + */ + public void setReceb(Receb value) { + this.receb = value; + } + + /** + * Gets the value of the dest property. + * + * @return + * possible object is + * {@link Dest } + * + */ + public Dest getDest() { + return dest; + } + + /** + * Sets the value of the dest property. + * + * @param value + * allowed object is + * {@link Dest } + * + */ + public void setDest(Dest value) { + this.dest = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return + * possible object is + * {@link VPrest } + * + */ + public VPrest getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value + * allowed object is + * {@link VPrest } + * + */ + public void setVPrest(VPrest value) { + this.vPrest = value; + } + + /** + * Gets the value of the imp property. + * + * @return + * possible object is + * {@link Imp } + * + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value + * allowed object is + * {@link Imp } + * + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the infCTeNorm property. + * + * @return + * possible object is + * {@link InfCTeNorm } + * + */ + public InfCTeNorm getInfCTeNorm() { + return infCTeNorm; + } + + /** + * Sets the value of the infCTeNorm property. + * + * @param value + * allowed object is + * {@link InfCTeNorm } + * + */ + public void setInfCTeNorm(InfCTeNorm value) { + this.infCTeNorm = value; + } + + /** + * Gets the value of the infCteComp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infCteComp property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getInfCteComp().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCteComp } + * + * + */ + public List getInfCteComp() { + if (infCteComp == null) { + infCteComp = new ArrayList(); + } + return this.infCteComp; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the infSolicNFF property. + * + * @return + * possible object is + * {@link InfSolicNFF } + * + */ + public InfSolicNFF getInfSolicNFF() { + return infSolicNFF; + } + + /** + * Sets the value of the infSolicNFF property. + * + * @param value + * allowed object is + * {@link InfSolicNFF } + * + */ + public void setInfSolicNFF(InfSolicNFF value) { + this.infSolicNFF = value; + } + + /** + * Gets the value of the infPAA property. + * + * @return + * possible object is + * {@link InfPAA } + * + */ + public InfPAA getInfPAA() { + return infPAA; + } + + /** + * Sets the value of the infPAA property. + * + * @param value + * allowed object is + * {@link InfPAA } + * + */ + public void setInfPAA(InfPAA value) { + this.infPAA = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fluxo" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xOrig" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="pass" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xPass" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="15"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="xDest" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xRota" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="10"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="Entrega" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <choice>
+         *                     <element name="semData">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="comData">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="noPeriodo">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpPer">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                               <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                   <choice>
+         *                     <element name="semHora">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="comHora">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="noInter">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpHor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                               <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="origCalc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="40"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="destCalc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="40"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "fluxo", + "entrega", + "origCalc", + "destCalc", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected Fluxo fluxo; + @XmlElement(name = "Entrega") + protected TCTe.InfCte.Compl.Entrega entrega; + protected String origCalc; + protected String destCalc; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the fluxo property. + * + * @return + * possible object is + * {@link Fluxo } + * + */ + public Fluxo getFluxo() { + return fluxo; + } + + /** + * Sets the value of the fluxo property. + * + * @param value + * allowed object is + * {@link Fluxo } + * + */ + public void setFluxo(Fluxo value) { + this.fluxo = value; + } + + /** + * Gets the value of the entrega property. + * + * @return + * possible object is + * {@link Entrega } + * + */ + public Entrega getEntrega() { + return entrega; + } + + /** + * Sets the value of the entrega property. + * + * @param value + * allowed object is + * {@link Entrega } + * + */ + public void setEntrega(Entrega value) { + this.entrega = value; + } + + /** + * Gets the value of the origCalc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrigCalc() { + return origCalc; + } + + /** + * Sets the value of the origCalc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrigCalc(String value) { + this.origCalc = value; + } + + /** + * Gets the value of the destCalc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDestCalc() { + return destCalc; + } + + /** + * Sets the value of the destCalc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDestCalc(String value) { + this.destCalc = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <choice>
+             *           <element name="semData">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="comData">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="noPeriodo">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpPer">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                     <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *         <choice>
+             *           <element name="semHora">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="comHora">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="noInter">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpHor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                     <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "semData", + "comData", + "noPeriodo", + "semHora", + "comHora", + "noInter" + }) + public static class Entrega { + + protected SemData semData; + protected ComData comData; + protected NoPeriodo noPeriodo; + protected SemHora semHora; + protected ComHora comHora; + protected NoInter noInter; + + /** + * Gets the value of the semData property. + * + * @return + * possible object is + * {@link SemData } + * + */ + public SemData getSemData() { + return semData; + } + + /** + * Sets the value of the semData property. + * + * @param value + * allowed object is + * {@link SemData } + * + */ + public void setSemData(SemData value) { + this.semData = value; + } + + /** + * Gets the value of the comData property. + * + * @return + * possible object is + * {@link ComData } + * + */ + public ComData getComData() { + return comData; + } + + /** + * Sets the value of the comData property. + * + * @param value + * allowed object is + * {@link ComData } + * + */ + public void setComData(ComData value) { + this.comData = value; + } + + /** + * Gets the value of the noPeriodo property. + * + * @return + * possible object is + * {@link NoPeriodo } + * + */ + public NoPeriodo getNoPeriodo() { + return noPeriodo; + } + + /** + * Sets the value of the noPeriodo property. + * + * @param value + * allowed object is + * {@link NoPeriodo } + * + */ + public void setNoPeriodo(NoPeriodo value) { + this.noPeriodo = value; + } + + /** + * Gets the value of the semHora property. + * + * @return + * possible object is + * {@link SemHora } + * + */ + public SemHora getSemHora() { + return semHora; + } + + /** + * Sets the value of the semHora property. + * + * @param value + * allowed object is + * {@link SemHora } + * + */ + public void setSemHora(SemHora value) { + this.semHora = value; + } + + /** + * Gets the value of the comHora property. + * + * @return + * possible object is + * {@link ComHora } + * + */ + public ComHora getComHora() { + return comHora; + } + + /** + * Sets the value of the comHora property. + * + * @param value + * allowed object is + * {@link ComHora } + * + */ + public void setComHora(ComHora value) { + this.comHora = value; + } + + /** + * Gets the value of the noInter property. + * + * @return + * possible object is + * {@link NoInter } + * + */ + public NoInter getNoInter() { + return noInter; + } + + /** + * Sets the value of the noInter property. + * + * @param value + * allowed object is + * {@link NoInter } + * + */ + public void setNoInter(NoInter value) { + this.noInter = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer", + "dProg" + }) + public static class ComData { + + @XmlElement(required = true) + protected String tpPer; + @XmlElement(required = true) + protected String dProg; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + /** + * Gets the value of the dProg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDProg() { + return dProg; + } + + /** + * Sets the value of the dProg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDProg(String value) { + this.dProg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor", + "hProg" + }) + public static class ComHora { + + @XmlElement(required = true) + protected String tpHor; + @XmlElement(required = true) + protected String hProg; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + /** + * Gets the value of the hProg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHProg() { + return hProg; + } + + /** + * Sets the value of the hProg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHProg(String value) { + this.hProg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *         <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor", + "hIni", + "hFim" + }) + public static class NoInter { + + @XmlElement(required = true) + protected String tpHor; + @XmlElement(required = true) + protected String hIni; + @XmlElement(required = true) + protected String hFim; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + /** + * Gets the value of the hIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHIni() { + return hIni; + } + + /** + * Sets the value of the hIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHIni(String value) { + this.hIni = value; + } + + /** + * Gets the value of the hFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHFim() { + return hFim; + } + + /** + * Sets the value of the hFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHFim(String value) { + this.hFim = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *         <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer", + "dIni", + "dFim" + }) + public static class NoPeriodo { + + @XmlElement(required = true) + protected String tpPer; + @XmlElement(required = true) + protected String dIni; + @XmlElement(required = true) + protected String dFim; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + /** + * Gets the value of the dIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDIni() { + return dIni; + } + + /** + * Sets the value of the dIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDIni(String value) { + this.dIni = value; + } + + /** + * Gets the value of the dFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDFim() { + return dFim; + } + + /** + * Sets the value of the dFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDFim(String value) { + this.dFim = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpPer">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpPer" + }) + public static class SemData { + + @XmlElement(required = true) + protected String tpPer; + + /** + * Gets the value of the tpPer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPer() { + return tpPer; + } + + /** + * Sets the value of the tpPer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPer(String value) { + this.tpPer = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpHor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpHor" + }) + public static class SemHora { + + @XmlElement(required = true) + protected String tpHor; + + /** + * Gets the value of the tpHor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpHor() { + return tpHor; + } + + /** + * Sets the value of the tpHor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpHor(String value) { + this.tpHor = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xOrig" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="pass" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xPass" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="15"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="xDest" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xRota" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="10"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xOrig", + "pass", + "xDest", + "xRota" + }) + public static class Fluxo { + + protected String xOrig; + protected List pass; + protected String xDest; + protected String xRota; + + /** + * Gets the value of the xOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXOrig() { + return xOrig; + } + + /** + * Sets the value of the xOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXOrig(String value) { + this.xOrig = value; + } + + /** + * Gets the value of the pass property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the pass property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getPass().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Pass } + * + * + */ + public List getPass() { + if (pass == null) { + pass = new ArrayList(); + } + return this.pass; + } + + /** + * Gets the value of the xDest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDest() { + return xDest; + } + + /** + * Sets the value of the xDest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDest(String value) { + this.xDest = value; + } + + /** + * Gets the value of the xRota property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXRota() { + return xRota; + } + + /** + * Sets the value of the xRota property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXRota(String value) { + this.xRota = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="xPass" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xPass" + }) + public static class Pass { + + protected String xPass; + + /** + * Gets the value of the xPass property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPass() { + return xPass; + } + + /** + * Sets the value of the xPass property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPass(String value) { + this.xPass = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "isuf", + "enderDest", + "email" + }) + public static class Dest { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(name = "ISUF") + protected String isuf; + @XmlElement(required = true) + protected TEndereco enderDest; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the isuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the enderDest property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderDest() { + return enderDest; + } + + /** + * Sets the value of the enderDest property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderDest(TEndereco value) { + this.enderDest = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true) + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "enderExped", + "email" + }) + public static class Exped { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderExped; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderExped property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderExped() { + return enderExped; + } + + /** + * Sets the value of the enderExped property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderExped(TEndereco value) { + this.enderExped = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indGlobalizado" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunIni">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunFim">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="retira">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xDetRetira" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="160"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="toma3">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="0"/>
+         *                           <enumeration value="1"/>
+         *                           <enumeration value="2"/>
+         *                           <enumeration value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="toma4">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="4"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <choice>
+         *                       <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                       <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                     </choice>
+         *                     <element name="IE" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <sequence>
+         *                       <element name="xNome">
+         *                         <simpleType>
+         *                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                             <maxLength value="60"/>
+         *                             <minLength value="2"/>
+         *                           </restriction>
+         *                         </simpleType>
+         *                       </element>
+         *                       <element name="xFant" minOccurs="0">
+         *                         <simpleType>
+         *                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                             <maxLength value="60"/>
+         *                             <minLength value="2"/>
+         *                           </restriction>
+         *                         </simpleType>
+         *                       </element>
+         *                       <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *                       <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *                       <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *                     </sequence>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "indGlobalizado", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "cMunIni", + "xMunIni", + "ufIni", + "cMunFim", + "xMunFim", + "ufFim", + "retira", + "xDetRetira", + "indIEToma", + "toma3", + "toma4", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String procEmi; + @XmlElement(required = true) + protected String verProc; + protected String indGlobalizado; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String cMunIni; + @XmlElement(required = true) + protected String xMunIni; + @XmlElement(name = "UFIni", required = true) + @XmlSchemaType(name = "string") + protected TUf ufIni; + @XmlElement(required = true) + protected String cMunFim; + @XmlElement(required = true) + protected String xMunFim; + @XmlElement(name = "UFFim", required = true) + @XmlSchemaType(name = "string") + protected TUf ufFim; + @XmlElement(required = true) + protected String retira; + protected String xDetRetira; + @XmlElement(required = true) + protected String indIEToma; + protected Toma3 toma3; + protected Toma4 toma4; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the indGlobalizado property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndGlobalizado() { + return indGlobalizado; + } + + /** + * Sets the value of the indGlobalizado property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndGlobalizado(String value) { + this.indGlobalizado = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the cMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the retira property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRetira() { + return retira; + } + + /** + * Sets the value of the retira property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRetira(String value) { + this.retira = value; + } + + /** + * Gets the value of the xDetRetira property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDetRetira() { + return xDetRetira; + } + + /** + * Sets the value of the xDetRetira property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDetRetira(String value) { + this.xDetRetira = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the toma3 property. + * + * @return + * possible object is + * {@link Toma3 } + * + */ + public Toma3 getToma3() { + return toma3; + } + + /** + * Sets the value of the toma3 property. + * + * @param value + * allowed object is + * {@link Toma3 } + * + */ + public void setToma3(Toma3 value) { + this.toma3 = value; + } + + /** + * Gets the value of the toma4 property. + * + * @return + * possible object is + * {@link Toma4 } + * + */ + public Toma4 getToma4() { + return toma4; + } + + /** + * Sets the value of the toma4 property. + * + * @param value + * allowed object is + * {@link Toma4 } + * + */ + public void setToma4(Toma4 value) { + this.toma4 = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma" + }) + public static class Toma3 { + + @XmlElement(required = true) + protected String toma; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <choice>
+             *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *         </choice>
+             *         <element name="IE" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <sequence>
+             *           <element name="xNome">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <maxLength value="60"/>
+             *                 <minLength value="2"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="xFant" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <maxLength value="60"/>
+             *                 <minLength value="2"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+             *           <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+             *           <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+             *         </sequence>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class Toma4 { + + @XmlElement(required = true) + protected String toma; + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true) + protected TImp icms; + protected String vTotTrib; + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim") + protected TCTe.InfCte.Imp.ICMSUFFim icmsufFim; + + /** + * Gets the value of the icms property. + * + * @return + * possible object is + * {@link TImp } + * + */ + public TImp getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value + * allowed object is + * {@link TImp } + * + */ + public void setICMS(TImp value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return + * possible object is + * {@link ICMSUFFim } + * + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value + * allowed object is + * {@link ICMSUFFim } + * + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true) + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true) + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true) + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true) + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true) + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true) + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true) + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class InfCteComp { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infCarga">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="proPred">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xOutCat" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="infQ" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="cUnid">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="00"/>
+         *                                   <enumeration value="01"/>
+         *                                   <enumeration value="02"/>
+         *                                   <enumeration value="03"/>
+         *                                   <enumeration value="04"/>
+         *                                   <enumeration value="05"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="tpMed">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="20"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infDoc" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <choice>
+         *                     <element name="infNF" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="nRoma" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nPed" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+         *                               <element name="serie">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nDoc">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                               <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                               <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *                               <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+         *                               <element name="PIN" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <minLength value="2"/>
+         *                                     <maxLength value="9"/>
+         *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="infNFe" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                               <element name="PIN" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <minLength value="2"/>
+         *                                     <maxLength value="9"/>
+         *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="infOutros" maxOccurs="unbounded">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpDoc">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="00"/>
+         *                                     <enumeration value="10"/>
+         *                                     <enumeration value="59"/>
+         *                                     <enumeration value="65"/>
+         *                                     <enumeration value="99"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="descOutros" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="100"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nDoc" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="20"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                               <choice>
+         *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                               </choice>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </choice>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="docAnt" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="emiDocAnt" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <choice>
+         *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                             </choice>
+         *                             <sequence minOccurs="0">
+         *                               <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+         *                               <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *                             </sequence>
+         *                             <element name="xNome">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="idDocAnt" maxOccurs="2">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <choice>
+         *                                       <element name="idDocAntPap" maxOccurs="unbounded">
+         *                                         <complexType>
+         *                                           <complexContent>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                               <sequence>
+         *                                                 <element name="tpDoc">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="serie">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="3"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="subser" minOccurs="0">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="2"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="nDoc">
+         *                                                   <simpleType>
+         *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                                       <minLength value="1"/>
+         *                                                       <maxLength value="30"/>
+         *                                                     </restriction>
+         *                                                   </simpleType>
+         *                                                 </element>
+         *                                                 <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                                               </sequence>
+         *                                             </restriction>
+         *                                           </complexContent>
+         *                                         </complexType>
+         *                                       </element>
+         *                                       <element name="idDocAntEle" maxOccurs="unbounded">
+         *                                         <complexType>
+         *                                           <complexContent>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                               <sequence>
+         *                                                 <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                                               </sequence>
+         *                                             </restriction>
+         *                                           </complexContent>
+         *                                         </complexType>
+         *                                       </element>
+         *                                     </choice>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infModal">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <any processContents='skip'/>
+         *                 </sequence>
+         *                 <attribute name="versaoModal" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                       <whiteSpace value="preserve"/>
+         *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chassi">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <length value="17"/>
+         *                         <pattern value="[A-Z0-9]+"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cCor">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="4"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xCor">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="40"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cMod">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="6"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="cobr" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="fat" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nFat" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDup" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infCteSub" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCte">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="indAlteraToma" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <enumeration value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infGlobalizado" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xObs">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="15"/>
+         *                         <maxLength value="256"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infServVinc" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="infCTeMultimodal" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infCarga", + "infDoc", + "docAnt", + "infModal", + "veicNovos", + "cobr", + "infCteSub", + "infGlobalizado", + "infServVinc" + }) + public static class InfCTeNorm { + + @XmlElement(required = true) + protected TCTe.InfCte.InfCTeNorm.InfCarga infCarga; + protected InfDoc infDoc; + protected DocAnt docAnt; + @XmlElement(required = true) + protected TCTe.InfCte.InfCTeNorm.InfModal infModal; + protected List veicNovos; + protected Cobr cobr; + protected InfCteSub infCteSub; + protected InfGlobalizado infGlobalizado; + protected InfServVinc infServVinc; + + /** + * Gets the value of the infCarga property. + * + * @return + * possible object is + * {@link InfCarga } + * + */ + public InfCarga getInfCarga() { + return infCarga; + } + + /** + * Sets the value of the infCarga property. + * + * @param value + * allowed object is + * {@link InfCarga } + * + */ + public void setInfCarga(InfCarga value) { + this.infCarga = value; + } + + /** + * Gets the value of the infDoc property. + * + * @return + * possible object is + * {@link InfDoc } + * + */ + public InfDoc getInfDoc() { + return infDoc; + } + + /** + * Sets the value of the infDoc property. + * + * @param value + * allowed object is + * {@link InfDoc } + * + */ + public void setInfDoc(InfDoc value) { + this.infDoc = value; + } + + /** + * Gets the value of the docAnt property. + * + * @return + * possible object is + * {@link DocAnt } + * + */ + public DocAnt getDocAnt() { + return docAnt; + } + + /** + * Sets the value of the docAnt property. + * + * @param value + * allowed object is + * {@link DocAnt } + * + */ + public void setDocAnt(DocAnt value) { + this.docAnt = value; + } + + /** + * Gets the value of the infModal property. + * + * @return + * possible object is + * {@link InfModal } + * + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value + * allowed object is + * {@link InfModal } + * + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the veicNovos property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the veicNovos property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getVeicNovos().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link VeicNovos } + * + * + */ + public List getVeicNovos() { + if (veicNovos == null) { + veicNovos = new ArrayList(); + } + return this.veicNovos; + } + + /** + * Gets the value of the cobr property. + * + * @return + * possible object is + * {@link Cobr } + * + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value + * allowed object is + * {@link Cobr } + * + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return + * possible object is + * {@link InfCteSub } + * + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value + * allowed object is + * {@link InfCteSub } + * + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the infGlobalizado property. + * + * @return + * possible object is + * {@link InfGlobalizado } + * + */ + public InfGlobalizado getInfGlobalizado() { + return infGlobalizado; + } + + /** + * Sets the value of the infGlobalizado property. + * + * @param value + * allowed object is + * {@link InfGlobalizado } + * + */ + public void setInfGlobalizado(InfGlobalizado value) { + this.infGlobalizado = value; + } + + /** + * Gets the value of the infServVinc property. + * + * @return + * possible object is + * {@link InfServVinc } + * + */ + public InfServVinc getInfServVinc() { + return infServVinc; + } + + /** + * Sets the value of the infServVinc property. + * + * @param value + * allowed object is + * {@link InfServVinc } + * + */ + public void setInfServVinc(InfServVinc value) { + this.infServVinc = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="fat" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nFat" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDup" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return + * possible object is + * {@link Fat } + * + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value + * allowed object is + * {@link Fat } + * + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDup().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + * + * + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nDup" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nFat" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="emiDocAnt" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <choice>
+             *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *                   </choice>
+             *                   <sequence minOccurs="0">
+             *                     <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+             *                     <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+             *                   </sequence>
+             *                   <element name="xNome">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="idDocAnt" maxOccurs="2">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <choice>
+             *                             <element name="idDocAntPap" maxOccurs="unbounded">
+             *                               <complexType>
+             *                                 <complexContent>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                                     <sequence>
+             *                                       <element name="tpDoc">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="serie">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="3"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="subser" minOccurs="0">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="2"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="nDoc">
+             *                                         <simpleType>
+             *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                                             <minLength value="1"/>
+             *                                             <maxLength value="30"/>
+             *                                           </restriction>
+             *                                         </simpleType>
+             *                                       </element>
+             *                                       <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                                     </sequence>
+             *                                   </restriction>
+             *                                 </complexContent>
+             *                               </complexType>
+             *                             </element>
+             *                             <element name="idDocAntEle" maxOccurs="unbounded">
+             *                               <complexType>
+             *                                 <complexContent>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                                     <sequence>
+             *                                       <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                                     </sequence>
+             *                                   </restriction>
+             *                                 </complexContent>
+             *                               </complexType>
+             *                             </element>
+             *                           </choice>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "emiDocAnt" + }) + public static class DocAnt { + + @XmlElement(required = true) + protected List emiDocAnt; + + /** + * Gets the value of the emiDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the emiDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getEmiDocAnt().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link EmiDocAnt } + * + * + */ + public List getEmiDocAnt() { + if (emiDocAnt == null) { + emiDocAnt = new ArrayList(); + } + return this.emiDocAnt; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <choice>
+                 *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+                 *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+                 *         </choice>
+                 *         <sequence minOccurs="0">
+                 *           <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
+                 *           <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+                 *         </sequence>
+                 *         <element name="xNome">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="idDocAnt" maxOccurs="2">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <choice>
+                 *                   <element name="idDocAntPap" maxOccurs="unbounded">
+                 *                     <complexType>
+                 *                       <complexContent>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                           <sequence>
+                 *                             <element name="tpDoc">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="serie">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="3"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="subser" minOccurs="0">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="2"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="nDoc">
+                 *                               <simpleType>
+                 *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *                                   <minLength value="1"/>
+                 *                                   <maxLength value="30"/>
+                 *                                 </restriction>
+                 *                               </simpleType>
+                 *                             </element>
+                 *                             <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *                           </sequence>
+                 *                         </restriction>
+                 *                       </complexContent>
+                 *                     </complexType>
+                 *                   </element>
+                 *                   <element name="idDocAntEle" maxOccurs="unbounded">
+                 *                     <complexType>
+                 *                       <complexContent>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                           <sequence>
+                 *                             <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *                           </sequence>
+                 *                         </restriction>
+                 *                       </complexContent>
+                 *                     </complexType>
+                 *                   </element>
+                 *                 </choice>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "uf", + "xNome", + "idDocAnt" + }) + public static class EmiDocAnt { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(name = "UF") + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected List idDocAnt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the idDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the idDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getIdDocAnt().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAnt } + * + * + */ + public List getIdDocAnt() { + if (idDocAnt == null) { + idDocAnt = new ArrayList(); + } + return this.idDocAnt; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                     * <complexType>
+                     *   <complexContent>
+                     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *       <choice>
+                     *         <element name="idDocAntPap" maxOccurs="unbounded">
+                     *           <complexType>
+                     *             <complexContent>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *                 <sequence>
+                     *                   <element name="tpDoc">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="serie">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="3"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="subser" minOccurs="0">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="2"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="nDoc">
+                     *                     <simpleType>
+                     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                     *                         <minLength value="1"/>
+                     *                         <maxLength value="30"/>
+                     *                       </restriction>
+                     *                     </simpleType>
+                     *                   </element>
+                     *                   <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                     *                 </sequence>
+                     *               </restriction>
+                     *             </complexContent>
+                     *           </complexType>
+                     *         </element>
+                     *         <element name="idDocAntEle" maxOccurs="unbounded">
+                     *           <complexType>
+                     *             <complexContent>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                     *                 <sequence>
+                     *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                     *                 </sequence>
+                     *               </restriction>
+                     *             </complexContent>
+                     *           </complexType>
+                     *         </element>
+                     *       </choice>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "idDocAntPap", + "idDocAntEle" + }) + public static class IdDocAnt { + + protected List idDocAntPap; + protected List idDocAntEle; + + /** + * Gets the value of the idDocAntPap property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the idDocAntPap property. + * + *

+ * For example, to add a new item, do as follows: + *

+                         *    getIdDocAntPap().add(newItem);
+                         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAntPap } + * + * + */ + public List getIdDocAntPap() { + if (idDocAntPap == null) { + idDocAntPap = new ArrayList(); + } + return this.idDocAntPap; + } + + /** + * Gets the value of the idDocAntEle property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the idDocAntEle property. + * + *

+ * For example, to add a new item, do as follows: + *

+                         *    getIdDocAntEle().add(newItem);
+                         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdDocAntEle } + * + * + */ + public List getIdDocAntEle() { + if (idDocAntEle == null) { + idDocAntEle = new ArrayList(); + } + return this.idDocAntEle; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                         * <complexType>
+                         *   <complexContent>
+                         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                         *       <sequence>
+                         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                         *       </sequence>
+                         *     </restriction>
+                         *   </complexContent>
+                         * </complexType>
+                         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class IdDocAntEle { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                         * <complexType>
+                         *   <complexContent>
+                         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                         *       <sequence>
+                         *         <element name="tpDoc">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="serie">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="3"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="subser" minOccurs="0">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="2"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="nDoc">
+                         *           <simpleType>
+                         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                         *               <minLength value="1"/>
+                         *               <maxLength value="30"/>
+                         *             </restriction>
+                         *           </simpleType>
+                         *         </element>
+                         *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                         *       </sequence>
+                         *     </restriction>
+                         *   </complexContent>
+                         * </complexType>
+                         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpDoc", + "serie", + "subser", + "nDoc", + "dEmi" + }) + public static class IdDocAntPap { + + @XmlElement(required = true) + protected String tpDoc; + @XmlElement(required = true) + protected String serie; + protected String subser; + @XmlElement(required = true) + protected String nDoc; + @XmlElement(required = true) + protected String dEmi; + + /** + * Gets the value of the tpDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpDoc() { + return tpDoc; + } + + /** + * Sets the value of the tpDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpDoc(String value) { + this.tpDoc = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the subser property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubser() { + return subser; + } + + /** + * Sets the value of the subser property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubser(String value) { + this.subser = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="proPred">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xOutCat" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infQ" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="cUnid">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="00"/>
+             *                         <enumeration value="01"/>
+             *                         <enumeration value="02"/>
+             *                         <enumeration value="03"/>
+             *                         <enumeration value="04"/>
+             *                         <enumeration value="05"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="tpMed">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="20"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vCarga", + "proPred", + "xOutCat", + "infQ", + "vCargaAverb" + }) + public static class InfCarga { + + protected String vCarga; + @XmlElement(required = true) + protected String proPred; + protected String xOutCat; + @XmlElement(required = true) + protected List infQ; + protected String vCargaAverb; + + /** + * Gets the value of the vCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCarga() { + return vCarga; + } + + /** + * Sets the value of the vCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCarga(String value) { + this.vCarga = value; + } + + /** + * Gets the value of the proPred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProPred() { + return proPred; + } + + /** + * Sets the value of the proPred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProPred(String value) { + this.proPred = value; + } + + /** + * Gets the value of the xOutCat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXOutCat() { + return xOutCat; + } + + /** + * Sets the value of the xOutCat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXOutCat(String value) { + this.xOutCat = value; + } + + /** + * Gets the value of the infQ property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infQ property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfQ().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfQ } + * + * + */ + public List getInfQ() { + if (infQ == null) { + infQ = new ArrayList(); + } + return this.infQ; + } + + /** + * Gets the value of the vCargaAverb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCargaAverb() { + return vCargaAverb; + } + + /** + * Sets the value of the vCargaAverb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCargaAverb(String value) { + this.vCargaAverb = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="cUnid">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="00"/>
+                 *               <enumeration value="01"/>
+                 *               <enumeration value="02"/>
+                 *               <enumeration value="03"/>
+                 *               <enumeration value="04"/>
+                 *               <enumeration value="05"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpMed">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cUnid", + "tpMed", + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true) + protected String cUnid; + @XmlElement(required = true) + protected String tpMed; + @XmlElement(required = true) + protected String qCarga; + + /** + * Gets the value of the cUnid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUnid() { + return cUnid; + } + + /** + * Sets the value of the cUnid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUnid(String value) { + this.cUnid = value; + } + + /** + * Gets the value of the tpMed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpMed() { + return tpMed; + } + + /** + * Sets the value of the tpMed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpMed(String value) { + this.tpMed = value; + } + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCte">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="indAlteraToma" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte", + "indAlteraToma" + }) + public static class InfCteSub { + + @XmlElement(required = true) + protected String chCte; + protected String indAlteraToma; + + /** + * Gets the value of the chCte property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCte(String value) { + this.chCte = value; + } + + /** + * Gets the value of the indAlteraToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndAlteraToma() { + return indAlteraToma; + } + + /** + * Sets the value of the indAlteraToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndAlteraToma(String value) { + this.indAlteraToma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <choice>
+             *           <element name="infNF" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="nRoma" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nPed" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+             *                     <element name="serie">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nDoc">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *                     <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                     <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+             *                     <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+             *                     <element name="PIN" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <minLength value="2"/>
+             *                           <maxLength value="9"/>
+             *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="infNFe" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                     <element name="PIN" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <minLength value="2"/>
+             *                           <maxLength value="9"/>
+             *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="infOutros" maxOccurs="unbounded">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpDoc">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="00"/>
+             *                           <enumeration value="10"/>
+             *                           <enumeration value="59"/>
+             *                           <enumeration value="65"/>
+             *                           <enumeration value="99"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="descOutros" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="100"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nDoc" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="20"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                     <choice>
+             *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *                     </choice>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infNF", + "infNFe", + "infOutros" + }) + public static class InfDoc { + + protected List infNF; + protected List infNFe; + protected List infOutros; + + /** + * Gets the value of the infNF property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infNF property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNF().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNF } + * + * + */ + public List getInfNF() { + if (infNF == null) { + infNF = new ArrayList(); + } + return this.infNF; + } + + /** + * Gets the value of the infNFe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNFe().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFe } + * + * + */ + public List getInfNFe() { + if (infNFe == null) { + infNFe = new ArrayList(); + } + return this.infNFe; + } + + /** + * Gets the value of the infOutros property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infOutros property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfOutros().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfOutros } + * + * + */ + public List getInfOutros() { + if (infOutros == null) { + infOutros = new ArrayList(); + } + return this.infOutros; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nRoma" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nPed" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
+                 *         <element name="serie">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nDoc">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+                 *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+                 *         <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
+                 *         <element name="PIN" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="2"/>
+                 *               <maxLength value="9"/>
+                 *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nRoma", + "nPed", + "mod", + "serie", + "nDoc", + "dEmi", + "vbc", + "vicms", + "vbcst", + "vst", + "vProd", + "vnf", + "ncfop", + "nPeso", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNF { + + protected String nRoma; + protected String nPed; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(required = true) + protected String nDoc; + @XmlElement(required = true) + protected String dEmi; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vBCST", required = true) + protected String vbcst; + @XmlElement(name = "vST", required = true) + protected String vst; + @XmlElement(required = true) + protected String vProd; + @XmlElement(name = "vNF", required = true) + protected String vnf; + @XmlElement(name = "nCFOP", required = true) + protected String ncfop; + protected String nPeso; + @XmlElement(name = "PIN") + protected String pin; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the nRoma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRoma() { + return nRoma; + } + + /** + * Sets the value of the nRoma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRoma(String value) { + this.nRoma = value; + } + + /** + * Gets the value of the nPed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNPed() { + return nPed; + } + + /** + * Sets the value of the nPed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNPed(String value) { + this.nPed = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vbcst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Sets the value of the vbcst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Gets the value of the vst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVST() { + return vst; + } + + /** + * Sets the value of the vst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVST(String value) { + this.vst = value; + } + + /** + * Gets the value of the vProd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVProd() { + return vProd; + } + + /** + * Sets the value of the vProd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVProd(String value) { + this.vProd = value; + } + + /** + * Gets the value of the vnf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVNF() { + return vnf; + } + + /** + * Sets the value of the vnf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVNF(String value) { + this.vnf = value; + } + + /** + * Gets the value of the ncfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCFOP() { + return ncfop; + } + + /** + * Sets the value of the ncfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCFOP(String value) { + this.ncfop = value; + } + + /** + * Gets the value of the nPeso property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNPeso() { + return nPeso; + } + + /** + * Sets the value of the nPeso property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNPeso(String value) { + this.nPeso = value; + } + + /** + * Gets the value of the pin property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *         <element name="PIN" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="2"/>
+                 *               <maxLength value="9"/>
+                 *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chave", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNFe { + + @XmlElement(required = true) + protected String chave; + @XmlElement(name = "PIN") + protected String pin; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the chave property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChave() { + return chave; + } + + /** + * Sets the value of the chave property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChave(String value) { + this.chave = value; + } + + /** + * Gets the value of the pin property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpDoc">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="00"/>
+                 *               <enumeration value="10"/>
+                 *               <enumeration value="59"/>
+                 *               <enumeration value="65"/>
+                 *               <enumeration value="99"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="descOutros" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="100"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nDoc" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <choice>
+                 *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+                 *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+                 *         </choice>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpDoc", + "descOutros", + "nDoc", + "dEmi", + "vDocFisc", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfOutros { + + @XmlElement(required = true) + protected String tpDoc; + protected String descOutros; + protected String nDoc; + protected String dEmi; + protected String vDocFisc; + protected String dPrev; + protected List infUnidCarga; + protected List infUnidTransp; + + /** + * Gets the value of the tpDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpDoc() { + return tpDoc; + } + + /** + * Sets the value of the tpDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpDoc(String value) { + this.tpDoc = value; + } + + /** + * Gets the value of the descOutros property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescOutros() { + return descOutros; + } + + /** + * Sets the value of the descOutros property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescOutros(String value) { + this.descOutros = value; + } + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vDocFisc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDocFisc() { + return vDocFisc; + } + + /** + * Sets the value of the vDocFisc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDocFisc(String value) { + this.vDocFisc = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidCarga().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getInfUnidTransp().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + * + * + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xObs">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="15"/>
+             *               <maxLength value="256"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xObs" + }) + public static class InfGlobalizado { + + @XmlElement(required = true) + protected String xObs; + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <any processContents='skip'/>
+             *       </sequence>
+             *       <attribute name="versaoModal" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *             <whiteSpace value="preserve"/>
+             *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="infCTeMultimodal" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infCTeMultimodal" + }) + public static class InfServVinc { + + @XmlElement(required = true) + protected List infCTeMultimodal; + + /** + * Gets the value of the infCTeMultimodal property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infCTeMultimodal property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfCTeMultimodal().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCTeMultimodal } + * + * + */ + public List getInfCTeMultimodal() { + if (infCTeMultimodal == null) { + infCTeMultimodal = new ArrayList(); + } + return this.infCTeMultimodal; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTeMultimodal" + }) + public static class InfCTeMultimodal { + + @XmlElement(required = true) + protected String chCTeMultimodal; + + /** + * Gets the value of the chCTeMultimodal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTeMultimodal() { + return chCTeMultimodal; + } + + /** + * Sets the value of the chCTeMultimodal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTeMultimodal(String value) { + this.chCTeMultimodal = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chassi">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <length value="17"/>
+             *               <pattern value="[A-Z0-9]+"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cCor">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xCor">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="40"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cMod">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="6"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chassi", + "cCor", + "xCor", + "cMod", + "vUnit", + "vFrete" + }) + public static class VeicNovos { + + @XmlElement(required = true) + protected String chassi; + @XmlElement(required = true) + protected String cCor; + @XmlElement(required = true) + protected String xCor; + @XmlElement(required = true) + protected String cMod; + @XmlElement(required = true) + protected String vUnit; + @XmlElement(required = true) + protected String vFrete; + + /** + * Gets the value of the chassi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChassi() { + return chassi; + } + + /** + * Sets the value of the chassi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChassi(String value) { + this.chassi = value; + } + + /** + * Gets the value of the cCor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCor() { + return cCor; + } + + /** + * Sets the value of the cCor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCor(String value) { + this.cCor = value; + } + + /** + * Gets the value of the xCor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCor() { + return xCor; + } + + /** + * Sets the value of the xCor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCor(String value) { + this.xCor = value; + } + + /** + * Gets the value of the cMod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMod() { + return cMod; + } + + /** + * Sets the value of the cMod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMod(String value) { + this.cMod = value; + } + + /** + * Gets the value of the vUnit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVUnit() { + return vUnit; + } + + /** + * Sets the value of the vUnit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVUnit(String value) { + this.vUnit = value; + } + + /** + * Gets the value of the vFrete property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFrete() { + return vFrete; + } + + /** + * Sets the value of the vFrete property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFrete(String value) { + this.vFrete = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="PAASignature">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+         *                   <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpjpaa", + "paaSignature" + }) + public static class InfPAA { + + @XmlElement(name = "CNPJPAA", required = true) + protected String cnpjpaa; + @XmlElement(name = "PAASignature", required = true) + protected TCTe.InfCte.InfPAA.PAASignature paaSignature; + + /** + * Gets the value of the cnpjpaa property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJPAA() { + return cnpjpaa; + } + + /** + * Sets the value of the cnpjpaa property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJPAA(String value) { + this.cnpjpaa = value; + } + + /** + * Gets the value of the paaSignature property. + * + * @return + * possible object is + * {@link PAASignature } + * + */ + public PAASignature getPAASignature() { + return paaSignature; + } + + /** + * Sets the value of the paaSignature property. + * + * @param value + * allowed object is + * {@link PAASignature } + * + */ + public void setPAASignature(PAASignature value) { + this.paaSignature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+             *         <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "signatureValue", + "rsaKeyValue" + }) + public static class PAASignature { + + @XmlElement(name = "SignatureValue", required = true) + protected byte[] signatureValue; + @XmlElement(name = "RSAKeyValue", required = true) + protected TRSAKeyValueType rsaKeyValue; + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setSignatureValue(byte[] value) { + this.signatureValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return + * possible object is + * {@link TRSAKeyValueType } + * + */ + public TRSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value + * allowed object is + * {@link TRSAKeyValueType } + * + */ + public void setRSAKeyValue(TRSAKeyValueType value) { + this.rsaKeyValue = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xSolic">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="8000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xSolic" + }) + public static class InfSolicNFF { + + @XmlElement(required = true) + protected String xSolic; + + /** + * Gets the value of the xSolic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXSolic() { + return xSolic; + } + + /** + * Sets the value of the xSolic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXSolic(String value) { + this.xSolic = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "enderReceb", + "email" + }) + public static class Receb { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReceb; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReceb property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReceb() { + return enderReceb; + } + + /** + * Sets the value of the enderReceb property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReceb(TEndereco value) { + this.enderReceb = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderReme", + "email" + }) + public static class Rem { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReme; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReme property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReme() { + return enderReme; + } + + /** + * Sets the value of the enderReme property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReme(TEndereco value) { + this.enderReme = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vRec", + "comp" + }) + public static class VPrest { + + @XmlElement(name = "vTPrest", required = true) + protected String vtPrest; + @XmlElement(required = true) + protected String vRec; + @XmlElement(name = "Comp") + protected List comp; + + /** + * Gets the value of the vtPrest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeOS.java new file mode 100644 index 0000000..e628402 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeOS.java @@ -0,0 +1,6819 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico Outros Serviços (Modelo 67) + * + *

Java class for TCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="6"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+ *                             <element name="xMunIni" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                             <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+ *                             <element name="xMunFim" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                             <element name="infPercurso" maxOccurs="25" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="IE">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="toma" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vPrest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="infTribFed" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <choice>
+ *                     <element name="infCTeNorm">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="infServico">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="xDescServ">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infQ" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <choice>
+ *                                         <sequence>
+ *                                           <element name="nDoc">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="20"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="serie" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="3"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="subserie" minOccurs="0">
+ *                                             <simpleType>
+ *                                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                 <minLength value="1"/>
+ *                                                 <maxLength value="3"/>
+ *                                               </restriction>
+ *                                             </simpleType>
+ *                                           </element>
+ *                                           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+ *                                           <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                                         </sequence>
+ *                                         <element name="chBPe">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </choice>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="seg" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="respSeg">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="1"/>
+ *                                               <enumeration value="4"/>
+ *                                               <enumeration value="5"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xSeg" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="30"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="nApol" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <minLength value="1"/>
+ *                                               <maxLength value="20"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infModal" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <any processContents='skip'/>
+ *                                       </sequence>
+ *                                       <attribute name="versaoModal" use="required">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </attribute>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infCteSub" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCte">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="refCTeCanc" minOccurs="0">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                               <element name="cobr" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="fat" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nFat" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="60"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="nDup" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="60"/>
+ *                                                         <minLength value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCTe">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <pattern value="[0-9]{44}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="Comp" maxOccurs="unbounded">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpComp">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                         <enumeration value="4"/>
+ *                                                         <enumeration value="5"/>
+ *                                                         <enumeration value="6"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                                   <element name="xComp" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                         <maxLength value="15"/>
+ *                                                         <minLength value="0"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="infCteComp" maxOccurs="10">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                             <sequence>
+ *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                             </sequence>
+ *                           </restriction>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                   </choice>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTeOS", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TCTeOS { + + @XmlElement(required = true) + protected TCTeOS.InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="6"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+     *                   <element name="xMunIni" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                   <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+     *                   <element name="xMunFim" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                   <element name="infPercurso" maxOccurs="25" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="IE">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="toma" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vPrest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="infTribFed" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                             <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <choice>
+     *           <element name="infCTeNorm">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="infServico">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="xDescServ">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infQ" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <choice>
+     *                               <sequence>
+     *                                 <element name="nDoc">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="20"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="serie" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="3"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="subserie" minOccurs="0">
+     *                                   <simpleType>
+     *                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                       <minLength value="1"/>
+     *                                       <maxLength value="3"/>
+     *                                     </restriction>
+     *                                   </simpleType>
+     *                                 </element>
+     *                                 <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+     *                                 <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                               </sequence>
+     *                               <element name="chBPe">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </choice>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="seg" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="respSeg">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="1"/>
+     *                                     <enumeration value="4"/>
+     *                                     <enumeration value="5"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xSeg" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="30"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="nApol" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <minLength value="1"/>
+     *                                     <maxLength value="20"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infModal" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <any processContents='skip'/>
+     *                             </sequence>
+     *                             <attribute name="versaoModal" use="required">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </attribute>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infCteSub" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCte">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="refCTeCanc" minOccurs="0">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                     <element name="cobr" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="fat" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nFat" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="60"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="nDup" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="60"/>
+     *                                               <minLength value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                                         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCTe">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <pattern value="[0-9]{44}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="Comp" maxOccurs="unbounded">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpComp">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                               <enumeration value="4"/>
+     *                                               <enumeration value="5"/>
+     *                                               <enumeration value="6"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                                         <element name="xComp" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                               <maxLength value="15"/>
+     *                                               <minLength value="0"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="infCteComp" maxOccurs="10">
+     *             <complexType>
+     *               <complexContent>
+     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                   <sequence>
+     *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                   </sequence>
+     *                 </restriction>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *         </choice>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "toma", + "vPrest", + "imp", + "infCTeNorm", + "infCteComp", + "autXML", + "infRespTec" + }) + public static class InfCte { + + @XmlElement(required = true) + protected TCTeOS.InfCte.Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected TCTeOS.InfCte.Emit emit; + protected Toma toma; + @XmlElement(required = true) + protected TCTeOS.InfCte.VPrest vPrest; + @XmlElement(required = true) + protected TCTeOS.InfCte.Imp imp; + protected InfCTeNorm infCTeNorm; + protected List infCteComp; + protected List autXML; + protected TRespTec infRespTec; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link Toma } + * + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link Toma } + * + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return + * possible object is + * {@link VPrest } + * + */ + public VPrest getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value + * allowed object is + * {@link VPrest } + * + */ + public void setVPrest(VPrest value) { + this.vPrest = value; + } + + /** + * Gets the value of the imp property. + * + * @return + * possible object is + * {@link Imp } + * + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value + * allowed object is + * {@link Imp } + * + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the infCTeNorm property. + * + * @return + * possible object is + * {@link InfCTeNorm } + * + */ + public InfCTeNorm getInfCTeNorm() { + return infCTeNorm; + } + + /** + * Sets the value of the infCTeNorm property. + * + * @param value + * allowed object is + * {@link InfCTeNorm } + * + */ + public void setInfCTeNorm(InfCTeNorm value) { + this.infCTeNorm = value; + } + + /** + * Gets the value of the infCteComp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infCteComp property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getInfCteComp().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfCteComp } + * + * + */ + public List getInfCteComp() { + if (infCteComp == null) { + infCteComp = new ArrayList(); + } + return this.infCteComp; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="IE">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(name = "IE", required = true) + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true) + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCTOS"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspOS"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="6"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+         *         <element name="xMunIni" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *         <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
+         *         <element name="xMunFim" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *         <element name="infPercurso" maxOccurs="25" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "indIEToma", + "cMunIni", + "xMunIni", + "ufIni", + "cMunFim", + "xMunFim", + "ufFim", + "infPercurso", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String procEmi; + @XmlElement(required = true) + protected String verProc; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String indIEToma; + protected String cMunIni; + protected String xMunIni; + @XmlElement(name = "UFIni") + @XmlSchemaType(name = "string") + protected TUf ufIni; + protected String cMunFim; + protected String xMunFim; + @XmlElement(name = "UFFim") + @XmlSchemaType(name = "string") + protected TUf ufFim; + protected List infPercurso; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the cMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the infPercurso property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infPercurso property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfPercurso().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfPercurso } + * + * + */ + public List getInfPercurso() { + if (infPercurso == null) { + infPercurso = new ArrayList(); + } + return this.infPercurso; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ufPer" + }) + public static class InfPercurso { + + @XmlElement(name = "UFPer", required = true) + @XmlSchemaType(name = "string") + protected TUf ufPer; + + /** + * Gets the value of the ufPer property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFPer() { + return ufPer; + } + + /** + * Sets the value of the ufPer property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFPer(TUf value) { + this.ufPer = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImpOS"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infTribFed" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim", + "infTribFed" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true) + protected TImpOS icms; + protected String vTotTrib; + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim") + protected TCTeOS.InfCte.Imp.ICMSUFFim icmsufFim; + protected InfTribFed infTribFed; + + /** + * Gets the value of the icms property. + * + * @return + * possible object is + * {@link TImpOS } + * + */ + public TImpOS getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value + * allowed object is + * {@link TImpOS } + * + */ + public void setICMS(TImpOS value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return + * possible object is + * {@link ICMSUFFim } + * + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value + * allowed object is + * {@link ICMSUFFim } + * + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + /** + * Gets the value of the infTribFed property. + * + * @return + * possible object is + * {@link InfTribFed } + * + */ + public InfTribFed getInfTribFed() { + return infTribFed; + } + + /** + * Sets the value of the infTribFed property. + * + * @param value + * allowed object is + * {@link InfTribFed } + * + */ + public void setInfTribFed(InfTribFed value) { + this.infTribFed = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true) + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true) + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true) + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true) + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true) + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true) + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true) + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vpis", + "vcofins", + "vir", + "vinss", + "vcsll" + }) + public static class InfTribFed { + + @XmlElement(name = "vPIS") + protected String vpis; + @XmlElement(name = "vCOFINS") + protected String vcofins; + @XmlElement(name = "vIR") + protected String vir; + @XmlElement(name = "vINSS") + protected String vinss; + @XmlElement(name = "vCSLL") + protected String vcsll; + + /** + * Gets the value of the vpis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Sets the value of the vpis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + /** + * Gets the value of the vcofins property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Sets the value of the vcofins property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + /** + * Gets the value of the vir property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIR() { + return vir; + } + + /** + * Sets the value of the vir property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIR(String value) { + this.vir = value; + } + + /** + * Gets the value of the vinss property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVINSS() { + return vinss; + } + + /** + * Sets the value of the vinss property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVINSS(String value) { + this.vinss = value; + } + + /** + * Gets the value of the vcsll property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCSLL() { + return vcsll; + } + + /** + * Sets the value of the vcsll property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCSLL(String value) { + this.vcsll = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe" + }) + public static class InfCteComp { + + @XmlElement(required = true) + protected String chCTe; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infServico">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xDescServ">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="infQ" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <choice>
+         *                   <sequence>
+         *                     <element name="nDoc">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="20"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="serie" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="subserie" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <minLength value="1"/>
+         *                           <maxLength value="3"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+         *                     <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *                   </sequence>
+         *                   <element name="chBPe">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </choice>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="seg" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="respSeg">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <minLength value="1"/>
+         *                         <maxLength value="1"/>
+         *                         <enumeration value="4"/>
+         *                         <enumeration value="5"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xSeg" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="30"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nApol" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="20"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infModal" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <any processContents='skip'/>
+         *                 </sequence>
+         *                 <attribute name="versaoModal" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                       <whiteSpace value="preserve"/>
+         *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infCteSub" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCte">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="refCTeCanc" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cobr" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="fat" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nFat" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDup" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="60"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infGTVe" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chCTe">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{44}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="Comp" maxOccurs="unbounded">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="tpComp">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="1"/>
+         *                                   <enumeration value="2"/>
+         *                                   <enumeration value="3"/>
+         *                                   <enumeration value="4"/>
+         *                                   <enumeration value="5"/>
+         *                                   <enumeration value="6"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                             <element name="xComp" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <maxLength value="15"/>
+         *                                   <minLength value="0"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infServico", + "infDocRef", + "seg", + "infModal", + "infCteSub", + "refCTeCanc", + "cobr", + "infGTVe" + }) + public static class InfCTeNorm { + + @XmlElement(required = true) + protected TCTeOS.InfCte.InfCTeNorm.InfServico infServico; + protected List infDocRef; + protected List seg; + protected InfModal infModal; + protected InfCteSub infCteSub; + protected String refCTeCanc; + protected Cobr cobr; + protected List infGTVe; + + /** + * Gets the value of the infServico property. + * + * @return + * possible object is + * {@link InfServico } + * + */ + public InfServico getInfServico() { + return infServico; + } + + /** + * Sets the value of the infServico property. + * + * @param value + * allowed object is + * {@link InfServico } + * + */ + public void setInfServico(InfServico value) { + this.infServico = value; + } + + /** + * Gets the value of the infDocRef property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infDocRef property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfDocRef().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfDocRef } + * + * + */ + public List getInfDocRef() { + if (infDocRef == null) { + infDocRef = new ArrayList(); + } + return this.infDocRef; + } + + /** + * Gets the value of the seg property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the seg property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getSeg().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Seg } + * + * + */ + public List getSeg() { + if (seg == null) { + seg = new ArrayList(); + } + return this.seg; + } + + /** + * Gets the value of the infModal property. + * + * @return + * possible object is + * {@link InfModal } + * + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value + * allowed object is + * {@link InfModal } + * + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return + * possible object is + * {@link InfCteSub } + * + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value + * allowed object is + * {@link InfCteSub } + * + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the refCTeCanc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefCTeCanc() { + return refCTeCanc; + } + + /** + * Sets the value of the refCTeCanc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefCTeCanc(String value) { + this.refCTeCanc = value; + } + + /** + * Gets the value of the cobr property. + * + * @return + * possible object is + * {@link Cobr } + * + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value + * allowed object is + * {@link Cobr } + * + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infGTVe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infGTVe property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfGTVe().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfGTVe } + * + * + */ + public List getInfGTVe() { + if (infGTVe == null) { + infGTVe = new ArrayList(); + } + return this.infGTVe; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="fat" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nFat" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDup" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="60"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return + * possible object is + * {@link Fat } + * + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value + * allowed object is + * {@link Fat } + * + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDup().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + * + * + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nDup" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="60"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+                 *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="nFat" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCte">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte" + }) + public static class InfCteSub { + + @XmlElement(required = true) + protected String chCte; + + /** + * Gets the value of the chCte property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCte(String value) { + this.chCte = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <choice>
+             *         <sequence>
+             *           <element name="nDoc">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="20"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="serie" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="3"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="subserie" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                 <minLength value="1"/>
+             *                 <maxLength value="3"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
+             *           <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+             *         </sequence>
+             *         <element name="chBPe">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TChDFe">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </choice>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDoc", + "serie", + "subserie", + "dEmi", + "vDoc", + "chBPe" + }) + public static class InfDocRef { + + protected String nDoc; + protected String serie; + protected String subserie; + protected String dEmi; + protected String vDoc; + protected String chBPe; + + /** + * Gets the value of the nDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDoc() { + return nDoc; + } + + /** + * Sets the value of the nDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDoc(String value) { + this.nDoc = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the subserie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubserie() { + return subserie; + } + + /** + * Sets the value of the subserie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubserie(String value) { + this.subserie = value; + } + + /** + * Gets the value of the dEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Sets the value of the dEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Gets the value of the vDoc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDoc() { + return vDoc; + } + + /** + * Sets the value of the vDoc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDoc(String value) { + this.vDoc = value; + } + + /** + * Gets the value of the chBPe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChBPe() { + return chBPe; + } + + /** + * Sets the value of the chBPe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChBPe(String value) { + this.chBPe = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCTe">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{44}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="Comp" maxOccurs="unbounded">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="tpComp">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="1"/>
+             *                         <enumeration value="2"/>
+             *                         <enumeration value="3"/>
+             *                         <enumeration value="4"/>
+             *                         <enumeration value="5"/>
+             *                         <enumeration value="6"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *                   <element name="xComp" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <maxLength value="15"/>
+             *                         <minLength value="0"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe", + "comp" + }) + public static class InfGTVe { + + @XmlElement(required = true) + protected String chCTe; + @XmlElement(name = "Comp", required = true) + protected List comp; + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getComp().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="tpComp">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *               <enumeration value="4"/>
+                 *               <enumeration value="5"/>
+                 *               <enumeration value="6"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+                 *         <element name="xComp" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <maxLength value="15"/>
+                 *               <minLength value="0"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpComp", + "vComp", + "xComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String tpComp; + @XmlElement(required = true) + protected String vComp; + protected String xComp; + + /** + * Gets the value of the tpComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpComp() { + return tpComp; + } + + /** + * Sets the value of the tpComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpComp(String value) { + this.tpComp = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + /** + * Gets the value of the xComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXComp() { + return xComp; + } + + /** + * Sets the value of the xComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXComp(String value) { + this.xComp = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <any processContents='skip'/>
+             *       </sequence>
+             *       <attribute name="versaoModal" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *             <whiteSpace value="preserve"/>
+             *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xDescServ">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infQ" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xDescServ", + "infQ" + }) + public static class InfServico { + + @XmlElement(required = true) + protected String xDescServ; + protected InfQ infQ; + + /** + * Gets the value of the xDescServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDescServ() { + return xDescServ; + } + + /** + * Sets the value of the xDescServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDescServ(String value) { + this.xDescServ = value; + } + + /** + * Gets the value of the infQ property. + * + * @return + * possible object is + * {@link InfQ } + * + */ + public InfQ getInfQ() { + return infQ; + } + + /** + * Sets the value of the infQ property. + * + * @param value + * allowed object is + * {@link InfQ } + * + */ + public void setInfQ(InfQ value) { + this.infQ = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true) + protected String qCarga; + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="respSeg">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <minLength value="1"/>
+             *               <maxLength value="1"/>
+             *               <enumeration value="4"/>
+             *               <enumeration value="5"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xSeg" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="30"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nApol" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="20"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "respSeg", + "xSeg", + "nApol" + }) + public static class Seg { + + @XmlElement(required = true) + protected String respSeg; + protected String xSeg; + protected String nApol; + + /** + * Gets the value of the respSeg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRespSeg() { + return respSeg; + } + + /** + * Sets the value of the respSeg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRespSeg(String value) { + this.respSeg = value; + } + + /** + * Gets the value of the xSeg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXSeg() { + return xSeg; + } + + /** + * Sets the value of the xSeg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXSeg(String value) { + this.xSeg = value; + } + + /** + * Gets the value of the nApol property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNApol() { + return nApol; + } + + /** + * Sets the value of the nApol property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNApol(String value) { + this.nApol = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class Toma { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vRec", + "comp" + }) + public static class VPrest { + + @XmlElement(name = "vTPrest", required = true) + protected String vtPrest; + @XmlElement(required = true) + protected String vRec; + @XmlElement(name = "Comp") + protected List comp; + + /** + * Gets the value of the vtPrest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + * + * + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeSimp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeSimp.java new file mode 100644 index 0000000..6af30eb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TCTeSimp.java @@ -0,0 +1,6544 @@ + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Conhecimento de Transporte Eletrônico (Modelo 57) - Modelo Simplificado + * + *

Java class for TCTeSimp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TCTeSimp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="retira">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xDetRetira" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="160"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fluxo" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xOrig" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="pass" maxOccurs="unbounded" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xPass" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="15"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="xDest" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xRota" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="10"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                             <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="toma">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="toma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infCarga">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="proPred">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xOutCat" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="infQ" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="cUnid">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="00"/>
+ *                                             <enumeration value="01"/>
+ *                                             <enumeration value="02"/>
+ *                                             <enumeration value="03"/>
+ *                                             <enumeration value="04"/>
+ *                                             <enumeration value="05"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="tpMed">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="2"/>
+ *                                             <enumeration value="00"/>
+ *                                             <enumeration value="01"/>
+ *                                             <enumeration value="02"/>
+ *                                             <enumeration value="03"/>
+ *                                             <enumeration value="04"/>
+ *                                             <enumeration value="05"/>
+ *                                             <enumeration value="06"/>
+ *                                             <enumeration value="07"/>
+ *                                             <enumeration value="08"/>
+ *                                             <enumeration value="09"/>
+ *                                             <enumeration value="10"/>
+ *                                             <enumeration value="11"/>
+ *                                             <enumeration value="12"/>
+ *                                             <enumeration value="13"/>
+ *                                             <enumeration value="14"/>
+ *                                             <enumeration value="15"/>
+ *                                             <enumeration value="99"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="det" maxOccurs="999">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <sequence>
+ *                               <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                               <element name="xMunIni">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="2"/>
+ *                                     <maxLength value="60"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <sequence>
+ *                               <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                               <element name="xMunFim">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="2"/>
+ *                                     <maxLength value="60"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xNome">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="15"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="infNFe" maxOccurs="unbounded">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                         <element name="PIN" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <minLength value="2"/>
+ *                                               <maxLength value="9"/>
+ *                                               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                         <choice>
+ *                                           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *                                           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+ *                                         </choice>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="infDocAnt" maxOccurs="unbounded">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                         <element name="tpPrest">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="1"/>
+ *                                               <enumeration value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                           </sequence>
+ *                           <attribute name="nItem" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infModal">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <any processContents='skip'/>
+ *                           </sequence>
+ *                           <attribute name="versaoModal" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="cobr" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="fat" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nFat" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="dup" maxOccurs="unbounded" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nDup" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+ *                                       <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infCteSub" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="chCte">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <pattern value="[0-9]{44}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indAlteraToma" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="imp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+ *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ICMSUFFim" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                                       <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="total">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                             <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                   <element name="infSolicNFF" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xSolic">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infPAA" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="PAASignature">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *                                       <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ + +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCTeSimp", namespace = "http://www.portalfiscal.inf.br/cte", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TCTeSimp { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte infCte; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the infCte property. + * + * @return possible object is + * {@link InfCte } + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value allowed object is + * {@link InfCte } + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return possible object is + * {@link InfCTeSupl } + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value allowed object is + * {@link InfCTeSupl } + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return possible object is + * {@link SignatureType } + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value allowed object is + * {@link SignatureType } + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="retira">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xDetRetira" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="160"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fluxo" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xOrig" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="pass" maxOccurs="unbounded" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xPass" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="15"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="xDest" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xRota" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="10"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                   <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="toma">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="toma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infCarga">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="proPred">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xOutCat" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="infQ" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="cUnid">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="00"/>
+     *                                   <enumeration value="01"/>
+     *                                   <enumeration value="02"/>
+     *                                   <enumeration value="03"/>
+     *                                   <enumeration value="04"/>
+     *                                   <enumeration value="05"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="tpMed">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="2"/>
+     *                                   <enumeration value="00"/>
+     *                                   <enumeration value="01"/>
+     *                                   <enumeration value="02"/>
+     *                                   <enumeration value="03"/>
+     *                                   <enumeration value="04"/>
+     *                                   <enumeration value="05"/>
+     *                                   <enumeration value="06"/>
+     *                                   <enumeration value="07"/>
+     *                                   <enumeration value="08"/>
+     *                                   <enumeration value="09"/>
+     *                                   <enumeration value="10"/>
+     *                                   <enumeration value="11"/>
+     *                                   <enumeration value="12"/>
+     *                                   <enumeration value="13"/>
+     *                                   <enumeration value="14"/>
+     *                                   <enumeration value="15"/>
+     *                                   <enumeration value="99"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="det" maxOccurs="999">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <sequence>
+     *                     <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                     <element name="xMunIni">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="2"/>
+     *                           <maxLength value="60"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <sequence>
+     *                     <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                     <element name="xMunFim">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="2"/>
+     *                           <maxLength value="60"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xNome">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="15"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="infNFe" maxOccurs="unbounded">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                               <element name="PIN" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <minLength value="2"/>
+     *                                     <maxLength value="9"/>
+     *                                     <pattern value="[1-9]{1}[0-9]{1,8}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                               <choice>
+     *                                 <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+     *                                 <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+     *                               </choice>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="infDocAnt" maxOccurs="unbounded">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                               <element name="tpPrest">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="1"/>
+     *                                     <enumeration value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                 </sequence>
+     *                 <attribute name="nItem" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infModal">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <any processContents='skip'/>
+     *                 </sequence>
+     *                 <attribute name="versaoModal" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="cobr" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="fat" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nFat" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="dup" maxOccurs="unbounded" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nDup" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+     *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infCteSub" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="chCte">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <pattern value="[0-9]{44}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indAlteraToma" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="imp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+     *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ICMSUFFim" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *                             <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="total">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                   <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *         <element name="infSolicNFF" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xSolic">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infPAA" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="PAASignature">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+     *                             <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "toma", + "infCarga", + "det", + "infModal", + "cobr", + "infCteSub", + "imp", + "total", + "autXML", + "infRespTec", + "infSolicNFF", + "infPAA" + }) + public static class InfCte { + + @XmlElement(name = "ide", namespace = "http://www.portalfiscal.inf.br/cte", required = true) + protected TCTeSimp.InfCte.Ide ide; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected Compl compl; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.Emit emit; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.Toma toma; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.InfCarga infCarga; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected List det; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.InfModal infModal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected Cobr cobr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected InfCteSub infCteSub; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.Imp imp; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.Total total; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List autXML; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected TRespTec infRespTec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected InfSolicNFF infSolicNFF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected InfPAA infPAA; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return possible object is + * {@link Ide } + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value allowed object is + * {@link Ide } + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return possible object is + * {@link Compl } + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value allowed object is + * {@link Compl } + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return possible object is + * {@link Emit } + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value allowed object is + * {@link Emit } + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the toma property. + * + * @return possible object is + * {@link Toma } + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value allowed object is + * {@link Toma } + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the infCarga property. + * + * @return possible object is + * {@link InfCarga } + */ + public InfCarga getInfCarga() { + return infCarga; + } + + /** + * Sets the value of the infCarga property. + * + * @param value allowed object is + * {@link InfCarga } + */ + public void setInfCarga(InfCarga value) { + this.infCarga = value; + } + + /** + * Gets the value of the det property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the det property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDet().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Det } + */ + public List getDet() { + if (det == null) { + det = new ArrayList(); + } + return this.det; + } + + /** + * Gets the value of the infModal property. + * + * @return possible object is + * {@link InfModal } + */ + public InfModal getInfModal() { + return infModal; + } + + /** + * Sets the value of the infModal property. + * + * @param value allowed object is + * {@link InfModal } + */ + public void setInfModal(InfModal value) { + this.infModal = value; + } + + /** + * Gets the value of the cobr property. + * + * @return possible object is + * {@link Cobr } + */ + public Cobr getCobr() { + return cobr; + } + + /** + * Sets the value of the cobr property. + * + * @param value allowed object is + * {@link Cobr } + */ + public void setCobr(Cobr value) { + this.cobr = value; + } + + /** + * Gets the value of the infCteSub property. + * + * @return possible object is + * {@link InfCteSub } + */ + public InfCteSub getInfCteSub() { + return infCteSub; + } + + /** + * Sets the value of the infCteSub property. + * + * @param value allowed object is + * {@link InfCteSub } + */ + public void setInfCteSub(InfCteSub value) { + this.infCteSub = value; + } + + /** + * Gets the value of the imp property. + * + * @return possible object is + * {@link Imp } + */ + public Imp getImp() { + return imp; + } + + /** + * Sets the value of the imp property. + * + * @param value allowed object is + * {@link Imp } + */ + public void setImp(Imp value) { + this.imp = value; + } + + /** + * Gets the value of the total property. + * + * @return possible object is + * {@link Total } + */ + public Total getTotal() { + return total; + } + + /** + * Sets the value of the total property. + * + * @param value allowed object is + * {@link Total } + */ + public void setTotal(Total value) { + this.total = value; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return possible object is + * {@link TRespTec } + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value allowed object is + * {@link TRespTec } + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the infSolicNFF property. + * + * @return possible object is + * {@link InfSolicNFF } + */ + public InfSolicNFF getInfSolicNFF() { + return infSolicNFF; + } + + /** + * Sets the value of the infSolicNFF property. + * + * @param value allowed object is + * {@link InfSolicNFF } + */ + public void setInfSolicNFF(InfSolicNFF value) { + this.infSolicNFF = value; + } + + /** + * Gets the value of the infPAA property. + * + * @return possible object is + * {@link InfPAA } + */ + public InfPAA getInfPAA() { + return infPAA; + } + + /** + * Sets the value of the infPAA property. + * + * @param value allowed object is + * {@link InfPAA } + */ + public void setInfPAA(InfPAA value) { + this.infPAA = value; + } + + /** + * Gets the value of the versao property. + * + * @return possible object is + * {@link String } + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value allowed object is + * {@link String } + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return possible object is + * {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is + * {@link String } + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="fat" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nFat" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="dup" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nDup" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + protected Fat fat; + protected List dup; + + /** + * Gets the value of the fat property. + * + * @return possible object is + * {@link Fat } + */ + public Fat getFat() { + return fat; + } + + /** + * Sets the value of the fat property. + * + * @param value allowed object is + * {@link Fat } + */ + public void setFat(Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDup().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dup } + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="nDup" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *         <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + protected String nDup; + protected String dVenc; + protected String vDup; + + /** + * Gets the value of the nDup property. + * + * @return possible object is + * {@link String } + */ + public String getNDup() { + return nDup; + } + + /** + * Sets the value of the nDup property. + * + * @param value allowed object is + * {@link String } + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Gets the value of the dVenc property. + * + * @return possible object is + * {@link String } + */ + public String getDVenc() { + return dVenc; + } + + /** + * Sets the value of the dVenc property. + * + * @param value allowed object is + * {@link String } + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Gets the value of the vDup property. + * + * @return possible object is + * {@link String } + */ + public String getVDup() { + return vDup; + } + + /** + * Sets the value of the vDup property. + * + * @param value allowed object is + * {@link String } + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="nFat" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + protected String nFat; + protected String vOrig; + protected String vDesc; + protected String vLiq; + + /** + * Gets the value of the nFat property. + * + * @return possible object is + * {@link String } + */ + public String getNFat() { + return nFat; + } + + /** + * Sets the value of the nFat property. + * + * @param value allowed object is + * {@link String } + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Gets the value of the vOrig property. + * + * @return possible object is + * {@link String } + */ + public String getVOrig() { + return vOrig; + } + + /** + * Sets the value of the vOrig property. + * + * @param value allowed object is + * {@link String } + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Gets the value of the vDesc property. + * + * @return possible object is + * {@link String } + */ + public String getVDesc() { + return vDesc; + } + + /** + * Sets the value of the vDesc property. + * + * @param value allowed object is + * {@link String } + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Gets the value of the vLiq property. + * + * @return possible object is + * {@link String } + */ + public String getVLiq() { + return vLiq; + } + + /** + * Sets the value of the vLiq property. + * + * @param value allowed object is + * {@link String } + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fluxo" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xOrig" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="pass" maxOccurs="unbounded" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xPass" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="15"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="xDest" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xRota" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="10"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "fluxo", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xCaracAd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xCaracSer; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected Fluxo fluxo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xObs; + @XmlElement(name = "ObsCont", namespace = "http://www.portalfiscal.inf.br/cte") + protected List obsCont; + @XmlElement(name = "ObsFisco", namespace = "http://www.portalfiscal.inf.br/cte") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return possible object is + * {@link String } + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return possible object is + * {@link String } + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the fluxo property. + * + * @return possible object is + * {@link Fluxo } + */ + public Fluxo getFluxo() { + return fluxo; + } + + /** + * Sets the value of the fluxo property. + * + * @param value allowed object is + * {@link Fluxo } + */ + public void setFluxo(Fluxo value) { + this.fluxo = value; + } + + /** + * Gets the value of the xObs property. + * + * @return possible object is + * {@link String } + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value allowed object is + * {@link String } + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xOrig" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="pass" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xPass" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="15"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="xDest" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xRota" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="10"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xOrig", + "pass", + "xDest", + "xRota" + }) + public static class Fluxo { + + protected String xOrig; + protected List pass; + protected String xDest; + protected String xRota; + + /** + * Gets the value of the xOrig property. + * + * @return possible object is + * {@link String } + */ + public String getXOrig() { + return xOrig; + } + + /** + * Sets the value of the xOrig property. + * + * @param value allowed object is + * {@link String } + */ + public void setXOrig(String value) { + this.xOrig = value; + } + + /** + * Gets the value of the pass property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the pass property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getPass().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Pass } + */ + public List getPass() { + if (pass == null) { + pass = new ArrayList(); + } + return this.pass; + } + + /** + * Gets the value of the xDest property. + * + * @return possible object is + * {@link String } + */ + public String getXDest() { + return xDest; + } + + /** + * Sets the value of the xDest property. + * + * @param value allowed object is + * {@link String } + */ + public void setXDest(String value) { + this.xDest = value; + } + + /** + * Gets the value of the xRota property. + * + * @return possible object is + * {@link String } + */ + public String getXRota() { + return xRota; + } + + /** + * Sets the value of the xRota property. + * + * @param value allowed object is + * {@link String } + */ + public void setXRota(String value) { + this.xRota = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="xPass" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xPass" + }) + public static class Pass { + + protected String xPass; + + /** + * Gets the value of the xPass property. + * + * @return possible object is + * {@link String } + */ + public String getXPass() { + return xPass; + } + + /** + * Sets the value of the xPass property. + * + * @param value allowed object is + * {@link String } + */ + public void setXPass(String value) { + this.xPass = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return possible object is + * {@link String } + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value allowed object is + * {@link String } + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return possible object is + * {@link String } + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return possible object is + * {@link String } + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value allowed object is + * {@link String } + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return possible object is + * {@link String } + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value allowed object is + * {@link String } + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <sequence>
+         *           <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *           <element name="xMunIni">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="2"/>
+         *                 <maxLength value="60"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <sequence>
+         *           <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *           <element name="xMunFim">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="2"/>
+         *                 <maxLength value="60"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <element name="vPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="Comp" maxOccurs="unbounded" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xNome">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="15"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <choice>
+         *           <element name="infNFe" maxOccurs="unbounded">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                     <element name="PIN" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <minLength value="2"/>
+         *                           <maxLength value="9"/>
+         *                           <pattern value="[1-9]{1}[0-9]{1,8}"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+         *                     <choice>
+         *                       <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+         *                       <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+         *                     </choice>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="infDocAnt" maxOccurs="unbounded">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                     <element name="tpPrest">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="1"/>
+         *                           <enumeration value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *       </sequence>
+         *       <attribute name="nItem" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMunIni", + "xMunIni", + "cMunFim", + "xMunFim", + "vPrest", + "vRec", + "comp", + "infNFe", + "infDocAnt" + }) + public static class Det { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cMunIni; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xMunIni; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cMunFim; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xMunFim; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vPrest; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vRec; + @XmlElement(name = "Comp", namespace = "http://www.portalfiscal.inf.br/cte") + protected List comp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List infNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List infDocAnt; + @XmlAttribute(name = "nItem", required = true) + protected String nItem; + + /** + * Gets the value of the cMunIni property. + * + * @return possible object is + * {@link String } + */ + public String getCMunIni() { + return cMunIni; + } + + /** + * Sets the value of the cMunIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunIni(String value) { + this.cMunIni = value; + } + + /** + * Gets the value of the xMunIni property. + * + * @return possible object is + * {@link String } + */ + public String getXMunIni() { + return xMunIni; + } + + /** + * Sets the value of the xMunIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunIni(String value) { + this.xMunIni = value; + } + + /** + * Gets the value of the cMunFim property. + * + * @return possible object is + * {@link String } + */ + public String getCMunFim() { + return cMunFim; + } + + /** + * Sets the value of the cMunFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunFim(String value) { + this.cMunFim = value; + } + + /** + * Gets the value of the xMunFim property. + * + * @return possible object is + * {@link String } + */ + public String getXMunFim() { + return xMunFim; + } + + /** + * Sets the value of the xMunFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunFim(String value) { + this.xMunFim = value; + } + + /** + * Gets the value of the vPrest property. + * + * @return possible object is + * {@link String } + */ + public String getVPrest() { + return vPrest; + } + + /** + * Sets the value of the vPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setVPrest(String value) { + this.vPrest = value; + } + + /** + * Gets the value of the vRec property. + * + * @return possible object is + * {@link String } + */ + public String getVRec() { + return vRec; + } + + /** + * Sets the value of the vRec property. + * + * @param value allowed object is + * {@link String } + */ + public void setVRec(String value) { + this.vRec = value; + } + + /** + * Gets the value of the comp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the comp property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getComp().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Comp } + */ + public List getComp() { + if (comp == null) { + comp = new ArrayList(); + } + return this.comp; + } + + /** + * Gets the value of the infNFe property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfNFe().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFe } + */ + public List getInfNFe() { + if (infNFe == null) { + infNFe = new ArrayList(); + } + return this.infNFe; + } + + /** + * Gets the value of the infDocAnt property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infDocAnt property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfDocAnt().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfDocAnt } + */ + public List getInfDocAnt() { + if (infDocAnt == null) { + infDocAnt = new ArrayList(); + } + return this.infDocAnt; + } + + /** + * Gets the value of the nItem property. + * + * @return possible object is + * {@link String } + */ + public String getNItem() { + return nItem; + } + + /** + * Sets the value of the nItem property. + * + * @param value allowed object is + * {@link String } + */ + public void setNItem(String value) { + this.nItem = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="15"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xNome", + "vComp" + }) + public static class Comp { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xNome; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vComp; + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the vComp property. + * + * @return possible object is + * {@link String } + */ + public String getVComp() { + return vComp; + } + + /** + * Sets the value of the vComp property. + * + * @param value allowed object is + * {@link String } + */ + public void setVComp(String value) { + this.vComp = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *         <element name="tpPrest">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="infNFeTranspParcial" maxOccurs="unbounded" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCTe", + "tpPrest", + "infNFeTranspParcial" + }) + public static class InfDocAnt { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String chCTe; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpPrest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List infNFeTranspParcial; + + /** + * Gets the value of the chCTe property. + * + * @return possible object is + * {@link String } + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the tpPrest property. + * + * @return possible object is + * {@link String } + */ + public String getTpPrest() { + return tpPrest; + } + + /** + * Sets the value of the tpPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpPrest(String value) { + this.tpPrest = value; + } + + /** + * Gets the value of the infNFeTranspParcial property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infNFeTranspParcial property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfNFeTranspParcial().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfNFeTranspParcial } + */ + public List getInfNFeTranspParcial() { + if (infNFeTranspParcial == null) { + infNFeTranspParcial = new ArrayList(); + } + return this.infNFeTranspParcial; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+                 * <complexType>
+                 *   <complexContent>
+                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *       <sequence>
+                 *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chNFe" + }) + public static class InfNFeTranspParcial { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String chNFe; + + /** + * Gets the value of the chNFe property. + * + * @return possible object is + * {@link String } + */ + public String getChNFe() { + return chNFe; + } + + /** + * Sets the value of the chNFe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+             *         <element name="PIN" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <minLength value="2"/>
+             *               <maxLength value="9"/>
+             *               <pattern value="[1-9]{1}[0-9]{1,8}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
+             *         <choice>
+             *           <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+             *           <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chNFe", + "pin", + "dPrev", + "infUnidCarga", + "infUnidTransp" + }) + public static class InfNFe { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String chNFe; + @XmlElement(name = "PIN", namespace = "http://www.portalfiscal.inf.br/cte") + protected String pin; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String dPrev; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List infUnidCarga; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected List infUnidTransp; + + /** + * Gets the value of the chNFe property. + * + * @return possible object is + * {@link String } + */ + public String getChNFe() { + return chNFe; + } + + /** + * Sets the value of the chNFe property. + * + * @param value allowed object is + * {@link String } + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Gets the value of the pin property. + * + * @return possible object is + * {@link String } + */ + public String getPIN() { + return pin; + } + + /** + * Sets the value of the pin property. + * + * @param value allowed object is + * {@link String } + */ + public void setPIN(String value) { + this.pin = value; + } + + /** + * Gets the value of the dPrev property. + * + * @return possible object is + * {@link String } + */ + public String getDPrev() { + return dPrev; + } + + /** + * Sets the value of the dPrev property. + * + * @param value allowed object is + * {@link String } + */ + public void setDPrev(String value) { + this.dPrev = value; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfUnidCarga().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the infUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getInfUnidTransp().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidadeTransp } + */ + public List getInfUnidTransp() { + if (infUnidTransp == null) { + infUnidTransp = new ArrayList(); + } + return this.infUnidTransp; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *         <element name="CRT" type="{http://www.portalfiscal.inf.br/cte}TCRT"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cpf; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/cte") + protected String ie; + @XmlElement(name = "IEST", namespace = "http://www.portalfiscal.inf.br/cte") + protected String iest; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xNome; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xFant; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TEndeEmi enderEmit; + @XmlElement(name = "CRT", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String crt; + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return possible object is + * {@link String } + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value allowed object is + * {@link String } + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return possible object is + * {@link String } + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value allowed object is + * {@link String } + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return possible object is + * {@link String } + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value allowed object is + * {@link String } + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return possible object is + * {@link TEndeEmi } + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value allowed object is + * {@link TEndeEmi } + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + /** + * Gets the value of the crt property. + * + * @return possible object is + * {@link String } + */ + public String getCRT() { + return crt; + } + + /** + * Sets the value of the crt property. + * + * @param value allowed object is + * {@link String } + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTeSimp"/>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTranspSimp"/>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="retira">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xDetRetira" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="160"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "procEmi", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "ufIni", + "ufFim", + "retira", + "xDetRetira", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cuf; + @XmlElement(name = "cCT", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cct; + @XmlElement(name = "CFOP", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cfop; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String natOp; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String mod; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String serie; + @XmlElement(name = "nCT", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String nct; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String dhEmi; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpImp; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpEmis; + @XmlElement(name = "cDV", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cdv; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpAmb; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpCTe; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String procEmi; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String verProc; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cMunEnv; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String modal; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpServ; + @XmlElement(name = "UFIni", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + @XmlSchemaType(name = "string") + protected TUf ufIni; + @XmlElement(name = "UFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + @XmlSchemaType(name = "string") + protected TUf ufFim; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String retira; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte", required = true) + protected String xDetRetira; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String dhCont; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return possible object is + * {@link String } + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return possible object is + * {@link String } + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value allowed object is + * {@link String } + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return possible object is + * {@link String } + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value allowed object is + * {@link String } + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return possible object is + * {@link String } + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value allowed object is + * {@link String } + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return possible object is + * {@link String } + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value allowed object is + * {@link String } + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return possible object is + * {@link String } + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value allowed object is + * {@link String } + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return possible object is + * {@link String } + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value allowed object is + * {@link String } + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return possible object is + * {@link String } + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value allowed object is + * {@link String } + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return possible object is + * {@link String } + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return possible object is + * {@link String } + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return possible object is + * {@link String } + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value allowed object is + * {@link String } + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return possible object is + * {@link String } + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return possible object is + * {@link String } + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the procEmi property. + * + * @return possible object is + * {@link String } + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Sets the value of the procEmi property. + * + * @param value allowed object is + * {@link String } + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Gets the value of the verProc property. + * + * @return possible object is + * {@link String } + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value allowed object is + * {@link String } + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return possible object is + * {@link String } + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value allowed object is + * {@link String } + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return possible object is + * {@link String } + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value allowed object is + * {@link String } + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return possible object is + * {@link String } + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value allowed object is + * {@link String } + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return possible object is + * {@link String } + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the ufIni property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFIni() { + return ufIni; + } + + /** + * Sets the value of the ufIni property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFIni(TUf value) { + this.ufIni = value; + } + + /** + * Gets the value of the ufFim property. + * + * @return possible object is + * {@link TUf } + */ + public TUf getUFFim() { + return ufFim; + } + + /** + * Sets the value of the ufFim property. + * + * @param value allowed object is + * {@link TUf } + */ + public void setUFFim(TUf value) { + this.ufFim = value; + } + + /** + * Gets the value of the retira property. + * + * @return possible object is + * {@link String } + */ + public String getRetira() { + return retira; + } + + /** + * Sets the value of the retira property. + * + * @param value allowed object is + * {@link String } + */ + public void setRetira(String value) { + this.retira = value; + } + + /** + * Gets the value of the xDetRetira property. + * + * @return possible object is + * {@link String } + */ + public String getXDetRetira() { + return xDetRetira; + } + + /** + * Sets the value of the xDetRetira property. + * + * @param value allowed object is + * {@link String } + */ + public void setXDetRetira(String value) { + this.xDetRetira = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return possible object is + * {@link String } + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value allowed object is + * {@link String } + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return possible object is + * {@link String } + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value allowed object is + * {@link String } + */ + public void setXJust(String value) { + this.xJust = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
+         *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+         *         <element name="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ICMSUFFim" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+         *                   <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms", + "vTotTrib", + "infAdFisco", + "icmsufFim" + }) + public static class Imp { + + @XmlElement(name = "ICMS", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TImp icms; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String vTotTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String infAdFisco; + @XmlElement(name = "ICMSUFFim", namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.Imp.ICMSUFFim icmsufFim; + + /** + * Gets the value of the icms property. + * + * @return possible object is + * {@link TImp } + */ + public TImp getICMS() { + return icms; + } + + /** + * Sets the value of the icms property. + * + * @param value allowed object is + * {@link TImp } + */ + public void setICMS(TImp value) { + this.icms = value; + } + + /** + * Gets the value of the vTotTrib property. + * + * @return possible object is + * {@link String } + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Sets the value of the vTotTrib property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + /** + * Gets the value of the infAdFisco property. + * + * @return possible object is + * {@link String } + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Sets the value of the infAdFisco property. + * + * @param value allowed object is + * {@link String } + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Gets the value of the icmsufFim property. + * + * @return possible object is + * {@link ICMSUFFim } + */ + public ICMSUFFim getICMSUFFim() { + return icmsufFim; + } + + /** + * Sets the value of the icmsufFim property. + * + * @param value allowed object is + * {@link ICMSUFFim } + */ + public void setICMSUFFim(ICMSUFFim value) { + this.icmsufFim = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+             *         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufFim", + "pfcpufFim", + "picmsufFim", + "picmsInter", + "vfcpufFim", + "vicmsufFim", + "vicmsufIni" + }) + public static class ICMSUFFim { + + @XmlElement(name = "vBCUFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vbcufFim; + @XmlElement(name = "pFCPUFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String pfcpufFim; + @XmlElement(name = "pICMSUFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String picmsufFim; + @XmlElement(name = "pICMSInter", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String picmsInter; + @XmlElement(name = "vFCPUFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vfcpufFim; + @XmlElement(name = "vICMSUFFim", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vicmsufFim; + @XmlElement(name = "vICMSUFIni", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vicmsufIni; + + /** + * Gets the value of the vbcufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVBCUFFim() { + return vbcufFim; + } + + /** + * Sets the value of the vbcufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVBCUFFim(String value) { + this.vbcufFim = value; + } + + /** + * Gets the value of the pfcpufFim property. + * + * @return possible object is + * {@link String } + */ + public String getPFCPUFFim() { + return pfcpufFim; + } + + /** + * Sets the value of the pfcpufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setPFCPUFFim(String value) { + this.pfcpufFim = value; + } + + /** + * Gets the value of the picmsufFim property. + * + * @return possible object is + * {@link String } + */ + public String getPICMSUFFim() { + return picmsufFim; + } + + /** + * Sets the value of the picmsufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setPICMSUFFim(String value) { + this.picmsufFim = value; + } + + /** + * Gets the value of the picmsInter property. + * + * @return possible object is + * {@link String } + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Sets the value of the picmsInter property. + * + * @param value allowed object is + * {@link String } + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Gets the value of the vfcpufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVFCPUFFim() { + return vfcpufFim; + } + + /** + * Sets the value of the vfcpufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVFCPUFFim(String value) { + this.vfcpufFim = value; + } + + /** + * Gets the value of the vicmsufFim property. + * + * @return possible object is + * {@link String } + */ + public String getVICMSUFFim() { + return vicmsufFim; + } + + /** + * Sets the value of the vicmsufFim property. + * + * @param value allowed object is + * {@link String } + */ + public void setVICMSUFFim(String value) { + this.vicmsufFim = value; + } + + /** + * Gets the value of the vicmsufIni property. + * + * @return possible object is + * {@link String } + */ + public String getVICMSUFIni() { + return vicmsufIni; + } + + /** + * Sets the value of the vicmsufIni property. + * + * @param value allowed object is + * {@link String } + */ + public void setVICMSUFIni(String value) { + this.vicmsufIni = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="proPred">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xOutCat" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="infQ" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="cUnid">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="00"/>
+         *                         <enumeration value="01"/>
+         *                         <enumeration value="02"/>
+         *                         <enumeration value="03"/>
+         *                         <enumeration value="04"/>
+         *                         <enumeration value="05"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="tpMed">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="2"/>
+         *                         <enumeration value="00"/>
+         *                         <enumeration value="01"/>
+         *                         <enumeration value="02"/>
+         *                         <enumeration value="03"/>
+         *                         <enumeration value="04"/>
+         *                         <enumeration value="05"/>
+         *                         <enumeration value="06"/>
+         *                         <enumeration value="07"/>
+         *                         <enumeration value="08"/>
+         *                         <enumeration value="09"/>
+         *                         <enumeration value="10"/>
+         *                         <enumeration value="11"/>
+         *                         <enumeration value="12"/>
+         *                         <enumeration value="13"/>
+         *                         <enumeration value="14"/>
+         *                         <enumeration value="15"/>
+         *                         <enumeration value="99"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vCarga", + "proPred", + "xOutCat", + "infQ", + "vCargaAverb" + }) + public static class InfCarga { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vCarga; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String proPred; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String xOutCat; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected List infQ; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String vCargaAverb; + + /** + * Gets the value of the vCarga property. + * + * @return possible object is + * {@link String } + */ + public String getVCarga() { + return vCarga; + } + + /** + * Sets the value of the vCarga property. + * + * @param value allowed object is + * {@link String } + */ + public void setVCarga(String value) { + this.vCarga = value; + } + + /** + * Gets the value of the proPred property. + * + * @return possible object is + * {@link String } + */ + public String getProPred() { + return proPred; + } + + /** + * Sets the value of the proPred property. + * + * @param value allowed object is + * {@link String } + */ + public void setProPred(String value) { + this.proPred = value; + } + + /** + * Gets the value of the xOutCat property. + * + * @return possible object is + * {@link String } + */ + public String getXOutCat() { + return xOutCat; + } + + /** + * Sets the value of the xOutCat property. + * + * @param value allowed object is + * {@link String } + */ + public void setXOutCat(String value) { + this.xOutCat = value; + } + + /** + * Gets the value of the infQ property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infQ property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfQ().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfQ } + */ + public List getInfQ() { + if (infQ == null) { + infQ = new ArrayList(); + } + return this.infQ; + } + + /** + * Gets the value of the vCargaAverb property. + * + * @return possible object is + * {@link String } + */ + public String getVCargaAverb() { + return vCargaAverb; + } + + /** + * Sets the value of the vCargaAverb property. + * + * @param value allowed object is + * {@link String } + */ + public void setVCargaAverb(String value) { + this.vCargaAverb = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="cUnid">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="00"/>
+             *               <enumeration value="01"/>
+             *               <enumeration value="02"/>
+             *               <enumeration value="03"/>
+             *               <enumeration value="04"/>
+             *               <enumeration value="05"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="tpMed">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="2"/>
+             *               <enumeration value="00"/>
+             *               <enumeration value="01"/>
+             *               <enumeration value="02"/>
+             *               <enumeration value="03"/>
+             *               <enumeration value="04"/>
+             *               <enumeration value="05"/>
+             *               <enumeration value="06"/>
+             *               <enumeration value="07"/>
+             *               <enumeration value="08"/>
+             *               <enumeration value="09"/>
+             *               <enumeration value="10"/>
+             *               <enumeration value="11"/>
+             *               <enumeration value="12"/>
+             *               <enumeration value="13"/>
+             *               <enumeration value="14"/>
+             *               <enumeration value="15"/>
+             *               <enumeration value="99"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cUnid", + "tpMed", + "qCarga" + }) + public static class InfQ { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cUnid; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpMed; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String qCarga; + + /** + * Gets the value of the cUnid property. + * + * @return possible object is + * {@link String } + */ + public String getCUnid() { + return cUnid; + } + + /** + * Sets the value of the cUnid property. + * + * @param value allowed object is + * {@link String } + */ + public void setCUnid(String value) { + this.cUnid = value; + } + + /** + * Gets the value of the tpMed property. + * + * @return possible object is + * {@link String } + */ + public String getTpMed() { + return tpMed; + } + + /** + * Sets the value of the tpMed property. + * + * @param value allowed object is + * {@link String } + */ + public void setTpMed(String value) { + this.tpMed = value; + } + + /** + * Gets the value of the qCarga property. + * + * @return possible object is + * {@link String } + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value allowed object is + * {@link String } + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="chCte">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <pattern value="[0-9]{44}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indAlteraToma" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chCte", + "indAlteraToma" + }) + public static class InfCteSub { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String chCte; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String indAlteraToma; + + /** + * Gets the value of the chCte property. + * + * @return possible object is + * {@link String } + */ + public String getChCte() { + return chCte; + } + + /** + * Sets the value of the chCte property. + * + * @param value allowed object is + * {@link String } + */ + public void setChCte(String value) { + this.chCte = value; + } + + /** + * Gets the value of the indAlteraToma property. + * + * @return possible object is + * {@link String } + */ + public String getIndAlteraToma() { + return indAlteraToma; + } + + /** + * Sets the value of the indAlteraToma property. + * + * @param value allowed object is + * {@link String } + */ + public void setIndAlteraToma(String value) { + this.indAlteraToma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <any processContents='skip'/>
+         *       </sequence>
+         *       <attribute name="versaoModal" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <pattern value="4\.(0[0-9]|[1-9][0-9])"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class InfModal { + + @XmlAnyElement + protected Element any; + @XmlAttribute(name = "versaoModal", required = true) + protected String versaoModal; + + /** + * Gets the value of the any property. + * + * @return possible object is + * {@link Element } + */ + public Element getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value allowed object is + * {@link Element } + */ + public void setAny(Element value) { + this.any = value; + } + + /** + * Gets the value of the versaoModal property. + * + * @return possible object is + * {@link String } + */ + public String getVersaoModal() { + return versaoModal; + } + + /** + * Sets the value of the versaoModal property. + * + * @param value allowed object is + * {@link String } + */ + public void setVersaoModal(String value) { + this.versaoModal = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJPAA" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="PAASignature">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+         *                   <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpjpaa", + "paaSignature" + }) + public static class InfPAA { + + @XmlElement(name = "CNPJPAA", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String cnpjpaa; + @XmlElement(name = "PAASignature", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TCTeSimp.InfCte.InfPAA.PAASignature paaSignature; + + /** + * Gets the value of the cnpjpaa property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJPAA() { + return cnpjpaa; + } + + /** + * Sets the value of the cnpjpaa property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJPAA(String value) { + this.cnpjpaa = value; + } + + /** + * Gets the value of the paaSignature property. + * + * @return possible object is + * {@link PAASignature } + */ + public PAASignature getPAASignature() { + return paaSignature; + } + + /** + * Sets the value of the paaSignature property. + * + * @param value allowed object is + * {@link PAASignature } + */ + public void setPAASignature(PAASignature value) { + this.paaSignature = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+             *         <element name="RSAKeyValue" type="{http://www.portalfiscal.inf.br/cte}TRSAKeyValueType"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "signatureValue", + "rsaKeyValue" + }) + public static class PAASignature { + + @XmlElement(name = "SignatureValue", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected byte[] signatureValue; + @XmlElement(name = "RSAKeyValue", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TRSAKeyValueType rsaKeyValue; + + /** + * Gets the value of the signatureValue property. + * + * @return possible object is + * byte[] + */ + public byte[] getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value allowed object is + * byte[] + */ + public void setSignatureValue(byte[] value) { + this.signatureValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return possible object is + * {@link TRSAKeyValueType } + */ + public TRSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value allowed object is + * {@link TRSAKeyValueType } + */ + public void setRSAKeyValue(TRSAKeyValueType value) { + this.rsaKeyValue = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xSolic">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xSolic" + }) + public static class InfSolicNFF { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xSolic; + + /** + * Gets the value of the xSolic property. + * + * @return possible object is + * {@link String } + */ + public String getXSolic() { + return xSolic; + } + + /** + * Sets the value of the xSolic property. + * + * @param value allowed object is + * {@link String } + */ + public void setXSolic(String value) { + this.xSolic = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="toma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "indIEToma", + "cnpj", + "cpf", + "ie", + "xNome", + "isuf", + "fone", + "enderToma", + "email" + }) + public static class Toma { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String toma; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String indIEToma; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/cte") + protected String cpf; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/cte") + protected String ie; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String xNome; + @XmlElement(name = "ISUF", namespace = "http://www.portalfiscal.inf.br/cte") + protected String isuf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String fone; + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected TEndereco enderToma; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String email; + + /** + * Gets the value of the toma property. + * + * @return possible object is + * {@link String } + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value allowed object is + * {@link String } + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return possible object is + * {@link String } + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value allowed object is + * {@link String } + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return possible object is + * {@link String } + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value allowed object is + * {@link String } + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return possible object is + * {@link String } + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value allowed object is + * {@link String } + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return possible object is + * {@link String } + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value allowed object is + * {@link String } + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return possible object is + * {@link String } + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value allowed object is + * {@link String } + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the isuf property. + * + * @return possible object is + * {@link String } + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value allowed object is + * {@link String } + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the fone property. + * + * @return possible object is + * {@link String } + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value allowed object is + * {@link String } + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return possible object is + * {@link TEndereco } + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value allowed object is + * {@link TEndereco } + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return possible object is + * {@link String } + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value allowed object is + * {@link String } + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *         <element name="vTRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vtPrest", + "vtRec" + }) + public static class Total { + + @XmlElement(name = "vTPrest", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vtPrest; + @XmlElement(name = "vTRec", required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String vtRec; + + /** + * Gets the value of the vtPrest property. + * + * @return possible object is + * {@link String } + */ + public String getVTPrest() { + return vtPrest; + } + + /** + * Sets the value of the vtPrest property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTPrest(String value) { + this.vtPrest = value; + } + + /** + * Gets the value of the vtRec property. + * + * @return possible object is + * {@link String } + */ + public String getVTRec() { + return vtRec; + } + + /** + * Sets the value of the vtRec property. + * + * @param value allowed object is + * {@link String } + */ + public void setVTRec(String value) { + this.vtRec = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true, namespace = "http://www.portalfiscal.inf.br/cte") + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return possible object is + * {@link String } + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value allowed object is + * {@link String } + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndOrg.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndOrg.java new file mode 100644 index 0000000..be88cdb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndOrg.java @@ -0,0 +1,397 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndOrg complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndOrg">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndOrg", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "cPais", + "xPais", + "fone" +}) +public class TEndOrg { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + protected String cPais; + protected String xPais; + protected String fone; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the cPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Sets the value of the cPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Gets the value of the xPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Sets the value of the xPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndReEnt.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndReEnt.java new file mode 100644 index 0000000..dc2dfcc --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndReEnt.java @@ -0,0 +1,360 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Local de Retirada ou Entrega + * + *

Java class for TEndReEnt complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndReEnt">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <choice>
+ *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *         </choice>
+ *         <element name="xNome">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndReEnt", propOrder = { + "cnpj", + "cpf", + "xNome", + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "uf" +}) +public class TEndReEnt { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(required = true) + protected String xNome; + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndeEmi.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndeEmi.java new file mode 100644 index 0000000..ea9c529 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndeEmi.java @@ -0,0 +1,329 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndeEmi complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndeEmi">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUF_sem_EX"/>
+ *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndeEmi", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "fone" +}) +public class TEndeEmi { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUFSemEX uf; + protected String fone; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUFSemEX } + * + */ + public TUFSemEX getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUFSemEX } + * + */ + public void setUF(TUFSemEX value) { + this.uf = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndereco.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndereco.java new file mode 100644 index 0000000..70a04b4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndereco.java @@ -0,0 +1,370 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndereco complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndereco">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndereco", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf", + "cPais", + "xPais" +}) +public class TEndereco { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + protected String cPais; + protected String xPais; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the cPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Sets the value of the cPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Gets the value of the xPais property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Sets the value of the xPais property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndernac.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndernac.java new file mode 100644 index 0000000..31c8ddb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TEndernac.java @@ -0,0 +1,302 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Endereço + * + *

Java class for TEndernac complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TEndernac">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="255"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndernac", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "cep", + "uf" +}) +public class TEndernac { + + @XmlElement(required = true) + protected String xLgr; + @XmlElement(required = true) + protected String nro; + protected String xCpl; + @XmlElement(required = true) + protected String xBairro; + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "CEP") + protected String cep; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the xLgr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Sets the value of the xLgr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Gets the value of the nro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Sets the value of the nro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Gets the value of the xCpl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Sets the value of the xCpl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Gets the value of the xBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Sets the value of the xBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the cep property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Sets the value of the cep property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TGTVe.java new file mode 100644 index 0000000..c779ef9 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TGTVe.java @@ -0,0 +1,4729 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Guia de Transporte de Valores Eletrônica (Modelo 64) + * + *

Java class for TGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infCte">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *                             <element name="cCT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+ *                             <element name="serie">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+ *                             <element name="dhEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="8"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                             <element name="tpCTe">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *                             <element name="xMunEnv">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *                             <element name="modal">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+ *                                   <enumeration value="01"/>
+ *                                   <enumeration value="06"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpServ">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIEToma">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dhSaidaOrig">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dhChegadaDest">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <choice>
+ *                               <element name="toma">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="0"/>
+ *                                               <enumeration value="1"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                               <element name="tomaTerceiro">
+ *                                 <complexType>
+ *                                   <complexContent>
+ *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                       <sequence>
+ *                                         <element name="toma">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <enumeration value="4"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <choice>
+ *                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                                         </choice>
+ *                                         <element name="IE" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xNome">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <maxLength value="60"/>
+ *                                               <minLength value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="xFant" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                               <maxLength value="60"/>
+ *                                               <minLength value="2"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                                         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                                         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                                       </sequence>
+ *                                     </restriction>
+ *                                   </complexContent>
+ *                                 </complexType>
+ *                               </element>
+ *                             </choice>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compl" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xCaracAd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCaracSer" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="30"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xEmi" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xObs" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="2000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ObsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="160"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                             <element name="IE">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IEST" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="rem">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="dest">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                             <element name="IE" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+ *                             <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="origem" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+ *                   <element name="destino" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+ *                   <element name="detGTV">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="infEspecie" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="tpEspecie">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                             <enumeration value="3"/>
+ *                                             <enumeration value="4"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                                       <element name="tpNumerario">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xMoedaEstr" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="2"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+ *                             <element name="infVeiculo" maxOccurs="unbounded">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+ *                                       <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+ *                                       <element name="RNTRC" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{8}|ISENTO"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="CTe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infCTeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCodCTe">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="50"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TGTVe", propOrder = { + "infCte", + "infCTeSupl", + "signature" +}) +public class TGTVe { + + @XmlElement(required = true) + protected TGTVe.InfCte infCte; + protected InfCTeSupl infCTeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infCte property. + * + * @return + * possible object is + * {@link InfCte } + * + */ + public InfCte getInfCte() { + return infCte; + } + + /** + * Sets the value of the infCte property. + * + * @param value + * allowed object is + * {@link InfCte } + * + */ + public void setInfCte(InfCte value) { + this.infCte = value; + } + + /** + * Gets the value of the infCTeSupl property. + * + * @return + * possible object is + * {@link InfCTeSupl } + * + */ + public InfCTeSupl getInfCTeSupl() { + return infCTeSupl; + } + + /** + * Sets the value of the infCTeSupl property. + * + * @param value + * allowed object is + * {@link InfCTeSupl } + * + */ + public void setInfCTeSupl(InfCTeSupl value) { + this.infCTeSupl = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="ide">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+     *                   <element name="cCT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+     *                   <element name="serie">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+     *                   <element name="dhEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="8"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *                   <element name="tpCTe">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+     *                   <element name="xMunEnv">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+     *                   <element name="modal">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+     *                         <enumeration value="01"/>
+     *                         <enumeration value="06"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpServ">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIEToma">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dhSaidaOrig">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dhChegadaDest">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <choice>
+     *                     <element name="toma">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="0"/>
+     *                                     <enumeration value="1"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                     <element name="tomaTerceiro">
+     *                       <complexType>
+     *                         <complexContent>
+     *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                             <sequence>
+     *                               <element name="toma">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <enumeration value="4"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <choice>
+     *                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                                 <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                               </choice>
+     *                               <element name="IE" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xNome">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <maxLength value="60"/>
+     *                                     <minLength value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="xFant" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                     <maxLength value="60"/>
+     *                                     <minLength value="2"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                               <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                               <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                             </sequence>
+     *                           </restriction>
+     *                         </complexContent>
+     *                       </complexType>
+     *                     </element>
+     *                   </choice>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compl" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xCaracAd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCaracSer" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="30"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xEmi" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xObs" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="2000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="160"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                   <element name="IE">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IEST" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="rem">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="dest">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                   <element name="IE" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+     *                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="origem" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+     *         <element name="destino" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi" minOccurs="0"/>
+     *         <element name="detGTV">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="infEspecie" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="tpEspecie">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                   <enumeration value="3"/>
+     *                                   <enumeration value="4"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *                             <element name="tpNumerario">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xMoedaEstr" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="2"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+     *                   <element name="infVeiculo" maxOccurs="unbounded">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+     *                             <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+     *                             <element name="RNTRC" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{8}|ISENTO"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="versao" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="CTe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "compl", + "emit", + "rem", + "dest", + "origem", + "destino", + "detGTV", + "autXML", + "infRespTec" + }) + public static class InfCte { + + @XmlElement(required = true) + protected TGTVe.InfCte.Ide ide; + protected Compl compl; + @XmlElement(required = true) + protected TGTVe.InfCte.Emit emit; + @XmlElement(required = true) + protected TGTVe.InfCte.Rem rem; + @XmlElement(required = true) + protected TGTVe.InfCte.Dest dest; + protected TEndeEmi origem; + protected TEndeEmi destino; + @XmlElement(required = true) + protected TGTVe.InfCte.DetGTV detGTV; + protected List autXML; + protected TRespTec infRespTec; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Gets the value of the ide property. + * + * @return + * possible object is + * {@link Ide } + * + */ + public Ide getIde() { + return ide; + } + + /** + * Sets the value of the ide property. + * + * @param value + * allowed object is + * {@link Ide } + * + */ + public void setIde(Ide value) { + this.ide = value; + } + + /** + * Gets the value of the compl property. + * + * @return + * possible object is + * {@link Compl } + * + */ + public Compl getCompl() { + return compl; + } + + /** + * Sets the value of the compl property. + * + * @param value + * allowed object is + * {@link Compl } + * + */ + public void setCompl(Compl value) { + this.compl = value; + } + + /** + * Gets the value of the emit property. + * + * @return + * possible object is + * {@link Emit } + * + */ + public Emit getEmit() { + return emit; + } + + /** + * Sets the value of the emit property. + * + * @param value + * allowed object is + * {@link Emit } + * + */ + public void setEmit(Emit value) { + this.emit = value; + } + + /** + * Gets the value of the rem property. + * + * @return + * possible object is + * {@link Rem } + * + */ + public Rem getRem() { + return rem; + } + + /** + * Sets the value of the rem property. + * + * @param value + * allowed object is + * {@link Rem } + * + */ + public void setRem(Rem value) { + this.rem = value; + } + + /** + * Gets the value of the dest property. + * + * @return + * possible object is + * {@link Dest } + * + */ + public Dest getDest() { + return dest; + } + + /** + * Sets the value of the dest property. + * + * @param value + * allowed object is + * {@link Dest } + * + */ + public void setDest(Dest value) { + this.dest = value; + } + + /** + * Gets the value of the origem property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getOrigem() { + return origem; + } + + /** + * Sets the value of the origem property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setOrigem(TEndeEmi value) { + this.origem = value; + } + + /** + * Gets the value of the destino property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getDestino() { + return destino; + } + + /** + * Sets the value of the destino property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setDestino(TEndeEmi value) { + this.destino = value; + } + + /** + * Gets the value of the detGTV property. + * + * @return + * possible object is + * {@link DetGTV } + * + */ + public DetGTV getDetGTV() { + return detGTV; + } + + /** + * Sets the value of the detGTV property. + * + * @param value + * allowed object is + * {@link DetGTV } + * + */ + public void setDetGTV(DetGTV value) { + this.detGTV = value; + } + + /** + * Gets the value of the autXML property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the infRespTec property. + * + * @return + * possible object is + * {@link TRespTec } + * + */ + public TRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Sets the value of the infRespTec property. + * + * @param value + * allowed object is + * {@link TRespTec } + * + */ + public void setInfRespTec(TRespTec value) { + this.infRespTec = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="xCaracAd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCaracSer" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="30"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xEmi" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xObs" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="2000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ObsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="160"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ObsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xCaracAd", + "xCaracSer", + "xEmi", + "xObs", + "obsCont", + "obsFisco" + }) + public static class Compl { + + protected String xCaracAd; + protected String xCaracSer; + protected String xEmi; + protected String xObs; + @XmlElement(name = "ObsCont") + protected List obsCont; + @XmlElement(name = "ObsFisco") + protected List obsFisco; + + /** + * Gets the value of the xCaracAd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracAd() { + return xCaracAd; + } + + /** + * Sets the value of the xCaracAd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracAd(String value) { + this.xCaracAd = value; + } + + /** + * Gets the value of the xCaracSer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCaracSer() { + return xCaracSer; + } + + /** + * Sets the value of the xCaracSer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCaracSer(String value) { + this.xCaracSer = value; + } + + /** + * Gets the value of the xEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmi() { + return xEmi; + } + + /** + * Sets the value of the xEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmi(String value) { + this.xEmi = value; + } + + /** + * Gets the value of the xObs property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXObs() { + return xObs; + } + + /** + * Sets the value of the xObs property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXObs(String value) { + this.xObs = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="160"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Gets the value of the xTexto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Sets the value of the xTexto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Gets the value of the xCampo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Sets the value of the xCampo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "fone", + "isuf", + "enderDest", + "email" + }) + public static class Dest { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String fone; + @XmlElement(name = "ISUF") + protected String isuf; + @XmlElement(required = true) + protected TEndereco enderDest; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the isuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getISUF() { + return isuf; + } + + /** + * Sets the value of the isuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Gets the value of the enderDest property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderDest() { + return enderDest; + } + + /** + * Sets the value of the enderDest property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderDest(TEndereco value) { + this.enderDest = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="infEspecie" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="tpEspecie">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                         <enumeration value="3"/>
+         *                         <enumeration value="4"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+         *                   <element name="tpNumerario">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xMoedaEstr" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="2"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
+         *         <element name="infVeiculo" maxOccurs="unbounded">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+         *                   <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+         *                   <element name="RNTRC" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{8}|ISENTO"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infEspecie", + "qCarga", + "infVeiculo" + }) + public static class DetGTV { + + @XmlElement(required = true) + protected List infEspecie; + @XmlElement(required = true) + protected String qCarga; + @XmlElement(required = true) + protected List infVeiculo; + + /** + * Gets the value of the infEspecie property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infEspecie property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfEspecie().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfEspecie } + * + * + */ + public List getInfEspecie() { + if (infEspecie == null) { + infEspecie = new ArrayList(); + } + return this.infEspecie; + } + + /** + * Gets the value of the qCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCarga() { + return qCarga; + } + + /** + * Sets the value of the qCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCarga(String value) { + this.qCarga = value; + } + + /** + * Gets the value of the infVeiculo property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infVeiculo property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getInfVeiculo().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link InfVeiculo } + * + * + */ + public List getInfVeiculo() { + if (infVeiculo == null) { + infVeiculo = new ArrayList(); + } + return this.infVeiculo; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="tpEspecie">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vEspecie" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+             *         <element name="tpNumerario">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xMoedaEstr" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpEspecie", + "vEspecie", + "tpNumerario", + "xMoedaEstr" + }) + public static class InfEspecie { + + @XmlElement(required = true) + protected String tpEspecie; + @XmlElement(required = true) + protected String vEspecie; + @XmlElement(required = true) + protected String tpNumerario; + protected String xMoedaEstr; + + /** + * Gets the value of the tpEspecie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEspecie() { + return tpEspecie; + } + + /** + * Sets the value of the tpEspecie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEspecie(String value) { + this.tpEspecie = value; + } + + /** + * Gets the value of the vEspecie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVEspecie() { + return vEspecie; + } + + /** + * Sets the value of the vEspecie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVEspecie(String value) { + this.vEspecie = value; + } + + /** + * Gets the value of the tpNumerario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpNumerario() { + return tpNumerario; + } + + /** + * Sets the value of the tpNumerario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpNumerario(String value) { + this.tpNumerario = value; + } + + /** + * Gets the value of the xMoedaEstr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMoedaEstr() { + return xMoedaEstr; + } + + /** + * Sets the value of the xMoedaEstr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMoedaEstr(String value) { + this.xMoedaEstr = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="placa" type="{http://www.portalfiscal.inf.br/cte}TPlaca"/>
+             *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf" minOccurs="0"/>
+             *         <element name="RNTRC" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{8}|ISENTO"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "placa", + "uf", + "rntrc" + }) + public static class InfVeiculo { + + @XmlElement(required = true) + protected String placa; + @XmlElement(name = "UF") + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(name = "RNTRC") + protected String rntrc; + + /** + * Gets the value of the placa property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaca() { + return placa; + } + + /** + * Sets the value of the placa property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaca(String value) { + this.placa = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Gets the value of the rntrc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRNTRC() { + return rntrc; + } + + /** + * Sets the value of the rntrc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRNTRC(String value) { + this.rntrc = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+         *         <element name="IE">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IEST" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "ie", + "iest", + "xNome", + "xFant", + "enderEmit" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(name = "IE", required = true) + protected String ie; + @XmlElement(name = "IEST") + protected String iest; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + @XmlElement(required = true) + protected TEndeEmi enderEmit; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the iest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Sets the value of the iest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the enderEmit property. + * + * @return + * possible object is + * {@link TEndeEmi } + * + */ + public TEndeEmi getEnderEmit() { + return enderEmit; + } + + /** + * Sets the value of the enderEmit property. + * + * @param value + * allowed object is + * {@link TEndeEmi } + * + */ + public void setEnderEmit(TEndeEmi value) { + this.enderEmit = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+         *         <element name="cCT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModGTVe"/>
+         *         <element name="serie">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
+         *         <element name="dhEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="8"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+         *         <element name="tpCTe">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TFinGTVe">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+         *         <element name="xMunEnv">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+         *         <element name="modal">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TModTranspGTVe">
+         *               <enumeration value="01"/>
+         *               <enumeration value="06"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpServ">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIEToma">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dhSaidaOrig">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dhChegadaDest">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <choice>
+         *           <element name="toma">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="0"/>
+         *                           <enumeration value="1"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *           <element name="tomaTerceiro">
+         *             <complexType>
+         *               <complexContent>
+         *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                   <sequence>
+         *                     <element name="toma">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <enumeration value="4"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <choice>
+         *                       <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *                       <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *                     </choice>
+         *                     <element name="IE" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="xNome">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <maxLength value="60"/>
+         *                           <minLength value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="xFant" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                           <maxLength value="60"/>
+         *                           <minLength value="2"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *                     <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *                     <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+         *                   </sequence>
+         *                 </restriction>
+         *               </complexContent>
+         *             </complexType>
+         *           </element>
+         *         </choice>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cct", + "cfop", + "natOp", + "mod", + "serie", + "nct", + "dhEmi", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "tpCTe", + "verProc", + "cMunEnv", + "xMunEnv", + "ufEnv", + "modal", + "tpServ", + "indIEToma", + "dhSaidaOrig", + "dhChegadaDest", + "toma", + "tomaTerceiro", + "dhCont", + "xJust" + }) + public static class Ide { + + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(name = "cCT", required = true) + protected String cct; + @XmlElement(name = "CFOP", required = true) + protected String cfop; + @XmlElement(required = true) + protected String natOp; + @XmlElement(required = true) + protected String mod; + @XmlElement(required = true) + protected String serie; + @XmlElement(name = "nCT", required = true) + protected String nct; + @XmlElement(required = true) + protected String dhEmi; + @XmlElement(required = true) + protected String tpImp; + @XmlElement(required = true) + protected String tpEmis; + @XmlElement(name = "cDV", required = true) + protected String cdv; + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String tpCTe; + @XmlElement(required = true) + protected String verProc; + @XmlElement(required = true) + protected String cMunEnv; + @XmlElement(required = true) + protected String xMunEnv; + @XmlElement(name = "UFEnv", required = true) + @XmlSchemaType(name = "string") + protected TUf ufEnv; + @XmlElement(required = true) + protected String modal; + @XmlElement(required = true) + protected String tpServ; + @XmlElement(required = true) + protected String indIEToma; + @XmlElement(required = true) + protected String dhSaidaOrig; + @XmlElement(required = true) + protected String dhChegadaDest; + protected Toma toma; + protected TomaTerceiro tomaTerceiro; + protected String dhCont; + protected String xJust; + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the cct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCT() { + return cct; + } + + /** + * Sets the value of the cct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCT(String value) { + this.cct = value; + } + + /** + * Gets the value of the cfop property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Sets the value of the cfop property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Gets the value of the natOp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Sets the value of the natOp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Gets the value of the mod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Sets the value of the mod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Gets the value of the serie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Sets the value of the serie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Gets the value of the nct property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCT() { + return nct; + } + + /** + * Sets the value of the nct property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCT(String value) { + this.nct = value; + } + + /** + * Gets the value of the dhEmi property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Sets the value of the dhEmi property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Gets the value of the tpImp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Sets the value of the tpImp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Gets the value of the tpEmis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Sets the value of the tpEmis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Gets the value of the cdv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Sets the value of the cdv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the tpCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCTe() { + return tpCTe; + } + + /** + * Sets the value of the tpCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCTe(String value) { + this.tpCTe = value; + } + + /** + * Gets the value of the verProc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Sets the value of the verProc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Gets the value of the cMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunEnv() { + return cMunEnv; + } + + /** + * Sets the value of the cMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunEnv(String value) { + this.cMunEnv = value; + } + + /** + * Gets the value of the xMunEnv property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMunEnv() { + return xMunEnv; + } + + /** + * Sets the value of the xMunEnv property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMunEnv(String value) { + this.xMunEnv = value; + } + + /** + * Gets the value of the ufEnv property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFEnv() { + return ufEnv; + } + + /** + * Sets the value of the ufEnv property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFEnv(TUf value) { + this.ufEnv = value; + } + + /** + * Gets the value of the modal property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModal() { + return modal; + } + + /** + * Sets the value of the modal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModal(String value) { + this.modal = value; + } + + /** + * Gets the value of the tpServ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpServ() { + return tpServ; + } + + /** + * Sets the value of the tpServ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpServ(String value) { + this.tpServ = value; + } + + /** + * Gets the value of the indIEToma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEToma() { + return indIEToma; + } + + /** + * Sets the value of the indIEToma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEToma(String value) { + this.indIEToma = value; + } + + /** + * Gets the value of the dhSaidaOrig property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhSaidaOrig() { + return dhSaidaOrig; + } + + /** + * Sets the value of the dhSaidaOrig property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhSaidaOrig(String value) { + this.dhSaidaOrig = value; + } + + /** + * Gets the value of the dhChegadaDest property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhChegadaDest() { + return dhChegadaDest; + } + + /** + * Sets the value of the dhChegadaDest property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhChegadaDest(String value) { + this.dhChegadaDest = value; + } + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link Toma } + * + */ + public Toma getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link Toma } + * + */ + public void setToma(Toma value) { + this.toma = value; + } + + /** + * Gets the value of the tomaTerceiro property. + * + * @return + * possible object is + * {@link TomaTerceiro } + * + */ + public TomaTerceiro getTomaTerceiro() { + return tomaTerceiro; + } + + /** + * Sets the value of the tomaTerceiro property. + * + * @param value + * allowed object is + * {@link TomaTerceiro } + * + */ + public void setTomaTerceiro(TomaTerceiro value) { + this.tomaTerceiro = value; + } + + /** + * Gets the value of the dhCont property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Sets the value of the dhCont property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Gets the value of the xJust property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Sets the value of the xJust property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma" + }) + public static class Toma { + + @XmlElement(required = true) + protected String toma; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+             * <complexType>
+             *   <complexContent>
+             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *       <sequence>
+             *         <element name="toma">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="4"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <choice>
+             *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+             *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+             *         </choice>
+             *         <element name="IE" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xNome">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xFant" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+             *         <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+             *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "toma", + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderToma", + "email" + }) + public static class TomaTerceiro { + + @XmlElement(required = true) + protected String toma; + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderToma; + protected String email; + + /** + * Gets the value of the toma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToma() { + return toma; + } + + /** + * Sets the value of the toma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToma(String value) { + this.toma = value; + } + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderToma property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderToma() { + return enderToma; + } + + /** + * Sets the value of the enderToma property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderToma(TEndereco value) { + this.enderToma = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
+         *         </choice>
+         *         <element name="IE" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
+         *         <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "ie", + "xNome", + "xFant", + "fone", + "enderReme", + "email" + }) + public static class Rem { + + @XmlElement(name = "CNPJ") + protected String cnpj; + @XmlElement(name = "CPF") + protected String cpf; + @XmlElement(name = "IE") + protected String ie; + @XmlElement(required = true) + protected String xNome; + protected String xFant; + protected String fone; + @XmlElement(required = true) + protected TEndereco enderReme; + protected String email; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the cpf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Sets the value of the cpf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Gets the value of the ie property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Sets the value of the ie property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Gets the value of the xNome property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Sets the value of the xNome property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Gets the value of the xFant property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Sets the value of the xFant property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the enderReme property. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderReme() { + return enderReme; + } + + /** + * Sets the value of the enderReme property. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderReme(TEndereco value) { + this.enderReme = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="qrCodCTe">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="50"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCodCTe" + }) + public static class InfCTeSupl { + + @XmlElement(required = true) + protected String qrCodCTe; + + /** + * Gets the value of the qrCodCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCodCTe() { + return qrCodCTe; + } + + /** + * Sets the value of the qrCodCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCodCTe(String value) { + this.qrCodCTe = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImp.java new file mode 100644 index 0000000..c177222 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImp.java @@ -0,0 +1,1782 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Imposto CT-e + * + *

Java class for TImp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TImp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="ICMS00">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS20">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS45">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="40"/>
+ *                         <enumeration value="41"/>
+ *                         <enumeration value="51"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS60">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS90">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSOutraUF">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSSN">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="indSN">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TImp", propOrder = { + "icms00", + "icms20", + "icms45", + "icms60", + "icms90", + "icmsOutraUF", + "icmssn" +}) +public class TImp { + + @XmlElement(name = "ICMS00") + protected TImp.ICMS00 icms00; + @XmlElement(name = "ICMS20") + protected TImp.ICMS20 icms20; + @XmlElement(name = "ICMS45") + protected TImp.ICMS45 icms45; + @XmlElement(name = "ICMS60") + protected TImp.ICMS60 icms60; + @XmlElement(name = "ICMS90") + protected TImp.ICMS90 icms90; + @XmlElement(name = "ICMSOutraUF") + protected TImp.ICMSOutraUF icmsOutraUF; + @XmlElement(name = "ICMSSN") + protected TImp.ICMSSN icmssn; + + /** + * Gets the value of the icms00 property. + * + * @return + * possible object is + * {@link ICMS00 } + * + */ + public ICMS00 getICMS00() { + return icms00; + } + + /** + * Sets the value of the icms00 property. + * + * @param value + * allowed object is + * {@link ICMS00 } + * + */ + public void setICMS00(ICMS00 value) { + this.icms00 = value; + } + + /** + * Gets the value of the icms20 property. + * + * @return + * possible object is + * {@link ICMS20 } + * + */ + public ICMS20 getICMS20() { + return icms20; + } + + /** + * Sets the value of the icms20 property. + * + * @param value + * allowed object is + * {@link ICMS20 } + * + */ + public void setICMS20(ICMS20 value) { + this.icms20 = value; + } + + /** + * Gets the value of the icms45 property. + * + * @return + * possible object is + * {@link ICMS45 } + * + */ + public ICMS45 getICMS45() { + return icms45; + } + + /** + * Sets the value of the icms45 property. + * + * @param value + * allowed object is + * {@link ICMS45 } + * + */ + public void setICMS45(ICMS45 value) { + this.icms45 = value; + } + + /** + * Gets the value of the icms60 property. + * + * @return + * possible object is + * {@link ICMS60 } + * + */ + public ICMS60 getICMS60() { + return icms60; + } + + /** + * Sets the value of the icms60 property. + * + * @param value + * allowed object is + * {@link ICMS60 } + * + */ + public void setICMS60(ICMS60 value) { + this.icms60 = value; + } + + /** + * Gets the value of the icms90 property. + * + * @return + * possible object is + * {@link ICMS90 } + * + */ + public ICMS90 getICMS90() { + return icms90; + } + + /** + * Sets the value of the icms90 property. + * + * @param value + * allowed object is + * {@link ICMS90 } + * + */ + public void setICMS90(ICMS90 value) { + this.icms90 = value; + } + + /** + * Gets the value of the icmsOutraUF property. + * + * @return + * possible object is + * {@link ICMSOutraUF } + * + */ + public ICMSOutraUF getICMSOutraUF() { + return icmsOutraUF; + } + + /** + * Sets the value of the icmsOutraUF property. + * + * @param value + * allowed object is + * {@link ICMSOutraUF } + * + */ + public void setICMSOutraUF(ICMSOutraUF value) { + this.icmsOutraUF = value; + } + + /** + * Gets the value of the icmssn property. + * + * @return + * possible object is + * {@link ICMSSN } + * + */ + public ICMSSN getICMSSN() { + return icmssn; + } + + /** + * Sets the value of the icmssn property. + * + * @param value + * allowed object is + * {@link ICMSSN } + * + */ + public void setICMSSN(ICMSSN value) { + this.icmssn = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "picms", + "vicms" + }) + public static class ICMS00 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vicmsDeson", + "cBenef" + }) + public static class ICMS20 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="40"/>
+     *               <enumeration value="41"/>
+     *               <enumeration value="51"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vicmsDeson", + "cBenef" + }) + public static class ICMS45 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSSTRet" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbcstRet", + "vicmsstRet", + "picmsstRet", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS60 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBCSTRet", required = true) + protected String vbcstRet; + @XmlElement(name = "vICMSSTRet", required = true) + protected String vicmsstRet; + @XmlElement(name = "pICMSSTRet", required = true) + protected String picmsstRet; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbcstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTRet() { + return vbcstRet; + } + + /** + * Sets the value of the vbcstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTRet(String value) { + this.vbcstRet = value; + } + + /** + * Gets the value of the vicmsstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTRet() { + return vicmsstRet; + } + + /** + * Sets the value of the vicmsstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTRet(String value) { + this.vicmsstRet = value; + } + + /** + * Gets the value of the picmsstRet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSSTRet() { + return picmsstRet; + } + + /** + * Sets the value of the picmsstRet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSSTRet(String value) { + this.picmsstRet = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS90 { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBCOutraUF", + "vbcOutraUF", + "picmsOutraUF", + "vicmsOutraUF", + "vicmsDeson", + "cBenef" + }) + public static class ICMSOutraUF { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBCOutraUF; + @XmlElement(name = "vBCOutraUF", required = true) + protected String vbcOutraUF; + @XmlElement(name = "pICMSOutraUF", required = true) + protected String picmsOutraUF; + @XmlElement(name = "vICMSOutraUF", required = true) + protected String vicmsOutraUF; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBCOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCOutraUF() { + return pRedBCOutraUF; + } + + /** + * Sets the value of the pRedBCOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCOutraUF(String value) { + this.pRedBCOutraUF = value; + } + + /** + * Gets the value of the vbcOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCOutraUF() { + return vbcOutraUF; + } + + /** + * Sets the value of the vbcOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCOutraUF(String value) { + this.vbcOutraUF = value; + } + + /** + * Gets the value of the picmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSOutraUF() { + return picmsOutraUF; + } + + /** + * Sets the value of the picmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSOutraUF(String value) { + this.picmsOutraUF = value; + } + + /** + * Gets the value of the vicmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSOutraUF() { + return vicmsOutraUF; + } + + /** + * Sets the value of the vicmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSOutraUF(String value) { + this.vicmsOutraUF = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="indSN">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "indSN" + }) + public static class ICMSSN { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String indSN; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the indSN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSN() { + return indSN; + } + + /** + * Sets the value of the indSN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSN(String value) { + this.indSN = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImpOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImpOS.java new file mode 100644 index 0000000..a17f81e --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TImpOS.java @@ -0,0 +1,1485 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Imposto para CT-e OS + * + *

Java class for TImpOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TImpOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="ICMS00">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS20">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS45">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="40"/>
+ *                         <enumeration value="41"/>
+ *                         <enumeration value="51"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMS90">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSOutraUF">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+ *                   <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+ *                   <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+ *                     <element name="cBenef">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                           <whiteSpace value="preserve"/>
+ *                           <maxLength value="10"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="ICMSSN">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="CST">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="90"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="indSN">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TImpOS", propOrder = { + "icms00", + "icms20", + "icms45", + "icms90", + "icmsOutraUF", + "icmssn" +}) +public class TImpOS { + + @XmlElement(name = "ICMS00") + protected TImpOS.ICMS00 icms00; + @XmlElement(name = "ICMS20") + protected TImpOS.ICMS20 icms20; + @XmlElement(name = "ICMS45") + protected TImpOS.ICMS45 icms45; + @XmlElement(name = "ICMS90") + protected TImpOS.ICMS90 icms90; + @XmlElement(name = "ICMSOutraUF") + protected TImpOS.ICMSOutraUF icmsOutraUF; + @XmlElement(name = "ICMSSN") + protected TImpOS.ICMSSN icmssn; + + /** + * Gets the value of the icms00 property. + * + * @return + * possible object is + * {@link ICMS00 } + * + */ + public ICMS00 getICMS00() { + return icms00; + } + + /** + * Sets the value of the icms00 property. + * + * @param value + * allowed object is + * {@link ICMS00 } + * + */ + public void setICMS00(ICMS00 value) { + this.icms00 = value; + } + + /** + * Gets the value of the icms20 property. + * + * @return + * possible object is + * {@link ICMS20 } + * + */ + public ICMS20 getICMS20() { + return icms20; + } + + /** + * Sets the value of the icms20 property. + * + * @param value + * allowed object is + * {@link ICMS20 } + * + */ + public void setICMS20(ICMS20 value) { + this.icms20 = value; + } + + /** + * Gets the value of the icms45 property. + * + * @return + * possible object is + * {@link ICMS45 } + * + */ + public ICMS45 getICMS45() { + return icms45; + } + + /** + * Sets the value of the icms45 property. + * + * @param value + * allowed object is + * {@link ICMS45 } + * + */ + public void setICMS45(ICMS45 value) { + this.icms45 = value; + } + + /** + * Gets the value of the icms90 property. + * + * @return + * possible object is + * {@link ICMS90 } + * + */ + public ICMS90 getICMS90() { + return icms90; + } + + /** + * Sets the value of the icms90 property. + * + * @param value + * allowed object is + * {@link ICMS90 } + * + */ + public void setICMS90(ICMS90 value) { + this.icms90 = value; + } + + /** + * Gets the value of the icmsOutraUF property. + * + * @return + * possible object is + * {@link ICMSOutraUF } + * + */ + public ICMSOutraUF getICMSOutraUF() { + return icmsOutraUF; + } + + /** + * Sets the value of the icmsOutraUF property. + * + * @param value + * allowed object is + * {@link ICMSOutraUF } + * + */ + public void setICMSOutraUF(ICMSOutraUF value) { + this.icmsOutraUF = value; + } + + /** + * Gets the value of the icmssn property. + * + * @return + * possible object is + * {@link ICMSSN } + * + */ + public ICMSSN getICMSSN() { + return icmssn; + } + + /** + * Sets the value of the icmssn property. + * + * @param value + * allowed object is + * {@link ICMSSN } + * + */ + public void setICMSSN(ICMSSN value) { + this.icmssn = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "picms", + "vicms" + }) + public static class ICMS00 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vicmsDeson", + "cBenef" + }) + public static class ICMS20 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="40"/>
+     *               <enumeration value="41"/>
+     *               <enumeration value="51"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vicmsDeson", + "cBenef" + }) + public static class ICMS45 { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="vCred" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBC", + "vbc", + "picms", + "vicms", + "vCred", + "vicmsDeson", + "cBenef" + }) + public static class ICMS90 { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBC; + @XmlElement(name = "vBC", required = true) + protected String vbc; + @XmlElement(name = "pICMS", required = true) + protected String picms; + @XmlElement(name = "vICMS", required = true) + protected String vicms; + protected String vCred; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBC property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Sets the value of the pRedBC property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Gets the value of the vbc property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Sets the value of the vbc property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Gets the value of the picms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Sets the value of the picms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Gets the value of the vicms property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Sets the value of the vicms property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Gets the value of the vCred property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCred() { + return vCred; + } + + /** + * Sets the value of the vCred property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCred(String value) { + this.vCred = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="pRedBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302Opc" minOccurs="0"/>
+     *         <element name="vBCOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <element name="pICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
+     *         <element name="vICMSOutraUF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *         <sequence minOccurs="0">
+     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
+     *           <element name="cBenef">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *                 <whiteSpace value="preserve"/>
+     *                 <maxLength value="10"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "pRedBCOutraUF", + "vbcOutraUF", + "picmsOutraUF", + "vicmsOutraUF", + "vicmsDeson", + "cBenef" + }) + public static class ICMSOutraUF { + + @XmlElement(name = "CST", required = true) + protected String cst; + protected String pRedBCOutraUF; + @XmlElement(name = "vBCOutraUF", required = true) + protected String vbcOutraUF; + @XmlElement(name = "pICMSOutraUF", required = true) + protected String picmsOutraUF; + @XmlElement(name = "vICMSOutraUF", required = true) + protected String vicmsOutraUF; + @XmlElement(name = "vICMSDeson") + protected String vicmsDeson; + protected String cBenef; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the pRedBCOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCOutraUF() { + return pRedBCOutraUF; + } + + /** + * Sets the value of the pRedBCOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCOutraUF(String value) { + this.pRedBCOutraUF = value; + } + + /** + * Gets the value of the vbcOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCOutraUF() { + return vbcOutraUF; + } + + /** + * Sets the value of the vbcOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCOutraUF(String value) { + this.vbcOutraUF = value; + } + + /** + * Gets the value of the picmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSOutraUF() { + return picmsOutraUF; + } + + /** + * Sets the value of the picmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSOutraUF(String value) { + this.picmsOutraUF = value; + } + + /** + * Gets the value of the vicmsOutraUF property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSOutraUF() { + return vicmsOutraUF; + } + + /** + * Sets the value of the vicmsOutraUF property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSOutraUF(String value) { + this.vicmsOutraUF = value; + } + + /** + * Gets the value of the vicmsDeson property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Sets the value of the vicmsDeson property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Gets the value of the cBenef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Sets the value of the cBenef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="90"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="indSN">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "indSN" + }) + public static class ICMSSN { + + @XmlElement(name = "CST", required = true) + protected String cst; + @XmlElement(required = true) + protected String indSN; + + /** + * Gets the value of the cst property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Sets the value of the cst property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Gets the value of the indSN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSN() { + return indSN; + } + + /** + * Sets the value of the indSN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSN(String value) { + this.indSN = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TLocal.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TLocal.java new file mode 100644 index 0000000..2499168 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TLocal.java @@ -0,0 +1,128 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Dados do Local de Origem ou Destino + * + *

Java class for TLocal complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TLocal">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TLocal", propOrder = { + "cMun", + "xMun", + "uf" +}) +public class TLocal { + + @XmlElement(required = true) + protected String cMun; + @XmlElement(required = true) + protected String xMun; + @XmlElement(name = "UF", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Gets the value of the cMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Sets the value of the cMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Gets the value of the xMun property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Sets the value of the xMun property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Gets the value of the uf property. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Sets the value of the uf property. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTe.java new file mode 100644 index 0000000..3ab54cf --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTe.java @@ -0,0 +1,564 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento da CT-e + * + *

Java class for TProtCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtCTe", propOrder = { + "infProt", + "infFisco", + "signature" +}) +public class TProtCTe { + + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected TProtCTe.InfProt infProt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + },namespace = "http://www.portalfiscal.inf.br/cte") + public static class InfProt { + + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String tpAmb; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String verAplic; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String chCTe; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String dhRecbto; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected String nProt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/cte") + protected byte[] digVal; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String cStat; + @XmlElement(required = true,namespace = "http://www.portalfiscal.inf.br/cte") + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTeOS.java new file mode 100644 index 0000000..4bbaa97 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtCTeOS.java @@ -0,0 +1,561 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento do CT-e OS (Modelo 67) + * + *

Java class for TProtCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtCTeOS", propOrder = { + "infProt", + "infFisco", + "signature" +}) +public class TProtCTeOS { + + @XmlElement(required = true) + protected TProtCTeOS.InfProt infProt; + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + }) + public static class InfProt { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String dhRecbto; + protected String nProt; + protected byte[] digVal; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtGTVe.java new file mode 100644 index 0000000..86a46b1 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TProtGTVe.java @@ -0,0 +1,561 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento da GTV-e (Modelo 64) + * + *

Java class for TProtGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TProtGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *                   <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infFisco" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cMsg">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtGTVe", propOrder = { + "infProt", + "infFisco", + "signature" +}) +public class TProtGTVe { + + @XmlElement(required = true) + protected TProtGTVe.InfProt infProt; + protected InfFisco infFisco; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the infProt property. + * + * @return + * possible object is + * {@link InfProt } + * + */ + public InfProt getInfProt() { + return infProt; + } + + /** + * Sets the value of the infProt property. + * + * @param value + * allowed object is + * {@link InfProt } + * + */ + public void setInfProt(InfProt value) { + this.infProt = value; + } + + /** + * Gets the value of the infFisco property. + * + * @return + * possible object is + * {@link InfFisco } + * + */ + public InfFisco getInfFisco() { + return infFisco; + } + + /** + * Sets the value of the infFisco property. + * + * @param value + * allowed object is + * {@link InfFisco } + * + */ + public void setInfFisco(InfFisco value) { + this.infFisco = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cMsg">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMsg" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cMsg", + "xMsg" + }) + public static class InfFisco { + + @XmlElement(required = true) + protected String cMsg; + @XmlElement(required = true) + protected String xMsg; + + /** + * Gets the value of the cMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Sets the value of the cMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Gets the value of the xMsg property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Sets the value of the xMsg property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+     *         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChDFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/cte}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TStat">
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chCTe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo" + }) + public static class InfProt { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String chCTe; + @XmlElement(required = true) + protected String dhRecbto; + protected String nProt; + protected byte[] digVal; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the chCTe property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChCTe() { + return chCTe; + } + + /** + * Sets the value of the chCTe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChCTe(String value) { + this.chCTe = value; + } + + /** + * Gets the value of the dhRecbto property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Sets the value of the dhRecbto property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Gets the value of the nProt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Sets the value of the nProt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Gets the value of the digVal property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Sets the value of the digVal property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRSAKeyValueType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRSAKeyValueType.java new file mode 100644 index 0000000..1bc13b6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRSAKeyValueType.java @@ -0,0 +1,87 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo que representa uma chave publica padrão RSA + * + *

Java class for TRSAKeyValueType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRSAKeyValueType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *         <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class TRSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected byte[] modulus; + @XmlElement(name = "Exponent", required = true) + protected byte[] exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * byte[] + */ + public void setModulus(byte[] value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * byte[] + */ + public void setExponent(byte[] value) { + this.exponent = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRespTec.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRespTec.java new file mode 100644 index 0000000..890a784 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRespTec.java @@ -0,0 +1,227 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados da Responsável Técnico + * + *

Java class for TRespTec complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRespTec">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
+ *         <element name="xContato">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail"/>
+ *         <element name="fone">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{7,12}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <sequence minOccurs="0">
+ *           <element name="idCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                 <pattern value="[0-9]{3}"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *           <element name="hashCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}base64Binary">
+ *                 <length value="20"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *         </sequence>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRespTec", propOrder = { + "cnpj", + "xContato", + "email", + "fone", + "idCSRT", + "hashCSRT" +}) +public class TRespTec { + + @XmlElement(name = "CNPJ", required = true) + protected String cnpj; + @XmlElement(required = true) + protected String xContato; + @XmlElement(required = true) + protected String email; + @XmlElement(required = true) + protected String fone; + protected String idCSRT; + protected byte[] hashCSRT; + + /** + * Gets the value of the cnpj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Sets the value of the cnpj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Gets the value of the xContato property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXContato() { + return xContato; + } + + /** + * Sets the value of the xContato property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXContato(String value) { + this.xContato = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the fone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Sets the value of the fone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Gets the value of the idCSRT property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCSRT() { + return idCSRT; + } + + /** + * Sets the value of the idCSRT property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCSRT(String value) { + this.idCSRT = value; + } + + /** + * Gets the value of the hashCSRT property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getHashCSRT() { + return hashCSRT; + } + + /** + * Sets the value of the hashCSRT property. + * + * @param value + * allowed object is + * byte[] + */ + public void setHashCSRT(byte[] value) { + this.hashCSRT = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTe.java new file mode 100644 index 0000000..57f276b --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTe.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e (Modelo 57) + * + *

Java class for TRetCTe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTe", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetCTe { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTe } + * + */ + public TProtCTe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTe } + * + */ + public void setProtCTe(TProtCTe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeOS.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeOS.java new file mode 100644 index 0000000..9a40d88 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeOS.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e OS (Modelo 67) + * + *

Java class for TRetCTeOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTeOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTeOS" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTeOS", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetCTeOS { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTeOS protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTeOS } + * + */ + public TProtCTeOS getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTeOS } + * + */ + public void setProtCTe(TProtCTeOS value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeSimp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeSimp.java new file mode 100644 index 0000000..325ec85 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetCTeSimp.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Retorno do Pedido de Autorização de CT-e Simplificado (Modelo 57) + * + *

Java class for TRetCTeSimp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetCTeSimp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtCTe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetCTeSimp", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetCTeSimp { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtCTe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtCTe } + * + */ + public TProtCTe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtCTe } + * + */ + public void setProtCTe(TProtCTe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetGTVe.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetGTVe.java new file mode 100644 index 0000000..622b290 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TRetGTVe.java @@ -0,0 +1,230 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + + +/** + * Tipo Retorno do Pedido de Autorização de GTV-e (Modelo 64) + * + *

Java class for TRetGTVe complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRetGTVe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/cte}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/cte}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/cte}TMotivo"/>
+ *         <element name="protCTe" type="{http://www.portalfiscal.inf.br/cte}TProtGTVe" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/cte}TVerCTe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetGTVe", propOrder = { + "tpAmb", + "cuf", + "verAplic", + "cStat", + "xMotivo", + "protCTe" +}) +public class TRetGTVe { + + @XmlElement(required = true) + protected String tpAmb; + @XmlElement(name = "cUF", required = true) + protected String cuf; + @XmlElement(required = true) + protected String verAplic; + @XmlElement(required = true) + protected String cStat; + @XmlElement(required = true) + protected String xMotivo; + protected TProtGTVe protCTe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Gets the value of the tpAmb property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Sets the value of the tpAmb property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Gets the value of the cuf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Sets the value of the cuf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Gets the value of the verAplic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Sets the value of the verAplic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Gets the value of the cStat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Sets the value of the cStat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Gets the value of the xMotivo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Sets the value of the xMotivo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the protCTe property. + * + * @return + * possible object is + * {@link TProtGTVe } + * + */ + public TProtGTVe getProtCTe() { + return protCTe; + } + + /** + * Sets the value of the protCTe property. + * + * @param value + * allowed object is + * {@link TProtGTVe } + * + */ + public void setProtCTe(TProtGTVe value) { + this.protCTe = value; + } + + /** + * Gets the value of the versao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Sets the value of the versao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUFSemEX.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUFSemEX.java new file mode 100644 index 0000000..05780e4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUFSemEX.java @@ -0,0 +1,89 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + *

Java class for TUF_sem_EX. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ * <simpleType name="TUF_sem_EX">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUF_sem_EX") +@XmlEnum +public enum TUFSemEX { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO; + + public String value() { + return name(); + } + + public static TUFSemEX fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUf.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUf.java new file mode 100644 index 0000000..d97e510 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUf.java @@ -0,0 +1,91 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + *

Java class for TUf. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ * <simpleType name="TUf">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *     <enumeration value="EX"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUf") +@XmlEnum +public enum TUf { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO, + EX; + + public String value() { + return name(); + } + + public static TUf fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidCarga.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidCarga.java new file mode 100644 index 0000000..87a3f74 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidCarga.java @@ -0,0 +1,232 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Dados Unidade de Carga + * + *

Java class for TUnidCarga complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TUnidCarga">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TtipoUnidCarga"/>
+ *         <element name="idUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TContainer"/>
+ *         <element name="lacUnidCarga" maxOccurs="unbounded" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="nLacre">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="qtdRat" type="{http://www.portalfiscal.inf.br/cte}TDec_0302_0303" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TUnidCarga", propOrder = { + "tpUnidCarga", + "idUnidCarga", + "lacUnidCarga", + "qtdRat" +}) +public class TUnidCarga { + + @XmlElement(required = true) + protected String tpUnidCarga; + @XmlElement(required = true) + protected String idUnidCarga; + protected List lacUnidCarga; + protected String qtdRat; + + /** + * Gets the value of the tpUnidCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpUnidCarga() { + return tpUnidCarga; + } + + /** + * Sets the value of the tpUnidCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpUnidCarga(String value) { + this.tpUnidCarga = value; + } + + /** + * Gets the value of the idUnidCarga property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdUnidCarga() { + return idUnidCarga; + } + + /** + * Sets the value of the idUnidCarga property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdUnidCarga(String value) { + this.idUnidCarga = value; + } + + /** + * Gets the value of the lacUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the lacUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getLacUnidCarga().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link LacUnidCarga } + * + * + */ + public List getLacUnidCarga() { + if (lacUnidCarga == null) { + lacUnidCarga = new ArrayList(); + } + return this.lacUnidCarga; + } + + /** + * Gets the value of the qtdRat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQtdRat() { + return qtdRat; + } + + /** + * Sets the value of the qtdRat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQtdRat(String value) { + this.qtdRat = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="nLacre">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLacre" + }) + public static class LacUnidCarga { + + @XmlElement(required = true) + protected String nLacre; + + /** + * Gets the value of the nLacre property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLacre() { + return nLacre; + } + + /** + * Sets the value of the nLacre property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLacre(String value) { + this.nLacre = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidadeTransp.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidadeTransp.java new file mode 100644 index 0000000..71b57fe --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TUnidadeTransp.java @@ -0,0 +1,264 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Dados Unidade de Transporte + * + *

Java class for TUnidadeTransp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TUnidadeTransp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TtipoUnidTransp"/>
+ *         <element name="idUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TContainer"/>
+ *         <element name="lacUnidTransp" maxOccurs="unbounded" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="nLacre">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="qtdRat" type="{http://www.portalfiscal.inf.br/cte}TDec_0302_0303" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TUnidadeTransp", propOrder = { + "tpUnidTransp", + "idUnidTransp", + "lacUnidTransp", + "infUnidCarga", + "qtdRat" +}) +public class TUnidadeTransp { + + @XmlElement(required = true) + protected String tpUnidTransp; + @XmlElement(required = true) + protected String idUnidTransp; + protected List lacUnidTransp; + protected List infUnidCarga; + protected String qtdRat; + + /** + * Gets the value of the tpUnidTransp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpUnidTransp() { + return tpUnidTransp; + } + + /** + * Sets the value of the tpUnidTransp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpUnidTransp(String value) { + this.tpUnidTransp = value; + } + + /** + * Gets the value of the idUnidTransp property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdUnidTransp() { + return idUnidTransp; + } + + /** + * Sets the value of the idUnidTransp property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdUnidTransp(String value) { + this.idUnidTransp = value; + } + + /** + * Gets the value of the lacUnidTransp property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the lacUnidTransp property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getLacUnidTransp().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link LacUnidTransp } + * + * + */ + public List getLacUnidTransp() { + if (lacUnidTransp == null) { + lacUnidTransp = new ArrayList(); + } + return this.lacUnidTransp; + } + + /** + * Gets the value of the infUnidCarga property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the infUnidCarga property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getInfUnidCarga().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TUnidCarga } + * + * + */ + public List getInfUnidCarga() { + if (infUnidCarga == null) { + infUnidCarga = new ArrayList(); + } + return this.infUnidCarga; + } + + /** + * Gets the value of the qtdRat property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQtdRat() { + return qtdRat; + } + + /** + * Sets the value of the qtdRat property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQtdRat(String value) { + this.qtdRat = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="nLacre">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLacre" + }) + public static class LacUnidTransp { + + @XmlElement(required = true) + protected String nLacre; + + /** + * Gets the value of the nLacre property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLacre() { + return nLacre; + } + + /** + * Sets the value of the nLacre property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLacre(String value) { + this.nLacre = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformType.java new file mode 100644 index 0000000..b9986ed --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformType.java @@ -0,0 +1,96 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + +import java.util.ArrayList; +import java.util.List; + + +/** + *

Java class for TransformType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TransformType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "xPath" +}) +public class TransformType { + + @XmlElement(name = "XPath") + protected List xPath; + @XmlAttribute(name = "Algorithm", required = true) + protected String algorithm; + + /** + * Gets the value of the xPath property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the xPath property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getXPath().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getXPath() { + if (xPath == null) { + xPath = new ArrayList(); + } + return this.xPath; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformsType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformsType.java new file mode 100644 index 0000000..bc2c894 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/TransformsType.java @@ -0,0 +1,69 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + +import java.util.ArrayList; +import java.util.List; + + +/** + *

Java class for TransformsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TransformsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transform" type="{http://www.w3.org/2000/09/xmldsig#}TransformType" maxOccurs="2" minOccurs="2"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List transform; + + /** + * Gets the value of the transform property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the Jakarta XML Binding object. + * This is why there is not a set method for the transform property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTransform().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List getTransform() { + if (transform == null) { + transform = new ArrayList(); + } + return this.transform; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/X509DataType.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/X509DataType.java new file mode 100644 index 0000000..200d51f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/X509DataType.java @@ -0,0 +1,59 @@ + + + +package br.com.swconsultoria.cte.schema_400.procCTeSimp; + +import javax.xml.bind.annotation.*; + + +/** + *

Java class for X509DataType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="X509DataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Certificate" +}) +public class X509DataType { + + @XmlElement(name = "X509Certificate", required = true) + protected byte[] x509Certificate; + + /** + * Gets the value of the x509Certificate property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Sets the value of the x509Certificate property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/package-info.java b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/package-info.java new file mode 100644 index 0000000..7a9cbac --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/schema_400/procCTeSimp/package-info.java @@ -0,0 +1,4 @@ + + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.portalfiscal.inf.br/cte", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package br.com.swconsultoria.cte.schema_400.procCTeSimp; diff --git a/src/main/java/br/com/swconsultoria/cte/util/XmlCteUtil.java b/src/main/java/br/com/swconsultoria/cte/util/XmlCteUtil.java index 298555a..ad5655b 100644 --- a/src/main/java/br/com/swconsultoria/cte/util/XmlCteUtil.java +++ b/src/main/java/br/com/swconsultoria/cte/util/XmlCteUtil.java @@ -5,8 +5,10 @@ import br.com.swconsultoria.cte.schema_400.cte.TCTe; import br.com.swconsultoria.cte.schema_400.cteOS.TCTeOS; +import br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp; import br.com.swconsultoria.cte.schema_400.procCTe.CteProc; import br.com.swconsultoria.cte.schema_400.procCTeOS.CteOSProc; +import br.com.swconsultoria.cte.schema_400.procCTeSimp.CteSimpProc; import lombok.extern.java.Log; import javax.xml.bind.*; @@ -138,6 +140,17 @@ public static String criaCteOSProc(TCTeOS cteOS, Object retorno) return XmlCteUtil.objectToXml(cteProc); } + public static String criaCteSimpProc(TCTeSimp cte, Object retorno) + throws JAXBException { + + CteSimpProc cteProc = new CteSimpProc(); + cteProc.setVersao("4.00"); + cteProc.setCTeSimp(xmlToObject(objectToXml(cte), br.com.swconsultoria.cte.schema_400.procCTeSimp.TCTeSimp.class)); + cteProc.setProtCTe( + xmlToObject(objectToXml(retorno), br.com.swconsultoria.cte.schema_400.procCTeSimp.TProtCTe.class)); + + return XmlCteUtil.objectToXml(cteProc); + } /** * Le o Arquivo XML e retona String * diff --git a/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4CallbackHandler.java b/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4CallbackHandler.java new file mode 100644 index 0000000..5ba274f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4CallbackHandler.java @@ -0,0 +1,55 @@ +/** + * CTeRecepcaoSimpV4CallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.7.5 Built on : May 06, 2017 (03:45:26 BST) + */ +package br.com.swconsultoria.cte.wsdl.cte_recepcao_simp; + + +/** + * CTeRecepcaoSimpV4CallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ +public abstract class CTeRecepcaoSimpV4CallbackHandler { + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public CTeRecepcaoSimpV4CallbackHandler(Object clientData) { + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public CTeRecepcaoSimpV4CallbackHandler() { + this.clientData = null; + } + + /** + * Get the client data + */ + public Object getClientData() { + return clientData; + } + + /** + * auto generated Axis2 call back method for cteRecepcaoSimp method + * override this method for handling normal response from cteRecepcaoSimp operation + */ + public void receiveResultcteRecepcaoSimp( + CTeRecepcaoSimpV4Stub.CteRecepcaoSimpResult result) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from cteRecepcaoSimp operation + */ + public void receiveErrorcteRecepcaoSimp(Exception e) { + } +} diff --git a/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4Stub.java b/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4Stub.java new file mode 100644 index 0000000..977ce2e --- /dev/null +++ b/src/main/java/br/com/swconsultoria/cte/wsdl/cte_recepcao_simp/CTeRecepcaoSimpV4Stub.java @@ -0,0 +1,1242 @@ +/** + * CTeRecepcaoSimpV4Stub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.7.5 Built on : May 06, 2017 (03:45:26 BST) + */ +package br.com.swconsultoria.cte.wsdl.cte_recepcao_simp; + + +/* + * CTeRecepcaoSimpV4Stub java implementation + */ +public class CTeRecepcaoSimpV4Stub extends org.apache.axis2.client.Stub { + private static int counter = 0; + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + private javax.xml.namespace.QName[] opNameArray = null; + + /** + *Constructor that takes in a configContext + */ + public CTeRecepcaoSimpV4Stub( + org.apache.axis2.context.ConfigurationContext configurationContext, + String targetEndpoint) throws org.apache.axis2.AxisFault { + this(configurationContext, targetEndpoint, false); + } + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public CTeRecepcaoSimpV4Stub( + org.apache.axis2.context.ConfigurationContext configurationContext, + String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, + _service); + + _serviceClient.getOptions() + .setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions() + .setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + } + + /** + * Default Constructor + */ + public CTeRecepcaoSimpV4Stub( + org.apache.axis2.context.ConfigurationContext configurationContext) + throws org.apache.axis2.AxisFault { + this(configurationContext, + "http://cte.sefaz.mt.gov.br/cte-ws/services/CTeRecepcaoSimpV4"); + } + + /** + * Default Constructor + */ + public CTeRecepcaoSimpV4Stub() throws org.apache.axis2.AxisFault { + this("http://cte.sefaz.mt.gov.br/cte-ws/services/CTeRecepcaoSimpV4"); + } + + /** + * Constructor taking the target endpoint + */ + public CTeRecepcaoSimpV4Stub(String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(null, targetEndpoint); + } + + private static synchronized String getUniqueSuffix() { + // reset the counter if it is greater than 99999 + if (counter > 99999) { + counter = 0; + } + + counter = counter + 1; + + return Long.toString(System.currentTimeMillis()) + + "_" + counter; + } + + private void populateAxisService() throws org.apache.axis2.AxisFault { + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService( + "CTeRecepcaoSimpV4" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + __operation.setName(new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteRecepcaoSimp")); + _service.addOperation(__operation); + + _operations[0] = __operation; + } + + //populates the faults + private void populateFaults() { + } + + /** + * Auto generated method signature + * + * @see br.com.swconsultoria.cte.schema_400.CTeRecepcaoSimpV4#cteRecepcaoSimp + * @param cteDadosMsg0 + */ + public CteRecepcaoSimpResult cteRecepcaoSimp( + CteDadosMsg cteDadosMsg0) + throws java.rmi.RemoteException { + org.apache.axis2.context.MessageContext _messageContext = null; + + try { + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions() + .setAction("http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4/cteRecepcaoSimp"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + addPropertyToOperationClient(_operationClient, + org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR, + "&"); + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + env = toEnvelope(getFactory(_operationClient.getOptions() + .getSoapVersionURI()), + cteDadosMsg0, + optimizeContent( + new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteRecepcaoSimp")), + new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteDadosMsg")); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + Object object = fromOM(_returnEnv.getBody() + .getFirstElement(), + CteRecepcaoSimpResult.class); + + return (CteRecepcaoSimpResult) object; + } catch (org.apache.axis2.AxisFault f) { + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + + if (faultElt != null) { + if (faultExceptionNameMap.containsKey( + new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), "cteRecepcaoSimp"))) { + //make the fault by reflection + try { + String exceptionClassName = (String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), "cteRecepcaoSimp")); + Class exceptionClass = Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + Exception ex = (Exception) constructor.newInstance(f.getMessage()); + + //message class + String messageClassName = (String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), "cteRecepcaoSimp")); + Class messageClass = Class.forName(messageClassName); + Object messageObject = fromOM(faultElt, + messageClass); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new Class[] { messageClass }); + m.invoke(ex, new Object[] { messageObject }); + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + } catch (ClassCastException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + } else { + throw f; + } + } else { + throw f; + } + } finally { + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender() + .cleanup(_messageContext); + } + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see br.com.swconsultoria.cte.schema_400.CTeRecepcaoSimpV4#startcteRecepcaoSimp + * @param cteDadosMsg0 + */ + public void startcteRecepcaoSimp( + CteDadosMsg cteDadosMsg0, + final CTeRecepcaoSimpV4CallbackHandler callback) + throws java.rmi.RemoteException { + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions() + .setAction("http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4/cteRecepcaoSimp"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + addPropertyToOperationClient(_operationClient, + org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR, + "&"); + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + //Style is Doc. + env = toEnvelope(getFactory(_operationClient.getOptions() + .getSoapVersionURI()), + cteDadosMsg0, + optimizeContent( + new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteRecepcaoSimp")), + new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteDadosMsg")); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage( + org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + Object object = fromOM(resultEnv.getBody() + .getFirstElement(), + CteRecepcaoSimpResult.class); + callback.receiveResultcteRecepcaoSimp((CteRecepcaoSimpResult) object); + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorcteRecepcaoSimp(e); + } + } + + public void onError(Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + + if (faultElt != null) { + if (faultExceptionNameMap.containsKey( + new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), + "cteRecepcaoSimp"))) { + //make the fault by reflection + try { + String exceptionClassName = (String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), + "cteRecepcaoSimp")); + Class exceptionClass = Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + Exception ex = (Exception) constructor.newInstance(f.getMessage()); + + //message class + String messageClassName = (String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey( + faultElt.getQName(), + "cteRecepcaoSimp")); + Class messageClass = Class.forName(messageClassName); + Object messageObject = fromOM(faultElt, + messageClass); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new Class[] { messageClass }); + m.invoke(ex, + new Object[] { messageObject }); + + callback.receiveErrorcteRecepcaoSimp(new java.rmi.RemoteException( + ex.getMessage(), ex)); + } catch (ClassCastException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcteRecepcaoSimp(f); + } + } else { + callback.receiveErrorcteRecepcaoSimp(f); + } + } else { + callback.receiveErrorcteRecepcaoSimp(f); + } + } else { + callback.receiveErrorcteRecepcaoSimp(error); + } + } + + public void onFault( + org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender() + .cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorcteRecepcaoSimp(axisFault); + } + } + }); + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + + if ((_operations[0].getMessageReceiver() == null) && + _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[0].setMessageReceiver(_callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + } + + private boolean optimizeContent(javax.xml.namespace.QName opName) { + if (opNameArray == null) { + return false; + } + + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + + return false; + } + + private org.apache.axiom.om.OMElement toOM( + CteDadosMsg param, + boolean optimizeContent) throws org.apache.axis2.AxisFault { + try { + return param.getOMElement(CteDadosMsg.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch (org.apache.axis2.databinding.ADBException e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + } + + private org.apache.axiom.om.OMElement toOM( + CteRecepcaoSimpResult param, + boolean optimizeContent) throws org.apache.axis2.AxisFault { + try { + return param.getOMElement(CteRecepcaoSimpResult.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch (org.apache.axis2.databinding.ADBException e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + } + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope( + org.apache.axiom.soap.SOAPFactory factory, + CteDadosMsg param, + boolean optimizeContent, javax.xml.namespace.QName elementQName) + throws org.apache.axis2.AxisFault { + try { + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody() + .addChild(param.getOMElement( + CteDadosMsg.MY_QNAME, + factory)); + + return emptyEnvelope; + } catch (org.apache.axis2.databinding.ADBException e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + } + + /* methods to provide back word compatibility */ + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope( + org.apache.axiom.soap.SOAPFactory factory) { + return factory.getDefaultEnvelope(); + } + + private Object fromOM(org.apache.axiom.om.OMElement param, + Class type) throws org.apache.axis2.AxisFault { + try { + if (CteDadosMsg.class.equals( + type)) { + return CteDadosMsg.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + } + + if (CteRecepcaoSimpResult.class.equals( + type)) { + return CteRecepcaoSimpResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + } + } catch (Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + + return null; + } + + //http://cte.sefaz.mt.gov.br/cte-ws/services/CTeRecepcaoSimpV4 + public static class CteDadosMsg implements org.apache.axis2.databinding.ADBBean { + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteDadosMsg", "ns1"); + + /** + * field for CteDadosMsg + */ + protected String localCteDadosMsg; + + /** + * Auto generated getter method + * @return java.lang.String + */ + public String getCteDadosMsg() { + return localCteDadosMsg; + } + + /** + * Auto generated setter method + * @param param CteDadosMsg + */ + public void setCteDadosMsg(String param) { + this.localCteDadosMsg = param; + } + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) + throws org.apache.axis2.databinding.ADBException { + return factory.createOMElement(new org.apache.axis2.databinding.ADBDataSource( + this, MY_QNAME)); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, + org.apache.axis2.databinding.ADBException { + serialize(parentQName, xmlWriter, false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, boolean serializeType) + throws javax.xml.stream.XMLStreamException, + org.apache.axis2.databinding.ADBException { + //We can safely assume an element has only one type associated with it + String namespace = "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4"; + String _localName = "cteDadosMsg"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType) { + String namespacePrefix = registerPrefix(xmlWriter, + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4"); + + if ((namespacePrefix != null) && + (namespacePrefix.trim().length() > 0)) { + writeAttribute("xsi", + "http://www.w3.org/2001/XMLSchema-instance", "type", + namespacePrefix + ":cteDadosMsg", xmlWriter); + } else { + writeAttribute("xsi", + "http://www.w3.org/2001/XMLSchema-instance", "type", + "cteDadosMsg", xmlWriter); + } + } + + if (localCteDadosMsg == null) { + throw new org.apache.axis2.databinding.ADBException( + "cteDadosMsg cannot be null !!"); + } else { + xmlWriter.writeCharacters(localCteDadosMsg); + } + + xmlWriter.writeEndElement(); + } + + private static String generatePrefix( + String namespace) { + if (namespace.equals( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4")) { + return "ns1"; + } + + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(String prefix, + String namespace, String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String writerPrefix = xmlWriter.getPrefix(namespace); + + if (writerPrefix != null) { + xmlWriter.writeStartElement(writerPrefix, localPart, namespace); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(String prefix, + String namespace, String attName, + String attValue, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String writerPrefix = xmlWriter.getPrefix(namespace); + + if (writerPrefix != null) { + xmlWriter.writeAttribute(writerPrefix, namespace, attName, + attValue); + } else { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + xmlWriter.writeAttribute(prefix, namespace, attName, attValue); + } + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(String namespace, + String attName, String attValue, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attValue); + } else { + xmlWriter.writeAttribute(registerPrefix(xmlWriter, namespace), + namespace, attName, attValue); + } + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(String namespace, + String attName, javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String attributeNamespace = qname.getNamespaceURI(); + String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + + String attributeValue; + + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(attributePrefix, namespace, attName, + attributeValue); + } + } + + /** + * method to handle Qnames + */ + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String namespaceURI = qname.getNamespaceURI(); + + if (namespaceURI != null) { + String prefix = xmlWriter.getPrefix(namespaceURI); + + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix, namespaceURI); + } + + if (prefix.trim().length() > 0) { + xmlWriter.writeCharacters(prefix + ":" + + org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + StringBuffer stringToWrite = new StringBuffer(); + String namespaceURI = null; + String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + + namespaceURI = qnames[i].getNamespaceURI(); + + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix, namespaceURI); + } + + if (prefix.trim().length() > 0) { + stringToWrite.append(prefix).append(":") + .append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } + } + + xmlWriter.writeCharacters(stringToWrite.toString()); + } + } + + /** + * Register a namespace prefix + */ + private String registerPrefix( + javax.xml.stream.XMLStreamWriter xmlWriter, + String namespace) + throws javax.xml.stream.XMLStreamException { + String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + + while (true) { + String uri = nsContext.getNamespaceURI(prefix); + + if ((uri == null) || (uri.length() == 0)) { + break; + } + + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + /** + * Factory class that keeps the parse method + */ + public static class Factory { + private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(Factory.class); + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CteDadosMsg parse( + javax.xml.stream.XMLStreamReader reader) + throws Exception { + CteDadosMsg object = new CteDadosMsg(); + + int event; + javax.xml.namespace.QName currentQName = null; + String nillableValue = null; + String prefix = ""; + String namespaceuri = ""; + + try { + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + currentQName = reader.getName(); + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + while (!reader.isEndElement()) { + if (reader.isStartElement()) { + if ((reader.isStartElement() && + new javax.xml.namespace.QName( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteDadosMsg").equals(reader.getName())) || + new javax.xml.namespace.QName("", + "cteDadosMsg").equals(reader.getName())) { + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "nil"); + + if ("true".equals(nillableValue) || + "1".equals(nillableValue)) { + throw new org.apache.axis2.databinding.ADBException( + "The element: " + "cteDadosMsg" + + " cannot be null"); + } + + String content = reader.getElementText(); + + object.setCteDadosMsg(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + content)); + } // End of if for expected property start element + + else { + // 3 - A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException( + "Unexpected subelement " + + reader.getName()); + } + } else { + reader.next(); + } + } // end of while loop + } catch (javax.xml.stream.XMLStreamException e) { + throw new Exception(e); + } + + return object; + } + } //end of factory class + } + + public static class ExtensionMapper { + public static Object getTypeObject( + String namespaceURI, String typeName, + javax.xml.stream.XMLStreamReader reader) throws Exception { + throw new org.apache.axis2.databinding.ADBException( + "Unsupported type " + namespaceURI + " " + typeName); + } + } + + public static class CteRecepcaoSimpResult implements org.apache.axis2.databinding.ADBBean { + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4", + "cteRecepcaoSimpResult", "ns1"); + + /** + * field for ExtraElement + */ + protected org.apache.axiom.om.OMElement localExtraElement; + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement() { + return localExtraElement; + } + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param) { + this.localExtraElement = param; + } + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) + throws org.apache.axis2.databinding.ADBException { + return factory.createOMElement(new org.apache.axis2.databinding.ADBDataSource( + this, MY_QNAME)); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, + org.apache.axis2.databinding.ADBException { + serialize(parentQName, xmlWriter, false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, boolean serializeType) + throws javax.xml.stream.XMLStreamException, + org.apache.axis2.databinding.ADBException { + String prefix = null; + String namespace = null; + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), + xmlWriter); + + if (serializeType) { + String namespacePrefix = registerPrefix(xmlWriter, + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4"); + + if ((namespacePrefix != null) && + (namespacePrefix.trim().length() > 0)) { + writeAttribute("xsi", + "http://www.w3.org/2001/XMLSchema-instance", "type", + namespacePrefix + ":cteRecepcaoSimpResult", xmlWriter); + } else { + writeAttribute("xsi", + "http://www.w3.org/2001/XMLSchema-instance", "type", + "cteRecepcaoSimpResult", xmlWriter); + } + } + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException( + "extraElement cannot be null!!"); + } + + xmlWriter.writeEndElement(); + } + + private static String generatePrefix( + String namespace) { + if (namespace.equals( + "http://www.portalfiscal.inf.br/cte/wsdl/CTeRecepcaoSimpV4")) { + return "ns1"; + } + + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(String prefix, + String namespace, String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String writerPrefix = xmlWriter.getPrefix(namespace); + + if (writerPrefix != null) { + xmlWriter.writeStartElement(writerPrefix, localPart, namespace); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(String prefix, + String namespace, String attName, + String attValue, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String writerPrefix = xmlWriter.getPrefix(namespace); + + if (writerPrefix != null) { + xmlWriter.writeAttribute(writerPrefix, namespace, attName, + attValue); + } else { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + xmlWriter.writeAttribute(prefix, namespace, attName, attValue); + } + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(String namespace, + String attName, String attValue, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attValue); + } else { + xmlWriter.writeAttribute(registerPrefix(xmlWriter, namespace), + namespace, attName, attValue); + } + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(String namespace, + String attName, javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String attributeNamespace = qname.getNamespaceURI(); + String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + + String attributeValue; + + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(attributePrefix, namespace, attName, + attributeValue); + } + } + + /** + * method to handle Qnames + */ + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + String namespaceURI = qname.getNamespaceURI(); + + if (namespaceURI != null) { + String prefix = xmlWriter.getPrefix(namespaceURI); + + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix, namespaceURI); + } + + if (prefix.trim().length() > 0) { + xmlWriter.writeCharacters(prefix + ":" + + org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException { + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + StringBuffer stringToWrite = new StringBuffer(); + String namespaceURI = null; + String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + + namespaceURI = qnames[i].getNamespaceURI(); + + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix, namespaceURI); + } + + if (prefix.trim().length() > 0) { + stringToWrite.append(prefix).append(":") + .append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString( + qnames[i])); + } + } + + xmlWriter.writeCharacters(stringToWrite.toString()); + } + } + + /** + * Register a namespace prefix + */ + private String registerPrefix( + javax.xml.stream.XMLStreamWriter xmlWriter, + String namespace) + throws javax.xml.stream.XMLStreamException { + String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + + while (true) { + String uri = nsContext.getNamespaceURI(prefix); + + if ((uri == null) || (uri.length() == 0)) { + break; + } + + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + /** + * Factory class that keeps the parse method + */ + public static class Factory { + private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(Factory.class); + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CteRecepcaoSimpResult parse( + javax.xml.stream.XMLStreamReader reader) + throws Exception { + CteRecepcaoSimpResult object = new CteRecepcaoSimpResult(); + + int event; + javax.xml.namespace.QName currentQName = null; + String nillableValue = null; + String prefix = ""; + String namespaceuri = ""; + + try { + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + currentQName = reader.getName(); + + if (reader.getAttributeValue( + "http://www.w3.org/2001/XMLSchema-instance", + "type") != null) { + String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + + if (fullTypeName != null) { + String nsPrefix = null; + + if (fullTypeName.indexOf(":") > -1) { + nsPrefix = fullTypeName.substring(0, + fullTypeName.indexOf(":")); + } + + nsPrefix = (nsPrefix == null) ? "" : nsPrefix; + + String type = fullTypeName.substring(fullTypeName.indexOf( + ":") + 1); + + if (!"cteRecepcaoSimpResult".equals(type)) { + //find namespace for the prefix + String nsUri = reader.getNamespaceContext() + .getNamespaceURI(nsPrefix); + + return (CteRecepcaoSimpResult) ExtensionMapper.getTypeObject(nsUri, + type, reader); + } + } + } + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + reader.next(); + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) { + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder(new org.apache.axis2.util.StreamWrapper( + reader), startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + } // End of if for expected property start element + + else { + // 1 - A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException( + "Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) { + // 2 - A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException( + "Unexpected subelement " + reader.getName()); + } + } catch (javax.xml.stream.XMLStreamException e) { + throw new Exception(e); + } + + return object; + } + } //end of factory class + } +} diff --git a/src/main/resources/WebServicesCte.ini b/src/main/resources/WebServicesCte.ini index 555d775..9178c14 100644 --- a/src/main/resources/WebServicesCte.ini +++ b/src/main/resources/WebServicesCte.ini @@ -122,6 +122,7 @@ CTeConsultaProtocolo_4.00=https://cte.fazenda.mg.gov.br/cte/services/CTeConsulta CTeStatusServico_4.00=https://cte.fazenda.mg.gov.br/cte/services/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://cte.fazenda.mg.gov.br/cte/services/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://cte.fazenda.mg.gov.br/cte/services/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://cte.fazenda.mg.gov.br/cte/services/CTeRecepcaoSimpV4 [CTe_MG_H] URL-QRCode=https://cte.fazenda.mg.gov.br/portalcte/sistema/qrcode.xhtml @@ -145,6 +146,7 @@ CTeConsultaProtocolo_4.00=https://hcte.fazenda.mg.gov.br/cte/services/CTeConsult CTeStatusServico_4.00=https://hcte.fazenda.mg.gov.br/cte/services/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://hcte.fazenda.mg.gov.br/cte/services/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://hcte.fazenda.mg.gov.br/cte/services/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://hcte.fazenda.mg.gov.br/cte/services/CTeRecepcaoSimpV4 [CTe_MS_P] URL-QRCode=http://www.dfe.ms.gov.br/cte/qrcode @@ -167,6 +169,7 @@ CTeConsultaProtocolo_4.00=https://producao.cte.ms.gov.br/ws/CTeConsultaV4 CTeStatusServico_4.00=https://producao.cte.ms.gov.br/ws/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://producao.cte.ms.gov.br/ws/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://producao.cte.ms.gov.br/ws/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://producao.cte.ms.gov.br/ws/CTeRecepcaoSimpV4 [CTe_MS_H] URL-QRCode=http://www.dfe.ms.gov.br/cte/qrcode @@ -189,6 +192,7 @@ CTeConsultaProtocolo_4.00=https://homologacao.cte.ms.gov.br/ws/CTeConsultaV4 CTeStatusServico_4.00=https://homologacao.cte.ms.gov.br/ws/CTeStatusServicoV4 CTeRecepcaoOS_4.00= CTeRecepcaoGTVe_4.00= +CTeRecepcaoSimp_4.00=https://homologacao.cte.ms.gov.br/ws/CTeRecepcaoSimpV4 [CTe_MT_P] URL-QRCode=https://www.sefaz.mt.gov.br/cte/qrcode @@ -211,6 +215,7 @@ CTeConsultaProtocolo_4.00=https://cte.sefaz.mt.gov.br/ctews2/services/CTeConsult CTeStatusServico_4.00=https://cte.sefaz.mt.gov.br/ctews2/services/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://cte.sefaz.mt.gov.br/ctews/services/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://cte.sefaz.mt.gov.br/ctews2/services/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://cte.sefaz.mt.gov.br/cte-ws/services/CTeRecepcaoSimpV4 [CTe_MT_H] URL-QRCode=https://homologacao.sefaz.mt.gov.br/cte/qrcode @@ -233,6 +238,7 @@ CTeConsultaProtocolo_4.00=https://homologacao.sefaz.mt.gov.br/ctews2/services/CT CTeStatusServico_4.00=https://homologacao.sefaz.mt.gov.br/ctews2/services/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://homologacao.sefaz.mt.gov.br/ctews/services/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://homologacao.sefaz.mt.gov.br/ctews2/services/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://homologacao.sefaz.mt.gov.br/cte-ws/services/CTeRecepcaoSimpV4 [CTe_PA_P] Usar=CTe_SVRS_P @@ -295,6 +301,7 @@ CTeConsultaProtocolo_4.00=https://cte.fazenda.pr.gov.br/cte4/CTeConsultaV4 CTeStatusServico_4.00=https://cte.fazenda.pr.gov.br/cte4/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://cte.fazenda.pr.gov.br/cte4/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://cte.fazenda.pr.gov.br/cte4/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://cte.fazenda.pr.gov.br/cte4/CTeRecepcaoSimpV4 [CTe_PR_H] URL-QRCode=http://www.fazenda.pr.gov.br/cte/qrcode @@ -317,6 +324,7 @@ CTeConsultaProtocolo_4.00=https://homologacao.cte.fazenda.pr.gov.br/cte4/CTeCons CTeStatusServico_4.00=https://homologacao.cte.fazenda.pr.gov.br/cte4/CTeStatusServicoV4 CTeRecepcaoOS_4.00=https://homologacao.cte.fazenda.pr.gov.br/cte4/CTeRecepcaoOSV4 CTeRecepcaoGTVe_4.00=https://homologacao.cte.fazenda.pr.gov.br/cte4/CTeRecepcaoGTVeV4 +CTeRecepcaoSimp_4.00=https://homologacao.cte.fazenda.pr.gov.br/cte4/CTeRecepcaoSimpV4 [CTe_RJ_P] Usar=CTe_SVRS_P @@ -406,6 +414,7 @@ CTeConsultaProtocolo_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeConsultaV4.a CTeStatusServico_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoSimpV4.asmx [CTe_SP_H] URL-QRCode=https://homologacao.nfe.fazenda.sp.gov.br/CTeConsulta/qrCode @@ -429,6 +438,7 @@ CTeConsultaProtocolo_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTe CTeStatusServico_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoSimpV4.asmx [CTe_TO_P] Usar=CTe_SVRS_P @@ -461,6 +471,7 @@ CTeConsultaProtocolo_4.00=https://cte.svrs.rs.gov.br/ws/CTeConsultaV4/CTeConsult CTeStatusServico_4.00=https://cte.svrs.rs.gov.br/ws/CTeStatusServicoV4/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoOSV4/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoGTVeV4/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoSimpV4/CTeRecepcaoSimpV4.asmx [CTe_SVRS_H] URL-QRCode=https://dfe-portal.svrs.rs.gov.br/cte/qrCode @@ -483,6 +494,7 @@ CTeConsultaProtocolo_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeConsultaV CTeStatusServico_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeStatusServicoV4/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoOSV4/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoGTVeV4/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoSimpV4/CTeRecepcaoSimpV4.asmx [CTe_SVC-RS_P] URL-QRCode=https://dfe-portal.svrs.rs.gov.br/cte/qrCode @@ -504,6 +516,7 @@ CTeConsultaProtocolo_4.00=https://cte.svrs.rs.gov.br/ws/CTeConsultaV4/CTeConsult CTeStatusServico_4.00=https://cte.svrs.rs.gov.br/ws/CTeStatusServicoV4/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoOSV4/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoGTVeV4/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://cte.svrs.rs.gov.br/ws/CTeRecepcaoSimpV4/CTeRecepcaoSimpV4.asmx [CTe_SVC-RS_H] URL-QRCode=https://dfe-portal.svrs.rs.gov.br/cte/qrCode @@ -525,6 +538,7 @@ CTeConsultaProtocolo_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeConsultaV CTeStatusServico_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeStatusServicoV4/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoOSV4/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoGTVeV4/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://cte-homologacao.svrs.rs.gov.br/ws/CTeRecepcaoSimpV4/CTeRecepcaoSimpV4.asmx [CTe_SVC-SP_P] URL-QRCode=https://nfe.fazenda.sp.gov.br/CTeConsulta/qrCode @@ -546,6 +560,7 @@ CTeConsultaProtocolo_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeConsultaV4.a CTeStatusServico_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoSimpV4.asmx [CTe_SVC-SP_H] URL-QRCode=https://homologacao.nfe.fazenda.sp.gov.br/CTeConsulta/qrCode @@ -567,6 +582,7 @@ CTeConsultaProtocolo_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTe CTeStatusServico_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeStatusServicoV4.asmx CTeRecepcaoOS_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoOSV4.asmx CTeRecepcaoGTVe_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoGTVeV4.asmx +CTeRecepcaoSimp_4.00=https://homologacao.nfe.fazenda.sp.gov.br/CTeWS/WS/CTeRecepcaoSimpV4.asmx [CTe_AN_P] CTeDistribuicaoDFe_1.00=https://www1.cte.fazenda.gov.br/CTeDistribuicaoDFe/CTeDistribuicaoDFe.asmx diff --git a/src/test/java/br/com/swconsultoria/cte/TesteConfig.java b/src/test/java/br/com/swconsultoria/cte/TesteConfig.java index 0d665ac..fe55b5b 100644 --- a/src/test/java/br/com/swconsultoria/cte/TesteConfig.java +++ b/src/test/java/br/com/swconsultoria/cte/TesteConfig.java @@ -23,7 +23,5 @@ public static ConfiguracoesCte iniciaConfiguracoes(EstadosEnum estado, AmbienteE return ConfiguracoesCte.criarConfiguracoes(estado, ambiente, certificado, "schemas"); - } - } \ No newline at end of file diff --git a/src/test/java/br/com/swconsultoria/cte/TesteEnvioCteSimplifiado.java b/src/test/java/br/com/swconsultoria/cte/TesteEnvioCteSimplifiado.java new file mode 100644 index 0000000..bc5e263 --- /dev/null +++ b/src/test/java/br/com/swconsultoria/cte/TesteEnvioCteSimplifiado.java @@ -0,0 +1,221 @@ +/** + * + */ +package br.com.swconsultoria.cte; + +import br.com.swconsultoria.cte.dom.ConfiguracoesCte; +import br.com.swconsultoria.cte.dom.enuns.AmbienteEnum; +import br.com.swconsultoria.cte.dom.enuns.EstadosEnum; +import br.com.swconsultoria.cte.dom.enuns.StatusCteEnum; +import br.com.swconsultoria.cte.exception.CteException; +import br.com.swconsultoria.cte.schema_400.cteModalRodoviario.Rodo; +import br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp; +import br.com.swconsultoria.cte.schema_400.cteSimp.TRetCTeSimp; +import br.com.swconsultoria.cte.util.ChaveUtil; +import br.com.swconsultoria.cte.util.ConstantesCte; +import br.com.swconsultoria.cte.util.ObjetoCTeUtil; +import br.com.swconsultoria.cte.util.XmlCteUtil; +import lombok.extern.java.Log; + +import java.time.LocalDateTime; +import java.util.Random; +import java.util.logging.Level; + +/** + * @author Ismael Luan Lawrenz + */ +@Log +class TesteEnvioCteSimplifiado { + + public static void main(String[] args) { + + try { + ConfiguracoesCte config = TesteConfig.iniciaConfiguracoes(EstadosEnum.SC, AmbienteEnum.HOMOLOGACAO); + + //TODO: Preencher com o cnpj do emissor + String cnpj = "25149469000118"; + int serie = 4; + int numero = 23; + + TCTeSimp cte = preencheObjetoCte(config, cnpj, serie, numero); + + + // Monta e Assina o XML + cte = Cte.montaCteSimp(config, cte, true); + + //Adiciona QRCode + TCTeSimp.InfCTeSupl infCTeSupl = new TCTeSimp.InfCTeSupl(); + infCTeSupl.setQrCodCTe(ObjetoCTeUtil.criaQRCode( + cte.getInfCte().getId().substring(3), + config)); + cte.setInfCTeSupl(infCTeSupl); + + // Envia a Cte para a Sefaz + TRetCTeSimp retorno = Cte.enviarCteSimp(config, cte); + + log.info("Status: " + retorno.getCStat() + " - " + retorno.getXMotivo()); + + if (retorno.getCStat().equals(StatusCteEnum.AUTORIZADO.getCodigo())) { + log.info("Protocolo: " + retorno.getProtCTe().getInfProt().getNProt()); + log.info("XML Final: " + XmlCteUtil.criaCteSimpProc(cte, retorno.getProtCTe())); + } + + } catch (Exception e) { + log.log(Level.SEVERE, "Erro ao enviar Cte", e); + } + + } + + private static TCTeSimp preencheObjetoCte(ConfiguracoesCte config, String cnpj, int serie, int numero) throws CteException { + TCTeSimp cte = new TCTeSimp(); + + + String tipoEmissao = "1"; + String cct = String.format("%08d", new Random().nextInt(99999999)); + String modelo = "57"; + + ChaveUtil chaveUtil = new ChaveUtil(config.getEstado(), + cnpj, modelo, serie, numero, + tipoEmissao, cct, LocalDateTime.now()); + + String chave = chaveUtil.getChaveCT(); + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte infCTe = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte(); + infCTe.setId(chave); + infCTe.setVersao(ConstantesCte.VERSAO.CTE); + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Ide ide = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Ide(); + ide.setCUF(config.getEstado().getCodigoUF()); + ide.setCCT(cct); + ide.setCFOP("5351"); + ide.setNatOp("TRANSPORTE INTERNO"); + ide.setMod(modelo); + ide.setSerie(String.valueOf(serie)); + ide.setNCT(String.valueOf(numero)); + ide.setDhEmi(XmlCteUtil.dataCte(LocalDateTime.now())); + ide.setTpImp("1"); + ide.setTpEmis(tipoEmissao); + ide.setCDV(chaveUtil.getDigitoVerificador()); + ide.setTpAmb(config.getAmbiente().getCodigo()); + ide.setTpCTe("5"); + ide.setProcEmi("0"); + ide.setVerProc("1.0"); + ide.setCMunEnv("4204301"); + ide.setXMunEnv("Concordia"); + ide.setUFEnv(br.com.swconsultoria.cte.schema_400.cteSimp.TUf.valueOf("SC")); + ide.setModal("01"); + ide.setTpServ("0"); + ide.setUFIni(br.com.swconsultoria.cte.schema_400.cteSimp.TUf.valueOf("SC")); + ide.setUFFim(br.com.swconsultoria.cte.schema_400.cteSimp.TUf.valueOf("SC")); + ide.setRetira("1"); + infCTe.setIde(ide); + + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Compl compl = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Compl(); + compl.setXObs("FORMA DE PAGAMENTO DEPOSITO BANCARIO,FAVOR ENVIAR COPIA DO COMPROVANTE PARA O TRANSPORTADOR E ANEXAR VIA A DA CONTABILIDADE"); + infCTe.setCompl(compl); + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Emit emit = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Emit(); + emit.setCNPJ(cnpj); + emit.setIE("251803082"); + emit.setXNome("TESTE"); + emit.setXFant("TESTE"); + emit.setCRT("3"); + + br.com.swconsultoria.cte.schema_400.cteSimp.TEndeEmi enderEmit = new br.com.swconsultoria.cte.schema_400.cteSimp.TEndeEmi(); + enderEmit.setXLgr("AV SANTO ANTONIO & CIA"); + enderEmit.setNro("0"); + enderEmit.setXCpl("QD 17 LT 01-02-03"); + enderEmit.setXBairro("PQ STO ANTONIO"); + enderEmit.setCMun("4204301"); + enderEmit.setXMun("Concordia"); + enderEmit.setUF(br.com.swconsultoria.cte.schema_400.cteSimp.TUFSemEX.valueOf("SC")); + enderEmit.setCEP("72900000"); + enderEmit.setFone("6233215175"); + + emit.setEnderEmit(enderEmit); + infCTe.setEmit(emit); + + TCTeSimp.InfCte.Toma toma = new TCTeSimp.InfCte.Toma(); + toma.setToma("0"); + toma.setCNPJ("83011247002346"); + toma.setIndIEToma("1"); + toma.setIE("254804438"); + toma.setXNome("CTE EMITIDO EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"); + toma.setEmail("teste@teste.com.br"); + br.com.swconsultoria.cte.schema_400.cteSimp.TEndereco enderToma = new br.com.swconsultoria.cte.schema_400.cteSimp.TEndereco(); + enderToma.setXLgr("Rua: Teste"); + enderToma.setNro("0"); + enderToma.setXBairro("TESTE"); + enderToma.setCMun("4204301"); + enderToma.setXMun("SANTO ANTONIO DO DESCOBERTO"); + enderToma.setUF(br.com.swconsultoria.cte.schema_400.cteSimp.TUf.SC); + enderToma.setCEP("44079002"); + enderToma.setCPais("1058"); + enderToma.setXPais("Brasil"); + toma.setEnderToma(enderToma); + infCTe.setToma(toma); + + TCTeSimp.InfCte.InfCarga infCarga = new TCTeSimp.InfCte.InfCarga(); + infCarga.setVCarga("1.00"); + infCarga.setProPred("TESTE"); + TCTeSimp.InfCte.InfCarga.InfQ infQ = new TCTeSimp.InfCte.InfCarga.InfQ(); + infQ.setCUnid("04"); + infQ.setTpMed("07"); + infQ.setQCarga("10000.0000"); + infCarga.getInfQ().add(infQ); + infCTe.setInfCarga(infCarga); + + TCTeSimp.InfCte.Det det = new TCTeSimp.InfCte.Det(); + det.setNItem("1"); + det.setCMunIni("4204301"); + det.setXMunIni("Concórdia"); + det.setCMunFim("4204301"); + det.setXMunFim("Concórdia"); + det.setVPrest("1.00"); + det.setVRec("1.00"); + + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Det.Comp comp = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Det.Comp(); + comp.setVComp("500.00"); + comp.setXNome("TESTE"); + + det.getComp().add(comp); + + TCTeSimp.InfCte.Det.InfNFe infNFe = new TCTeSimp.InfCte.Det.InfNFe(); + infNFe.setChNFe("42241083011247002346550080018136131182627760"); + det.getInfNFe().add(infNFe); + infCTe.getDet().add(det); + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.InfModal infModal = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.InfModal(); + infModal.setVersaoModal(ConstantesCte.VERSAO.CTE); + Rodo rodo = new Rodo(); + rodo.setRNTRC("47008950"); + infModal.setAny(ObjetoCTeUtil.objectToElement(rodo, Rodo.class, "rodo")); + infCTe.setInfModal(infModal); + + + br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Imp imp = new br.com.swconsultoria.cte.schema_400.cteSimp.TCTeSimp.InfCte.Imp(); + + br.com.swconsultoria.cte.schema_400.cteSimp.TImp icms = new br.com.swconsultoria.cte.schema_400.cteSimp.TImp(); + + br.com.swconsultoria.cte.schema_400.cteSimp.TImp.ICMS45 icms45 = new br.com.swconsultoria.cte.schema_400.cteSimp.TImp.ICMS45(); + icms45.setCST("40"); + icms45.setCBenef("SC850001"); + icms45.setVICMSDeson("0"); + icms.setICMS45(icms45); + + imp.setICMS(icms); + + TCTeSimp.InfCte.Total total = new TCTeSimp.InfCte.Total(); + total.setVTPrest("1.00"); + total.setVTRec("1.00"); + + infCTe.setTotal(total); + infCTe.setImp(imp); + + cte.setInfCte(infCTe); + return cte; + } + +} \ No newline at end of file diff --git a/wsdl/CTeRecepcaoSimpV4.wsdl b/wsdl/CTeRecepcaoSimpV4.wsdl new file mode 100644 index 0000000..a183159 --- /dev/null +++ b/wsdl/CTeRecepcaoSimpV4.wsdl @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file