![JAR search and dependency download from the Maven repository](/logo.png)
com.fincatto.documentofiscal.cte300.classes.nota.CTeNotaInfoCTeNormalInfoDocumentosInfoNF Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nfe Show documentation
Show all versions of nfe Show documentation
Biblioteca de comunicacao de nota fiscal eletronica brasileira
package com.fincatto.documentofiscal.cte300.classes.nota;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.cte300.classes.CTModeloNF;
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
import org.simpleframework.xml.ElementList;
/**
* @author Caio
* @info Informações das NF
* Este grupo deve ser informado quando o documento originário for NF
*/
@Root(name = "infNF")
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
public class CTeNotaInfoCTeNormalInfoDocumentosInfoNF extends DFBase {
private static final long serialVersionUID = -7538008769125152502L;
@Element(name = "nRoma", required = false)
private String numeroRomaneio;
@Element(name = "nPed", required = false)
private String numeroPedidoNF;
@Element(name = "mod")
private CTModeloNF modeloNF;
@Element(name = "serie")
private String serie;
@Element(name = "nDoc")
private String numeroDocumento;
@Element(name = "dEmi")
private LocalDate dataEmissao;
@Element(name = "vBC")
private String valorBcICMS;
@Element(name = "vICMS")
private String valorICMS;
@Element(name = "vBCST")
private String valorBcICMSST;
@Element(name = "vST")
private String valorICMSST;
@Element(name = "vProd")
private String valorTotalProdutos;
@Element(name = "vNF")
private String valorTotalNF;
@Element(name = "nCFOP")
private String CFOP;
@Element(name = "nPeso", required = false)
private String valorPesoTotal;
@Element(name = "PIN", required = false)
private String pinSUFRAMA;
@Element(name = "dPrev", required = false)
private LocalDate dataPrevistaEntrega;
@ElementList(name = "infUnidCarga", inline = true, required = false)
private List infoUnidadeCarga;
@ElementList(name = "infUnidTransp", inline = true, required = false)
private List infoUnidadeTransporte;
public CTeNotaInfoCTeNormalInfoDocumentosInfoNF() {
this.numeroRomaneio = null;
this.numeroPedidoNF = null;
this.modeloNF = null;
this.serie = null;
this.numeroDocumento = null;
this.dataEmissao = null;
this.valorBcICMS = null;
this.valorICMS = null;
this.valorBcICMSST = null;
this.valorICMSST = null;
this.valorTotalProdutos = null;
this.valorTotalNF = null;
this.CFOP = null;
this.valorPesoTotal = null;
this.pinSUFRAMA = null;
this.dataPrevistaEntrega = null;
this.infoUnidadeCarga = null;
this.infoUnidadeTransporte = null;
}
public String getNumeroRomaneio() {
return this.numeroRomaneio;
}
/**
* Número do Romaneio da NF
*/
public void setNumeroRomaneio(final String numeroRomaneio) {
DFStringValidador.tamanho20(numeroRomaneio, "Número do Romaneio da NF");
this.numeroRomaneio = numeroRomaneio;
}
public String getNumeroPedidoNF() {
return this.numeroPedidoNF;
}
/**
* Número do Pedido da NF
*/
public void setNumeroPedidoNF(final String numeroPedidoNF) {
DFStringValidador.tamanho20(numeroPedidoNF, "Número do Pedido da NF");
this.numeroPedidoNF = numeroPedidoNF;
}
public CTModeloNF getModeloNF() {
return this.modeloNF;
}
/**
* Modelo da Nota Fiscal
* Preencher com:
* 01 - NF Modelo 01/1A e Avulsa;
* 04 - NF de Produtor
*/
public void setModeloNF(final CTModeloNF modeloNF) {
this.modeloNF = modeloNF;
}
public String getSerie() {
return this.serie;
}
/**
* Série
*/
public void setSerie(final String serie) {
DFStringValidador.tamanho3(serie, "Série");
this.serie = serie;
}
public String getNumeroDocumento() {
return this.numeroDocumento;
}
/**
* Número
*/
public void setNumeroDocumento(final String numeroDocumento) {
DFStringValidador.tamanho20(numeroDocumento, "Número");
this.numeroDocumento = numeroDocumento;
}
public LocalDate getDataEmissao() {
return this.dataEmissao;
}
/**
* Data de Emissão
* Formato AAAA-MM-DD
*/
public void setDataEmissao(final LocalDate dataEmissao) {
this.dataEmissao = dataEmissao;
}
public String getValorBcICMS() {
return this.valorBcICMS;
}
/**
* Valor da Base de Cálculo do ICMS
*/
public void setValorBcICMS(final BigDecimal valorBcICMS) {
this.valorBcICMS = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBcICMS, "Valor da Base de Cálculo do ICMS");
}
public String getValorICMS() {
return this.valorICMS;
}
/**
* Valor Total do ICMS
*/
public void setValorICMS(final BigDecimal valorICMS) {
this.valorICMS = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMS, "Valor Total do ICMS");
}
public String getValorBcICMSST() {
return this.valorBcICMSST;
}
/**
* Valor da Base de Cálculo do ICMS ST
*/
public void setValorBcICMSST(final BigDecimal valorBcICMSST) {
this.valorBcICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBcICMSST, "Valor da Base de Cálculo do ICMS ST");
}
public String getValorICMSST() {
return this.valorICMSST;
}
/**
* Valor Total do ICMS ST
*/
public void setValorICMSST(final BigDecimal valorICMSST) {
this.valorICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSST, "Valor Total do ICMS ST");
}
public String getValorTotalProdutos() {
return this.valorTotalProdutos;
}
/**
* Valor Total dos Produtos
*/
public void setValorTotalProdutos(final BigDecimal valorTotalProdutos) {
this.valorTotalProdutos = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTotalProdutos, "Valor Total dos Produtos");
}
public String getValorTotalNF() {
return this.valorTotalNF;
}
/**
* Valor Total da NF
*/
public void setValorTotalNF(final BigDecimal valorTotalNF) {
this.valorTotalNF = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTotalNF, "Valor Total da NF");
}
public String getCFOP() {
return this.CFOP;
}
/**
* CFOP Predominante
* CFOP da NF ou, na existência de mais de um, predominância pelo critério de valor econômico.
*/
public void setCFOP(final String cFOP) {
DFStringValidador.exatamente4N(cFOP, "CFOP");
this.CFOP = cFOP;
}
public String getValorPesoTotal() {
return this.valorPesoTotal;
}
/**
* Peso total em Kg
*/
public void setValorPesoTotal(final BigDecimal valorPesoTotal) {
this.valorPesoTotal = DFBigDecimalValidador.tamanho15Com3CasasDecimais(valorPesoTotal, "Peso total em Kg");
}
public String getPinSUFRAMA() {
return this.pinSUFRAMA;
}
/**
* PIN SUFRAMA
* PIN atribuído pela SUFRAMA para a operação.
*/
public void setPinSUFRAMA(final String pinSUFRAMA) {
DFStringValidador.tamanho2a9N(pinSUFRAMA, "PIN SUFRAMA");
this.pinSUFRAMA = pinSUFRAMA;
}
public LocalDate getDataPrevistaEntrega() {
return this.dataPrevistaEntrega;
}
/**
* Data prevista de entrega
* Formato AAAA-MM-DD
*/
public void setDataPrevistaEntrega(final LocalDate dataPrevistaEntrega) {
this.dataPrevistaEntrega = dataPrevistaEntrega;
}
public List getInfoUnidadeCarga() {
return this.infoUnidadeCarga;
}
/**
* Informações das Unidades de Carga (Containeres/ULD/Outros)
* Dispositivo de carga utilizada (Unit Load Device - ULD) significa todo tipo de contêiner de carga, vagão, contêiner de avião, palete de aeronave com rede ou palete de aeronave com rede sobre um iglu.
*/
public void setInfoUnidadeCarga(final List infoUnidadeCarga) {
this.infoUnidadeCarga = infoUnidadeCarga;
}
public List getInfoUnidadeTransporte() {
return this.infoUnidadeTransporte;
}
/**
* Informações das Unidades de Transporte (Carreta/Reboque/Vagão)
* Deve ser preenchido com as informações das unidades de transporte utilizadas.
*/
public void setInfoUnidadeTransporte(final List infoUnidadeTransporte) {
this.infoUnidadeTransporte = infoUnidadeTransporte;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy