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

wmixvideo / nfe / #6663

21 Aug 2025 01:17PM UTC coverage: 51.755% (-0.04%) from 51.794%
#6663

push

web-flow
Merge branch 'wmixvideo:master' into master

30 of 86 new or added lines in 11 files covered. (34.88%)

1 existing line in 1 file now uncovered.

14359 of 27744 relevant lines covered (51.76%)

0.52 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 java.math.BigDecimal;
4

5
import org.simpleframework.xml.Element;
6

7
import com.fincatto.documentofiscal.DFBase;
8
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoImpostoTributacaoIBSCBS;
9
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
10

11
// UB15
12
public class NFNotaInfoItemImpostoIBSCBSTIBS extends DFBase {
×
13

14
  private static final long serialVersionUID = -366528394939416672L;
15

16
  @Element(required = true)
17
  private String vBC; // UB16
18

19
  @Element(required = true)
20
  private GIBSUF gIBSUF; // UB17
21

22
  @Element(required = true)
23
  private GIBSMun gIBSMun; // UB36
24

25
  @Element(required = true)
26
  private GCBS gCBS; // UB55
27

28
  @Element(required = false)
29
  private GTribRegular gTribRegular; // UB68
30

31
  @Element(required = false)
32
  private GCredPres gIBSCredPres; // UB73
33

34
  @Element(required = false)
35
  private GCredPres gCBSCredPres; // UB78
36

37
  @Element(required = false)
38
  private GTribCompraGov gTribCompraGov; // UB82a
39

40
  public String getVBC() {
41
    return vBC;
×
42
  }
43

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

48
  public GIBSUF getGIBSUF() {
49
    return gIBSUF;
×
50
  }
51

52
  public void setGIBSUF(GIBSUF gIBSUF) {
53
    this.gIBSUF = gIBSUF;
×
54
  }
×
55

56
  public GIBSMun getGIBSMun() {
57
    return gIBSMun;
×
58
  }
59

60
  public void setGIBSMun(GIBSMun gIBSMun) {
61
    this.gIBSMun = gIBSMun;
×
62
  }
×
63

64
  public GCBS getGCBS() {
65
    return gCBS;
×
66
  }
67

68
  public void setGCBS(GCBS gCBS) {
69
    this.gCBS = gCBS;
×
70
  }
×
71

72
  public GTribRegular getGTribRegular() {
73
    return gTribRegular;
×
74
  }
75

76
  public void setGTribRegular(GTribRegular gTribRegular) {
77
    this.gTribRegular = gTribRegular;
×
78
  }
×
79

80
  public GCredPres getGIBSCredPres() {
81
    return gIBSCredPres;
×
82
  }
83

84
  public void setGIBSCredPres(GCredPres gIBSCredPres) {
85
    this.gIBSCredPres = gIBSCredPres;
×
86
  }
×
87

88
  public GCredPres getGCBSCredPres() {
89
    return gCBSCredPres;
×
90
  }
91

92
  public void setGCBSCredPres(GCredPres gCBSCredPres) {
93
    this.gCBSCredPres = gCBSCredPres;
×
94
  }
×
95

96
  public GTribCompraGov getGTribCompraGov() {
97
    return gTribCompraGov;
×
98
  }
99

100
  public void setGTribCompraGov(GTribCompraGov gTribCompraGov) {
101
    this.gTribCompraGov = gTribCompraGov;
×
102
  }
×
103

104
  // UB17
105
  public class GIBSUF extends DFBase {
×
106

107
    private static final long serialVersionUID = 6093564886756420261L;
108

109
        @Element(required = true)
110
    private String pIBSUF; // UB18
111

112
    @Element(required = false)
113
    private GDif gDif; // UB21
114

115
    @Element(required = false)
116
    private GDevTrib gDevTrib; // UB24
117

118
    @Element(required = false)
119
    private GRed gRed; // UB26
120

121
    @Element(required = true)
122
    private String vIBSUF; // UB35
123

124
    public String getPIBSUF() {
125
      return pIBSUF;
×
126
    }
127

128
    public void setPIBSUF(BigDecimal pIBSUF) {
129
      this.pIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSUF, "Alíquota do IBS de competência das UF");
×
130
    }
×
131

132
    public GDif getGDif() {
133
      return gDif;
×
134
    }
135

136
    public void setGDif(GDif gDif) {
137
      this.gDif = gDif;
×
138
    }
×
139

140
    public GDevTrib getGDevTrib() {
141
      return gDevTrib;
×
142
    }
143

144
    public void setGDevTrib(GDevTrib gDevTrib) {
145
      this.gDevTrib = gDevTrib;
×
146
    }
×
147

148
    public GRed getGRed() {
149
      return gRed;
×
150
    }
151

152
    public void setGRed(GRed gRed) {
153
      this.gRed = gRed;
×
154
    }
×
155

156
    public String getVIBSUF() {
157
      return vIBSUF;
×
158
    }
159

160
    public void setVIBSUF(BigDecimal vIBSUF) {
161
      this.vIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSUF, "Valor do IBS de competência da UF");
×
162
    }
