• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #6746

24 Jun 2025 01:09AM UTC coverage: 51.41% (-0.3%) from 51.688%
#6746

push

web-flow
Merge a03513cf8 into bb9f583b3

0 of 19 new or added lines in 1 file covered. (0.0%)

214 existing lines in 12 files now uncovered.

14003 of 27238 relevant lines covered (51.41%)

0.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoIBSCBSTIBS.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoImpostoTributacaoIBSCBS;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import java.math.BigDecimal;
7
import org.simpleframework.xml.Element;
8

9
// UB15
UNCOV
10
public class NFNotaInfoItemImpostoIBSCBSTIBS extends DFBase {
×
11

12
  private static final long serialVersionUID = -366528394939416672L;
13

14
  @Element(required = true)
15
  private String vBC; // UB16
16

17
  @Element(required = true)
18
  private GIBSUF gIBSUF; // UB17
19

20
  @Element(required = true)
21
  private GIBSMun gIBSMun; // UB36
22

23
  @Element(required = true)
24
  private GCBS gCBS; // UB55
25

26
  @Element(required = false)
27
  private GTribRegular gTribRegular; // UB68
28

29
  @Element(required = false)
30
  private GCredPres gIBSCredPres; // UB73
31

32
  @Element(required = false)
33
  private GCredPres gCBSCredPres; // UB78
34

35
  @Element(required = false)
36
  private GTribCompraGov gTribCompraGov; // UB82a
37

38
  public String getVBC() {
UNCOV
39
    return vBC;
×
40
  }
41

42
  public void setVBC(BigDecimal vBC) {
UNCOV
43
    this.vBC = DFBigDecimalValidador.tamanho15Com4CasasDecimais(vBC, "Base de cálculo do IBS e CBS");
×
UNCOV
44
  }
×
45

46
  public GIBSUF getGIBSUF() {
UNCOV
47
    return gIBSUF;
×
48
  }
49

50
  public void setGIBSUF(GIBSUF gIBSUF) {
UNCOV
51
    this.gIBSUF = gIBSUF;
×
UNCOV
52
  }
×
53

54
  public GIBSMun getGIBSMun() {
UNCOV
55
    return gIBSMun;
×
56
  }
57

58
  public void setGIBSMun(GIBSMun gIBSMun) {
UNCOV
59
    this.gIBSMun = gIBSMun;
×
UNCOV
60
  }
×
61

62
  public GCBS getGCBS() {
UNCOV
63
    return gCBS;
×
64
  }
65

66
  public void setGCBS(GCBS gCBS) {
UNCOV
67
    this.gCBS = gCBS;
×
UNCOV
68
  }
×
69

70
  public GTribRegular getGTribRegular() {
UNCOV
71
    return gTribRegular;
×
72
  }
73

74
  public void setGTribRegular(GTribRegular gTribRegular) {
UNCOV
75
    this.gTribRegular = gTribRegular;
×
UNCOV
76
  }
×
77

78
  public GCredPres getGIBSCredPres() {
UNCOV
79
    return gIBSCredPres;
×
80
  }
81

82
  public void setGIBSCredPres(GCredPres gIBSCredPres) {
UNCOV
83
    this.gIBSCredPres = gIBSCredPres;
×
UNCOV
84
  }
×
85

86
  public GCredPres getGCBSCredPres() {
UNCOV
87
    return gCBSCredPres;
×
88
  }
89

90
  public void setGCBSCredPres(GCredPres gCBSCredPres) {
UNCOV
91
    this.gCBSCredPres = gCBSCredPres;
×
UNCOV
92
  }
×
93

94
  public GTribCompraGov getGTribCompraGov() {
UNCOV
95
    return gTribCompraGov;
×
96
  }
97

98
  public void setGTribCompraGov(GTribCompraGov gTribCompraGov) {
UNCOV
99
    this.gTribCompraGov = gTribCompraGov;
×
UNCOV
100
  }
×
101

102
  // UB17
UNCOV
103
  public class GIBSUF extends DFBase {
×
104

105
    @Element(required = true)
106
    private String pIBSUF; // UB18
107

108
    @Element(required = false)
109
    private GDif gDif; // UB21
110

111
    @Element(required = false)
112
    private GDevTrib gDevTrib; // UB24
113

114
    @Element(required = false)
115
    private GRed gRed; // UB26
116

117
    @Element(required = true)
118
    private String vIBSUF; // UB35
119

120
    public String getPIBSUF() {
UNCOV
121
      return pIBSUF;
×
122
    }
123

124
    public void setPIBSUF(BigDecimal pIBSUF) {
125
      this.pIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSUF, "Alíquota do IBS de competência das UF");
×
UNCOV
126
    }
×
127

128
    public GDif getGDif() {
129
      return gDif;
×
130
    }
131

132
    public void setGDif(GDif gDif) {
133
      this.gDif = gDif;
×
UNCOV
134
    }
×
135

136
    public GDevTrib getGDevTrib() {
137
      return gDevTrib;
×
138
    }
139

140
    public void setGDevTrib(GDevTrib gDevTrib) {
141
      this.gDevTrib = gDevTrib;
×
UNCOV
142
    }
×
143

144
    public GRed getGRed() {
145
      return gRed;
×
146
    }
147

148
    public void setGRed(GRed gRed) {
149
      this.gRed = gRed;
×
UNCOV
150
    }
×
151

152
    public String getVIBSUF() {
153
      return vIBSUF;
×
154
    }
155

156
    public void setVIBSUF(BigDecimal vIBSUF) {
157
      this.vIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSUF, "Valor do IBS de competência da UF");
×
UNCOV
158
    }
