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

wmixvideo / nfe / #8875

24 Jun 2025 01:09AM UTC coverage: 51.448% (-0.01%) from 51.461%
#8875

push

web-flow
Merge 0ce3effce into bb9f583b3

14003 of 27218 relevant lines covered (51.45%)

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
×
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() {
×
39
    return vBC;
40
  }
41

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

102
  // UB17
×
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() {
×
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");
×
126
    }
127

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

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

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

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

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

148
    public void setGRed(GRed gRed) {
×
149
      this.gRed = gRed;
×
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");
×
158
    }
159

160
  }
161

162
  // UB36
×
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() {
×
183
      return pIBSMun;
184
    }
185

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

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

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

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

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

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

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

214
    public String getVIBSMun() {
×
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");
×
220
    }
221

222
  }
223

224
  // UB55
×
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() {
×
245
      return pCBS;
246
    }
247

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

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

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

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

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

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

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

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

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

285
  // UB68
×
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() {
×
315
      return cstReg;
316
    }
317

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

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

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

330
    public String getPAliqEfetRegIBSUF() {
×
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");
×
336
    }
337

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

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

346
    public String getPAliqEfetRegIBSMun() {
×
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");
×
352
    }
353

354
    public String getVTribRegIBSMun() {
×
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");
×
360
    }
361

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

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

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

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

378
  }
379

380
  // UB73 // UB78
×
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() {
×
398
      return cCredPres;
399
    }
400

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

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

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

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

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

421
    public String getVCredPresCondSus() {
×
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");
×
427
    }
428

429
  }
430

431
  // UB82a
×
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() {
×
455
      return pIBSUF;
456
    }
457

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

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

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

470
    public String getPIBSMun() {
×
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");
×
476
    }
477

478
    public String getVIBSMun() {
×
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");
×
484
    }
485

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

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

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

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

502
  }
503

504
// UB21 // UB40
×
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() {
×
516
      return pDif;
517
    }
518

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

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

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

531
  }
532

533
// UB24 // UB43
×
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() {
×
542
      return vDevTrib;
543
    }
544

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

549
  }
550

551
// UB26 // UB45
×
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() {
×
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");
×
568
    }
569

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

574
    public void setPAliqEfet(BigDecimal pAliqEfet) {
×
575
      this.pAliqEfet = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfet, "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo");
×
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