×
163

164
  }
165

166
  // UB36
167
  public class GIBSMun extends DFBase {
×
168

169
    private static final long serialVersionUID = -366528394939456789L;
170

171
    @Element(required = true)
172
    private String pIBSMun; // UB37
173

174
    @Element(required = false)
175
    private GDif gDif; // UB40
176

177
    @Element(required = false)
178
    private GDevTrib gDevTrib; // UB43
179

180
    @Element(required = false)
181
    private GRed gRed; // UB45
182

183
    @Element(required = true)
184
    private String vIBSMun; // UB54
185

186
    @Element(required = true)
187
    private String vIBS; // UB54a
188

189
    public String getPIBSMun() {
190
      return pIBSMun;
×
191
    }
192

193
    public void setPIBSMun(BigDecimal pIBSMun) {
194
      this.pIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSMun, "Valor do IBS de competência do Município");
×
195
    }
×
196

197
    public GDif getGDif() {
198
      return gDif;
×
199
    }
200

201
    public void setGDif(GDif gDif) {
202
      this.gDif = gDif;
×
203
    }
×
204

205
    public GDevTrib getGDevTrib() {
206
      return gDevTrib;
×
207
    }
208

209
    public void setGDevTrib(GDevTrib gDevTrib) {
210
      this.gDevTrib = gDevTrib;
×
211
    }
×
212

213
    public GRed getGRed() {
214
      return gRed;
×
215
    }
216

217
    public void setGRed(GRed gRed) {
218
      this.gRed = gRed;
×
219
    }
×
220

221
    public String getVIBSMun() {
222
      return vIBSMun;
×
223
    }
224

225
    public void setVIBSMun(BigDecimal vIBSMun) {
226
      this.vIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSMun, "Alíquota do IBS de competência do Município");
×
227
    }
×
228

229
        public String getVIBS() {
NEW
230
                return vIBS;
×
231
        }
232

233
        public void setVIBS(BigDecimal vIBS) {
NEW
234
                this.vIBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBS, "Valor do IBS");
×
NEW
235
        }
×
236

237
  }
238

239
  // UB55
240
  public class GCBS extends DFBase {
×
241

242
    private static final long serialVersionUID = -366528394939456790L;
243

244
    @Element(required = true)
245
    private String pCBS; // UB56
246

247
    @Element(required = false)
248
    private GDif gDif; // UB59
249

250
    @Element(required = false)
251
    private GDevTrib gDevTrib; // UB62
252

253
    @Element(required = false)
254
    private GRed gRed; // UB64
255

256
    @Element(required = true)
257
    private String vCBS; // UB67
258

259
    public String getPCBS() {
260
      return pCBS;
×
261
    }
262

263
    public void setPCBS(BigDecimal pCBS) {
264
      this.pCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCBS, "Alíquota da CBS");
×
265
    }
×
266

267
    public GDif getGDif() {
268
      return gDif;
×
269
    }
270

271
    public void setGDif(GDif gDif) {
272
      this.gDif = gDif;
×
273
    }
×
274

275
    public GDevTrib getGDevTrib() {
276
      return gDevTrib;
×
277
    }
278

279
    public void setGDevTrib(GDevTrib gDevTrib) {
280
      this.gDevTrib = gDevTrib;
×
281
    }
×
282

283
    public GRed getGRed() {
284
      return gRed;
×
285
    }
286

287
    public void setGRed(GRed gRed) {
288
      this.gRed = gRed;
×
289
    }
×
290

291
    public String getVCBS() {
292
      return vCBS;
×
293
    }
294

295
    public void setVCBS(BigDecimal vCBS) {
296
      this.vCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCBS, "Valor da CBS");
×
297
    }
×
298
  }
299

300
  // UB68