×
159

160
  }
161

162
  // UB36
UNCOV
163
  public class GIBSMun extends DFBase {
×
164

165
    private static final long serialVersionUID = -366528394939456789L;
166

167
    @Element(required = true)
168
    private String pIBSMun; // UB37
169

170
    @Element(required = false)
171
    private GDif gDif; // UB40
172

173
    @Element(required = false)
174
    private GDevTrib gDevTrib; // UB43
175

176
    @Element(required = false)
177
    private GRed gRed; // UB45
178

179
    @Element(required = true)
180
    private String vIBSMun; // UB54
181

182
    public String getPIBSMun() {
UNCOV
183
      return pIBSMun;
×
184
    }
185

186
    public void setPIBSMun(BigDecimal pIBSMun) {
UNCOV
187
      this.pIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSMun, "Valor do IBS de competência do Município");
×
UNCOV
188
    }
×
189

190
    public GDif getGDif() {
UNCOV
191
      return gDif;
×
192
    }
193

194
    public void setGDif(GDif gDif) {
195
      this.gDif = gDif;
×
UNCOV
196
    }
×
197

198
    public GDevTrib getGDevTrib() {
UNCOV
199
      return gDevTrib;
×
200
    }
201

202
    public void setGDevTrib(GDevTrib gDevTrib) {
203
      this.gDevTrib = gDevTrib;
×
UNCOV
204
    }
×
205

206
    public GRed getGRed() {
UNCOV
207
      return gRed;
×
208
    }
209

210
    public void setGRed(GRed gRed) {
211
      this.gRed = gRed;
×
UNCOV
212
    }
×
213

214
    public String getVIBSMun() {
UNCOV
215
      return vIBSMun;
×
216
    }
217

218
    public void setVIBSMun(BigDecimal vIBSMun) {
219
      this.vIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSMun, "Alíquota do IBS de competência do Município");
×
UNCOV
220
    }
×
221

222
  }
223

224
  // UB55
