Skip to content

Commit

Permalink
Adicionado o campo cBenefRBC na classe do NFNotaInfoItemImpostoICMS51…
Browse files Browse the repository at this point in the history
… conforme NT2019_001_v1_64 vem apresentando (#1004)
  • Loading branch information
Ommegadata authored Sep 28, 2024
1 parent 9fbd3a8 commit 6d0295e
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.math.BigDecimal;

import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframework.xml.Element;

import com.fincatto.documentofiscal.DFBase;
Expand All @@ -25,6 +26,8 @@ public class NFNotaInfoItemImpostoICMS51 extends DFBase {
@Element(name = "pRedBC", required = false)
private String percentualReducaoBC;

@Element(name = "cBenefRBC", required = false)
private String codigoBeneficioFiscalRBC;
@Element(name = "vBC", required = false)
private String valorBCICMS;

Expand Down Expand Up @@ -61,6 +64,10 @@ public class NFNotaInfoItemImpostoICMS51 extends DFBase {
@Element(name = "vFCPEfet", required = false)
private String valorEfetivoFundoCombatePobreza;





public String getPercentualDiferimentoFundoCombatePobreza() {
return percentualDiferimentoFundoCombatePobreza;
}
Expand Down Expand Up @@ -155,6 +162,10 @@ public void setValorFundoCombatePobreza(final BigDecimal valorFundoCombatePobrez
"Valor fundo combate pobreza");
}

public void setCodigoBeneficioFiscalRBC(final String codigoBeneficioFiscalRBC) {
this.codigoBeneficioFiscalRBC = DFStringValidador.validador(codigoBeneficioFiscalRBC, "Codigo Beneficio Fiscal RBC", 10, false, false);
}

public NFOrigem getOrigem() {
return this.origem;
}
Expand Down Expand Up @@ -206,4 +217,6 @@ public String getPercentualFundoCombatePobreza() {
public String getValorFundoCombatePobreza() {
return this.valorFundoCombatePobreza;
}

public String getCodigoBeneficioFiscalRBC() { return this.codigoBeneficioFiscalRBC; }
}

0 comments on commit 6d0295e

Please sign in to comment.