301
  public class GTribRegular extends DFBase {
×
302

303
    private static final long serialVersionUID = -366528394939456791L;
304

305
    @Element(name = "CSTReg", required = true)
306
    private NFNotaInfoImpostoTributacaoIBSCBS cstReg; // UB69
307

308
    @Element(required = true)
309
    private String cClassTribReg; // UB70
310

311
    @Element(required = true)
312
    private String pAliqEfetRegIBSUF; // UB71
313

314
    @Element(required = true)
315
    private String vTribRegIBSUF; // UB72
316

317
    @Element(required = true)
318
    private String pAliqEfetRegIBSMun; // UB72a
319

320
    @Element(required = true)
321
    private String vTribRegIBSMun; // UB72b
322

323
    @Element(required = true)
324
    private String pAliqEfetRegCBS; // UB72c
325

326
    @Element(required = true)
327
    private String vTribRegCBS; // UB72d
328

329
    public NFNotaInfoImpostoTributacaoIBSCBS getCstReg() {
330
      return cstReg;
×
331
    }
332

333
    public void setCstReg(NFNotaInfoImpostoTributacaoIBSCBS cstReg) {
334
      this.cstReg = cstReg;
×
335
    }
×
336

337
    public String getCClassTribReg() {
338
      return cClassTribReg;
×
339
    }
340

341
    public void setCClassTribReg(String cClassTribReg) {
342
      this.cClassTribReg = cClassTribReg;
×
343
    }
×
344

345
    public String getPAliqEfetRegIBSUF() {
346
      return pAliqEfetRegIBSUF;
×
347
    }
348

349
    public void setPAliqEfetRegIBSUF(BigDecimal pAliqEfetRegIBSUF) {
350
      this.pAliqEfetRegIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSUF, "Valor da alíquota do IBS da UF");
×
351
    }
×
352

353
    public String getVTribRegIBSUF() {
354
      return vTribRegIBSUF;
×
355
    }
356

357
    public void setVTribRegIBSUF(BigDecimal vTribRegIBSUF) {
358
      this.vTribRegIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSUF, "Valor do Tributo do IBS da UF");
×
359
    }
×
360

361
    public String getPAliqEfetRegIBSMun() {
362
      return pAliqEfetRegIBSMun;
×
363
    }
364

365
    public void setPAliqEfetRegIBSMun(BigDecimal pAliqEfetRegIBSMun) {
366
      this.pAliqEfetRegIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSMun, "Valor da alíquota do IBS do Município");
×
367
    }
×
368

369
    public String getVTribRegIBSMun() {
370
      return vTribRegIBSMun;
×
371
    }
372

373
    public void setVTribRegIBSMun(BigDecimal vTribRegIBSMun) {
374
      this.vTribRegIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSMun, "Valor do Tributo do IBS do Município");
×
375
    }
×
376

377
    public String getPAliqEfetRegCBS() {
378
      return pAliqEfetRegCBS;
×
379
    }
380

381
    public void setPAliqEfetRegCBS(BigDecimal pAliqEfetRegCBS) {
382
      this.pAliqEfetRegCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegCBS, "Valor da alíquota da CBS");
×
383
    }
×
384

385
    public String getVTribRegCBS() {
386
      return vTribRegCBS;
×
387
    }
388

389
    public void setVTribRegCBS(BigDecimal vTribRegCBS) {
390
      this.vTribRegCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegCBS, "Valor do Tributo da CBS");
×
391
    }
×
392

393
  }
394

395
  // UB73 // UB78
396
  public class GCredPres extends DFBase {
×
397

398
    private static final long serialVersionUID = -366528394939456792L;
399

400
    @Element(required = true)
401
    private String cCredPres; // UB74 // UB79
402

403
    @Element(required = true)
404
    private String pCredPres; // UB75 // UB80
405

406
    @Element(required = true)
407
    private String vCredPres; // UB76 // UB81
408

409
    @Element(required = true)
410
    private String vCredPresCondSus; // UB77 // UB82
411

412
    public String getcCredPres() {
413
      return cCredPres;
×
414
    }
415

416
    public void setcCredPres(String cCredPres) {
417
      this.cCredPres = cCredPres;
×
418
    }
×
419

420
    public String getPCredPres() {
421
      return pCredPres;
×
422
    }
423

424
    public void setPCredPres(BigDecimal pCredPres) {
425
      this.pCredPres = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCredPres, "Percentual do Crédito Presumido");
×
426
    }
×
427

428
    public String getVCredPres() {
429
      return vCredPres;
×
430
    }
431

432
    public void setVCredPres(BigDecimal vCredPres) {
433
      this.vCredPres = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCredPres, "Valor do Crédito Presumido");
×
434
    }
×
435

436
    public String getVCredPresCondSus() {
437
      return vCredPresCondSus;
×
438
    }
439

440
    public void setVCredPresCondSus(BigDecimal vCredPresCondSus) {
441
      this.vCredPresCondSus = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCredPresCondSus, "Valor do Crédito Presumido em condição suspensiva");
×
442
    }
×
443

444
  }
445

446
  // UB82a