UNCOV
225
  public class GCBS extends DFBase {
×
226

227
    private static final long serialVersionUID = -366528394939456790L;
228

229
    @Element(required = true)
230
    private String pCBS; // UB56
231

232
    @Element(required = false)
233
    private GDif gDif; // UB59
234

235
    @Element(required = false)
236
    private GDevTrib gDevTrib; // UB62
237

238
    @Element(required = false)
239
    private GRed gRed; // UB64
240

241
    @Element(required = true)
242
    private String vCBS; // UB67
243

244
    public String getPCBS() {
UNCOV
245
      return pCBS;
×
246
    }
247

248
    public void setPCBS(BigDecimal pCBS) {
UNCOV
249
      this.pCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCBS, "Alíquota da CBS");
×
UNCOV
250
    }
×
251

252
    public GDif getGDif() {
UNCOV
253
      return gDif;
×
254
    }
255

256
    public void setGDif(GDif gDif) {
UNCOV
257
      this.gDif = gDif;
×
UNCOV
258
    }
×
259

260
    public GDevTrib getGDevTrib() {
UNCOV
261
      return gDevTrib;
×
262
    }
263

264
    public void setGDevTrib(GDevTrib gDevTrib) {
265
      this.gDevTrib = gDevTrib;
×
UNCOV
266
    }
×
267

268
    public GRed getGRed() {
UNCOV
269
      return gRed;
×
270
    }
271

272
    public void setGRed(GRed gRed) {
273
      this.gRed = gRed;
×
UNCOV
274
    }
×
275

276
    public String getVCBS() {
UNCOV
277
      return vCBS;
×
278
    }
279

280
    public void setVCBS(BigDecimal vCBS) {
281
      this.vCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCBS, "Valor da CBS");
×
UNCOV
282
    }
×
283
  }
284

285
  // UB68
UNCOV
286
  public class GTribRegular extends DFBase {
×
287

288
    private static final long serialVersionUID = -366528394939456791L;
289

290
    @Element(name = "CSTReg", required = true)
291
    private NFNotaInfoImpostoTributacaoIBSCBS cstReg; // UB69
292

293
    @Element(required = true)
294
    private String cClassTribReg; // UB70
295

296
    @Element(required = true)
297
    private String pAliqEfetRegIBSUF; // UB71
298

299
    @Element(required = true)
300
    private String vTribRegIBSUF; // UB72
301

302
    @Element(required = true)
303
    private String pAliqEfetRegIBSMun; // UB72a
304

305
    @Element(required = true)
306
    private String vTribRegIBSMun; // UB72b
307

308
    @Element(required = true)
309
    private String pAliqEfetRegCBS; // UB72c
310

311
    @Element(required = true)
312
    private String vTribRegCBS; // UB72d
313

314
    public NFNotaInfoImpostoTributacaoIBSCBS getCstReg() {
UNCOV
315
      return cstReg;
×
316
    }
317

318
    public void setCstReg(NFNotaInfoImpostoTributacaoIBSCBS cstReg) {
UNCOV
319
      this.cstReg = cstReg;
×
UNCOV
320
    }
×
321

322
    public String getCClassTribReg() {
UNCOV
323
      return cClassTribReg;
×
324
    }
325

326
    public void setCClassTribReg(String cClassTribReg) {
UNCOV
327
      this.cClassTribReg = cClassTribReg;
×
UNCOV
328
    }
×
329

330
    public String getPAliqEfetRegIBSUF() {
UNCOV
331
      return pAliqEfetRegIBSUF;
×
332
    }
333

334
    public void setPAliqEfetRegIBSUF(BigDecimal pAliqEfetRegIBSUF) {
335
      this.pAliqEfetRegIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSUF, "Valor da alíquota do IBS da UF");
×
UNCOV
336
    }
×
337

338
    public String getVTribRegIBSUF() {
UNCOV
339
      return vTribRegIBSUF;
×
340
    }
341

342
    public void setVTribRegIBSUF(BigDecimal vTribRegIBSUF) {
343
      this.vTribRegIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSUF, "Valor do Tributo do IBS da UF");
×
UNCOV
344
    }
×
345

346
    public String getPAliqEfetRegIBSMun() {
UNCOV
347
      return pAliqEfetRegIBSMun;
×
348
    }
349

