Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionado o campo cBenefRBC no NFNotaInfoItemImpostoICMS51 #1004

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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; }
}
Loading