447
  public class GTribCompraGov extends DFBase {
×
448

449
    private static final long serialVersionUID = -366528394939456794L;
450

451
    @Element(required = true)
452
    private String pAliqIBSUF; // UB82b
453

454
    @Element(required = true)
455
    private String vTribIBSUF; // UB82c
456

457
    @Element(required = true)
458
    private String pAliqIBSMun; // UB82d
459

460
    @Element(required = true)
461
    private String vTribIBSMun; // UB82e
462

463
    @Element(required = true)
464
    private String pAliqCBS; // UB82f
465

466
    @Element(required = true)
467
    private String vTribCBS; // UB82g
468

469
        public String getPAliqIBSUF() {
NEW
470
                return pAliqIBSUF;
×
471
        }
472

473
        public void setPAliqIBSUF(BigDecimal pAliqIBSUF) {
NEW
474
                this.pAliqIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSUF, "Alíquota do IBS de competência do Estado");
×
NEW
475
        }
×
476

477
        public String getVTribIBSUF() {
NEW
478
                return vTribIBSUF;
×
479
        }
480

481
        public void setVTribIBSUF(BigDecimal vTribIBSUF) {
NEW
482
                this.vTribIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSUF, "Valor do Tributo do IBS da UF calculado");
×
NEW
483
        }
×
484

485
        public String getPAliqIBSMun() {
NEW
486
                return pAliqIBSMun;
×
487
        }
488

489
        public void setPAliqIBSMun(BigDecimal pAliqIBSMun) {
NEW
490
                this.pAliqIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSMun, "Alíquota do IBS de competência do Município");
×
NEW
491
        }
×
492

493
        public String getVTribIBSMun() {
NEW
494
                return vTribIBSMun;
×
495
        }
496

497
        public void setVTribIBSMun(BigDecimal vTribIBSMun) {
NEW
498
                this.vTribIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSMun, "Valor do Tributo do IBS do Município calculado");
×
NEW
499
        }
×
500

501
        public String getPAliqCBS() {
NEW
502
                return pAliqCBS;
×
503
        }
504

505
        public void setPAliqCBS(BigDecimal pAliqCBS) {
NEW
506
                this.pAliqCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqCBS, "Alíquota da CBS ");
×
NEW
507
        }
×
508

509
        public String getVTribCBS() {
NEW
510
                return vTribCBS;
×
511
        }
512

513
        public void setVTribCBS(BigDecimal vTribCBS) {
NEW
514
                this.vTribCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribCBS, "Valor do Tributo da CBS calculado");
×
NEW
515
        }
×
516
    
517
  }
518

519
// UB21 // UB40
520
  public class GDif extends DFBase {
×
521

522
    private static final long serialVersionUID = -366528394939455687L;
523

524
    @Element(required = true)
525
    private String pDif; // UB22 // UB41
526

527
    @Element(required = true)
528
    private String vDif; // UB23 // UB42
529

530
    public String getPDif() {
531
      return pDif;
×
532
    }
533

534
    public void setPDif(BigDecimal pDif) {
535
      this.pDif = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pDif, "Percentual do diferimento");
×
536
    }
×
537

538
    public String getVDif() {
539
      return vDif;
×
540
    }
541

542
    public void setVDif(BigDecimal vDif) {
543
      this.vDif = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDif, "Valor do Diferimento");
×
544
    }
×
545

546
  }
547

548
// UB24 // UB43
549
  public class GDevTrib extends DFBase {
×
550

551
    private static final long serialVersionUID = -366525684939456789L;
552

553
    @Element(required = true)
554
    private String vDevTrib; // UB25 // UB44
555

556
    public String getVDevTrib() {
557
      return vDevTrib;
×
558
    }
559

560
    public void setVDevTrib(BigDecimal vDevTrib) {
561
      this.vDevTrib = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDevTrib, "Valor do tributo devolvido");
×
562
    }
×
563

564
  }
565

566
// UB26 // UB45
567
  public class GRed extends DFBase {
×
568

569
    private static final long serialVersionUID = -366528394939258789L;
570

571
    @Element(required = true)
572
    private String pRedAliq; // UB27 // UB46
573

574
    @Element(required = true)
575
    private String pAliqEfet; // UB28 // UB47
576

577
    public String getPRedAliq() {
578
      return pRedAliq;
×
579
    }
580

581
    public void setPRedAliq(BigDecimal pRedAliq) {
582
      this.pRedAliq = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pRedAliq, "Percentual da redução de alíquota do cClassTrib");
×
583
    }
×
584

585
    public String getPAliqEfet() {
586
      return pAliqEfet;
×
587
    }
588

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

593
  }
594
}
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