350
    public void setPAliqEfetRegIBSMun(BigDecimal pAliqEfetRegIBSMun) {
351
      this.pAliqEfetRegIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSMun, "Valor da alíquota do IBS do Município");
×
UNCOV
352
    }
×
353

354
    public String getVTribRegIBSMun() {
UNCOV
355
      return vTribRegIBSMun;
×
356
    }
357

358
    public void setVTribRegIBSMun(BigDecimal vTribRegIBSMun) {
359
      this.vTribRegIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSMun, "Valor do Tributo do IBS do Município");
×
UNCOV
360
    }
×
361

362
    public String getPAliqEfetRegCBS() {
UNCOV
363
      return pAliqEfetRegCBS;
×
364
    }
365

366
    public void setPAliqEfetRegCBS(BigDecimal pAliqEfetRegCBS) {
367
      this.pAliqEfetRegCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegCBS, "Valor da alíquota da CBS");
×
UNCOV
368
    }
×
369

370
    public String getVTribRegCBS() {
UNCOV
371
      return vTribRegCBS;
×
372
    }
373

374
    public void setVTribRegCBS(BigDecimal vTribRegCBS) {
375
      this.vTribRegCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegCBS, "Valor do Tributo da CBS");
×
UNCOV
376
    }
×
377

378
  }
379

380
  // UB73 // UB78
UNCOV
381
  public class GCredPres extends DFBase {
×
382

383
    private static final long serialVersionUID = -366528394939456792L;
384

385
    @Element(required = true)
386
    private String cCredPres; // UB74 // UB79
387

388
    @Element(required = true)
389
    private String pCredPres; // UB75 // UB80
390

391
    @Element(required = true)
392
    private String vCredPres; // UB76 // UB81
393

394
    @Element(required = true)
395
    private String vCredPresCondSus; // UB77 // UB82
396

397
    public String getcCredPres() {
UNCOV
398
      return cCredPres;
×
399
    }
400

401
    public void setcCredPres(String cCredPres) {
UNCOV
402
      this.cCredPres = cCredPres;
×
UNCOV
403
    }
×
404

405
    public String getPCredPres() {
UNCOV
406
      return pCredPres;
×
407
    }
408

409
    public void setPCredPres(BigDecimal pCredPres) {
UNCOV
410
      this.pCredPres = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCredPres, "Percentual do Crédito Presumido");
×
UNCOV
411
    }
×
412

413
    public String getVCredPres() {
UNCOV
414
      return vCredPres;
×
415
    }
416

417
    public void setVCredPres(BigDecimal vCredPres) {
418
      this.vCredPres = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCredPres, "Valor do Crédito Presumido");
×
UNCOV
419
    }
×
420

421
    public String getVCredPresCondSus() {
UNCOV
422
      return vCredPresCondSus;
×
423
    }
424

425
    public void setVCredPresCondSus(BigDecimal vCredPresCondSus) {
426
      this.vCredPresCondSus = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCredPresCondSus, "Valor do Crédito Presumido em condição suspensiva");
×
UNCOV
427
    }
×
428

429
  }
430

431
  // UB82a
UNCOV
432
  public class GTribCompraGov extends DFBase {
×
433

434
    private static final long serialVersionUID = -366528394939456794L;
435

436
    @Element(required = true)
437
    private String pIBSUF; // UB82b
438

439
    @Element(required = true)
440
    private String vIBSUF; // UB82c
441

442
    @Element(required = true)
443
    private String pIBSMun; // UB82d
444

445
    @Element(required = true)
446
    private String vIBSMun; // UB82e
447

448
    @Element(required = true)
449
    private String pCBS; // UB82f
450

451
    @Element(required = true)
452
    private String vCBS; // UB82g
453

454
    public String getPIBSUF() {
UNCOV
455
      return pIBSUF;
×
456
    }
457

458
    public void setPIBSUF(BigDecimal pIBSUF) {
UNCOV
459
      this.pIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSUF, "Alíquota do IBS de competência do Estado");
×
UNCOV
460
    }
×
461

462
    public String getVIBSUF() {
UNCOV
463
      return vIBSUF;
×
464
    }
465

466
    public void setVIBSUF(BigDecimal vIBSUF) {
UNCOV
467
      this.vIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSUF, "Valor do Tributo do IBS da UF calculado");
×
UNCOV
468
    }
×
469

470
    public String getPIBSMun() {
UNCOV
471
      return pIBSMun;
×
472
    }
473

474
    public void setPIBSMun(BigDecimal pIBSMun) {
475
      this.pIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSMun, "Alíquota do IBS de competência do Município");
×
UNCOV
476
    }
×
477

478
    public String getVIBSMun() {
UNCOV
479
      return vIBSMun;
×
480
    }
481

482
    public void setVIBSMun(BigDecimal vIBSMun) {
483
      this.vIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSMun, "Valor do Tributo do IBS do Município calculado");
×
UNCOV
484
    }
×
485

486
    public String getPCBS() {
UNCOV
487
      return pCBS;
×
488
    }
489

490
    public void setPCBS(BigDecimal pCBS) {
491
      this.pCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCBS, "Alíquota da CBS ");
×
UNCOV
492
    }
×
493

494
    public String getVCBS() {
UNCOV
495
      return vCBS;
×
496
    }
497

498
    public void setVCBS(BigDecimal vCBS) {
499
      this.vCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCBS, "Valor do Tributo da CBS calculado");
×
UNCOV
500
    }
×
501

502
  }
503

504
// UB21 // UB40
UNCOV
505
  public class GDif extends DFBase {
×
506

507
    private static final long serialVersionUID = -366528394939455687L;
508

509
    @Element(required = true)
510
    private String pDif; // UB22 // UB41
511

512
    @Element(required = true)
513
    private String vDif; // UB23 // UB42
514

515
    public String getPDif() {
UNCOV
516
      return pDif;
×
517
    }
518

519
    public void setPDif(BigDecimal pDif) {
520
      this.pDif = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pDif, "Percentual do diferimento");
×
UNCOV
521
    }
×
522

523
    public String getVDif() {
UNCOV
524
      return vDif;
×
525
    }
526

527
    public void setVDif(BigDecimal vDif) {
UNCOV
528
      this.vDif = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDif, "Valor do Diferimento");
×
UNCOV
529
    }
×
530

531
  }
532

533
// UB24 // UB43
UNCOV
534
  public class GDevTrib extends DFBase {
×
535

536
    private static final long serialVersionUID = -366525684939456789L;
537

538
    @Element(required = true)
539
    private String vDevTrib; // UB25 // UB44
540

541
    public String getVDevTrib() {
UNCOV
542
      return vDevTrib;
×
543
    }
544

545
    public void setVDevTrib(BigDecimal vDevTrib) {
UNCOV
546
      this.vDevTrib = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDevTrib, "Valor do tributo devolvido");
×
UNCOV
547
    }
×
548

549
  }
550

551
// UB26 // UB45
UNCOV
552
  public class GRed extends DFBase {
×
553

554
    private static final long serialVersionUID = -366528394939258789L;
555

556
    @Element(required = true)
557
    private String pRedAliq; // UB27 // UB46
558

559
    @Element(required = true)
560
    private String pAliqEfet; // UB28 // UB47
561

562
    public String getPRedAliq() {
UNCOV
563
      return pRedAliq;
×
564
    }
565

566
    public void setPRedAliq(BigDecimal pRedAliq) {
567
      this.pRedAliq = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pRedAliq, "Percentual da redução de alíquota do cClassTrib");
×
UNCOV
568
    }
×
569

570
    public String getPAliqEfet() {
UNCOV
571
      return pAliqEfet;
×
572
    }
573

574
    public void setPAliqEfet(BigDecimal pAliqEfet) {
UNCOV
575
      this.pAliqEfet = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfet, "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo");
×
UNCOV
576
    }
×
577

578
  }
579
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc