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

wmixvideo / nfe / #8049

10 Mar 2026 08:43PM UTC coverage: 50.346% (-1.1%) from 51.461%
#8049

push

T3W Continuous Integration
[maven-release-plugin] [skip ci] prepare for next development iteration

14775 of 29347 relevant lines covered (50.35%)

0.5 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 String vIBS; // UB54a
27

28
  @Element(required = true)
29
  private GCBS gCBS; // UB55
30

31
  @Element(required = false)
32
  private GTribRegular gTribRegular; // UB68
33

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

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

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

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

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

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

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

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

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

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

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

77
  public GTribCompraGov getGTribCompraGov() {
78
    return gTribCompraGov;
×
79
  }
80

81
  public void setGTribCompraGov(GTribCompraGov gTribCompraGov) {
82
    this.gTribCompraGov = gTribCompraGov;
×
83
  }
×
84

85
  public String getVIBS() {
86
    return this.vIBS;
×
87
  }
88

89
  public void setVIBS(BigDecimal vIBS) {
90
    this.vIBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBS, "Valor IBS");
×
91
  }
×
92

93
  // UB17
94
  public static class GIBSUF extends DFBase {
×
95

96
    private static final long serialVersionUID = 6093564886756420261L;
97

98
        @Element(required = true)
99
    private String pIBSUF; // UB18
100

101
    @Element(required = false)
102
    private GDif gDif; // UB21
103

104
    @Element(required = false)
105
    private GDevTrib gDevTrib; // UB24
106

107
    @Element(required = false)
108
    private GRed gRed; // UB26
109

110
    @Element(required = true)
111
    private String vIBSUF; // UB35
112

113
    public String getPIBSUF() {
114
      return pIBSUF;
×
115
    }
116

117
    public void setPIBSUF(BigDecimal pIBSUF) {
118
      this.pIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSUF, "Alíquota do IBS de competência das UF");
×
119
    }
×
120

121
    public GDif getGDif() {
122
      return gDif;
×
123
    }
124

125
    public void setGDif(GDif gDif) {
126
      this.gDif = gDif;
×
127
    }
×
128

129
    public GDevTrib getGDevTrib() {
130
      return gDevTrib;
×
131
    }
132

133
    public void setGDevTrib(GDevTrib gDevTrib) {
134
      this.gDevTrib = gDevTrib;
×
135
    }
×
136

137
    public GRed getGRed() {
138
      return gRed;
×
139
    }
140

141
    public void setGRed(GRed gRed) {
142
      this.gRed = gRed;
×
143
    }
×
144

145
    public String getVIBSUF() {
146
      return vIBSUF;
×
147
    }
148

149
    public void setVIBSUF(BigDecimal vIBSUF) {
150
      this.vIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSUF, "Valor do IBS de competência da UF");
×
151
    }
×
152

153
  }
154

155
  // UB36
156
  public static class GIBSMun extends DFBase {
×
157

158
    private static final long serialVersionUID = -366528394939456789L;
159

160
    @Element(required = true)
161
    private String pIBSMun; // UB37
162

163
    @Element(required = false)
164
    private GDif gDif; // UB40
165

166
    @Element(required = false)
167
    private GDevTrib gDevTrib; // UB43
168

169
    @Element(required = false)
170
    private GRed gRed; // UB45
171

172
    @Element(required = true)
173
    private String vIBSMun; // UB54
174

175
    public String getPIBSMun() {
176
      return pIBSMun;
×
177
    }
178

179
    public void setPIBSMun(BigDecimal pIBSMun) {
180
      this.pIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSMun, "Valor do IBS de competência do Município");
×
181
    }
×
182

183
    public GDif getGDif() {
184
      return gDif;
×
185
    }
186

187
    public void setGDif(GDif gDif) {
188
      this.gDif = gDif;
×
189
    }
×
190

191
    public GDevTrib getGDevTrib() {
192
      return gDevTrib;
×
193
    }
194

195
    public void setGDevTrib(GDevTrib gDevTrib) {
196
      this.gDevTrib = gDevTrib;
×
197
    }
×
198

199
    public GRed getGRed() {
200
      return gRed;
×
201
    }
202

203
    public void setGRed(GRed gRed) {
204
      this.gRed = gRed;
×
205
    }
×
206

207
    public String getVIBSMun() {
208
      return vIBSMun;
×
209
    }
210

211
    public void setVIBSMun(BigDecimal vIBSMun) {
212
      this.vIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSMun, "Alíquota do IBS de competência do Município");
×
213
    }
×
214

215
  }
216

217
  // UB55
218
  public static class GCBS extends DFBase {
×
219

220
    private static final long serialVersionUID = -366528394939456790L;
221

222
    @Element(required = true)
223
    private String pCBS; // UB56
224

225
    @Element(required = false)
226
    private GDif gDif; // UB59
227

228
    @Element(required = false)
229
    private GDevTrib gDevTrib; // UB62
230

231
    @Element(required = false)
232
    private GRed gRed; // UB64
233

234
    @Element(required = true)
235
    private String vCBS; // UB67
236

237
    public String getPCBS() {
238
      return pCBS;
×
239
    }
240

241
    public void setPCBS(BigDecimal pCBS) {
242
      this.pCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCBS, "Alíquota da CBS");
×
243
    }
×
244

245
    public GDif getGDif() {
246
      return gDif;
×
247
    }
248

249
    public void setGDif(GDif gDif) {
250
      this.gDif = gDif;
×
251
    }
×
252

253
    public GDevTrib getGDevTrib() {
254
      return gDevTrib;
×
255
    }
256

257
    public void setGDevTrib(GDevTrib gDevTrib) {
258
      this.gDevTrib = gDevTrib;
×
259
    }
×
260

261
    public GRed getGRed() {
262
      return gRed;
×
263
    }
264

265
    public void setGRed(GRed gRed) {
266
      this.gRed = gRed;
×
267
    }
×
268

269
    public String getVCBS() {
270
      return vCBS;
×
271
    }
272

273
    public void setVCBS(BigDecimal vCBS) {
274
      this.vCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCBS, "Valor da CBS");
×
275
    }
×
276
  }
277

278
  // UB68
279
  public static class GTribRegular extends DFBase {
×
280

281
    private static final long serialVersionUID = -366528394939456791L;
282

283
    @Element(name = "CSTReg", required = true)
284
    private NFNotaInfoImpostoTributacaoIBSCBS cstReg; // UB69
285

286
    @Element(required = true)
287
    private String cClassTribReg; // UB70
288

289
    @Element(required = true)
290
    private String pAliqEfetRegIBSUF; // UB71
291

292
    @Element(required = true)
293
    private String vTribRegIBSUF; // UB72
294

295
    @Element(required = true)
296
    private String pAliqEfetRegIBSMun; // UB72a
297

298
    @Element(required = true)
299
    private String vTribRegIBSMun; // UB72b
300

301
    @Element(required = true)
302
    private String pAliqEfetRegCBS; // UB72c
303

304
    @Element(required = true)
305
    private String vTribRegCBS; // UB72d
306

307
    public NFNotaInfoImpostoTributacaoIBSCBS getCstReg() {
308
      return cstReg;
×
309
    }
310

311
    public void setCstReg(NFNotaInfoImpostoTributacaoIBSCBS cstReg) {
312
      this.cstReg = cstReg;
×
313
    }
×
314

315
    public String getCClassTribReg() {
316
      return cClassTribReg;
×
317
    }
318

319
    public void setCClassTribReg(String cClassTribReg) {
320
      this.cClassTribReg = cClassTribReg;
×
321
    }
×
322

323
    public String getPAliqEfetRegIBSUF() {
324
      return pAliqEfetRegIBSUF;
×
325
    }
326

327
    public void setPAliqEfetRegIBSUF(BigDecimal pAliqEfetRegIBSUF) {
328
      this.pAliqEfetRegIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSUF, "Valor da alíquota do IBS da UF");
×
329
    }
×
330

331
    public String getVTribRegIBSUF() {
332
      return vTribRegIBSUF;
×
333
    }
334

335
    public void setVTribRegIBSUF(BigDecimal vTribRegIBSUF) {
336
      this.vTribRegIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSUF, "Valor do Tributo do IBS da UF");
×
337
    }
×
338

339
    public String getPAliqEfetRegIBSMun() {
340
      return pAliqEfetRegIBSMun;
×
341
    }
342

343
    public void setPAliqEfetRegIBSMun(BigDecimal pAliqEfetRegIBSMun) {
344
      this.pAliqEfetRegIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSMun, "Valor da alíquota do IBS do Município");
×
345
    }
×
346

347
    public String getVTribRegIBSMun() {
348
      return vTribRegIBSMun;
×
349
    }
350

351
    public void setVTribRegIBSMun(BigDecimal vTribRegIBSMun) {
352
      this.vTribRegIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSMun, "Valor do Tributo do IBS do Município");
×
353
    }
×
354

355
    public String getPAliqEfetRegCBS() {
356
      return pAliqEfetRegCBS;
×
357
    }
358

359
    public void setPAliqEfetRegCBS(BigDecimal pAliqEfetRegCBS) {
360
      this.pAliqEfetRegCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegCBS, "Valor da alíquota da CBS");
×
361
    }
×
362

363
    public String getVTribRegCBS() {
364
      return vTribRegCBS;
×
365
    }
366

367
    public void setVTribRegCBS(BigDecimal vTribRegCBS) {
368
      this.vTribRegCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegCBS, "Valor do Tributo da CBS");
×
369
    }
×
370

371
  }
372

373
  // UB82a
374
  public static class GTribCompraGov extends DFBase {
×
375

376
    private static final long serialVersionUID = -366528394939456794L;
377

378
    @Element(required = true)
379
    private String pAliqIBSUF; // UB82b
380

381
    @Element(required = true)
382
    private String vTribIBSUF; // UB82c
383

384
    @Element(required = true)
385
    private String pAliqIBSMun; // UB82d
386

387
    @Element(required = true)
388
    private String vTribIBSMun; // UB82e
389

390
    @Element(required = true)
391
    private String pAliqCBS; // UB82f
392

393
    @Element(required = true)
394
    private String vTribCBS; // UB82g
395

396
        public String getPAliqIBSUF() {
397
                return pAliqIBSUF;
×
398
        }
399

400
        public void setPAliqIBSUF(BigDecimal pAliqIBSUF) {
401
                this.pAliqIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSUF, "Alíquota do IBS de competência do Estado");
×
402
        }
×
403

404
        public String getVTribIBSUF() {
405
                return vTribIBSUF;
×
406
        }
407

408
        public void setVTribIBSUF(BigDecimal vTribIBSUF) {
409
                this.vTribIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSUF, "Valor do Tributo do IBS da UF calculado");
×
410
        }
×
411

412
        public String getPAliqIBSMun() {
413
                return pAliqIBSMun;
×
414
        }
415

416
        public void setPAliqIBSMun(BigDecimal pAliqIBSMun) {
417
                this.pAliqIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSMun, "Alíquota do IBS de competência do Município");
×
418
        }
×
419

420
        public String getVTribIBSMun() {
421
                return vTribIBSMun;
×
422
        }
423

424
        public void setVTribIBSMun(BigDecimal vTribIBSMun) {
425
                this.vTribIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSMun, "Valor do Tributo do IBS do Município calculado");
×
426
        }
×
427

428
        public String getPAliqCBS() {
429
                return pAliqCBS;
×
430
        }
431

432
        public void setPAliqCBS(BigDecimal pAliqCBS) {
433
                this.pAliqCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqCBS, "Alíquota da CBS ");
×
434
        }
×
435

436
        public String getVTribCBS() {
437
                return vTribCBS;
×
438
        }
439

440
        public void setVTribCBS(BigDecimal vTribCBS) {
441
                this.vTribCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribCBS, "Valor do Tributo da CBS calculado");
×
442
        }
×
443
    
444
  }
445

446
  //UB21 // UB40
447
  public static class GDif extends DFBase {
×
448

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

451
    @Element(required = true)
452
    private String pDif; // UB22 // UB41
453

454
    @Element(required = true)
455
    private String vDif; // UB23 // UB42
456

457
    public String getPDif() {
458
      return pDif;
×
459
    }
460

461
    public void setPDif(BigDecimal pDif) {
462
      this.pDif = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pDif, "Percentual do diferimento");
×
463
    }
×
464

465
    public String getVDif() {
466
      return vDif;
×
467
    }
468

469
    public void setVDif(BigDecimal vDif) {
470
      this.vDif = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDif, "Valor do Diferimento");
×
471
    }
×
472

473
  }
474

475
  // UB24 // UB43
476
  public static class GDevTrib extends DFBase {
×
477

478
    private static final long serialVersionUID = -366525684939456789L;
479

480
    @Element(required = true)
481
    private String vDevTrib; // UB25 // UB44
482

483
    public String getVDevTrib() {
484
      return vDevTrib;
×
485
    }
486

487
    public void setVDevTrib(BigDecimal vDevTrib) {
488
      this.vDevTrib = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDevTrib, "Valor do tributo devolvido");
×
489
    }
×
490

491
  }
492

493
  // UB26 // UB45
494
  public static class GRed extends DFBase {
×
495

496
    private static final long serialVersionUID = -366528394939258789L;
497

498
    @Element(required = true)
499
    private String pRedAliq; // UB27 // UB46
500

501
    @Element(required = true)
502
    private String pAliqEfet; // UB28 // UB47
503

504
    public String getPRedAliq() {
505
      return pRedAliq;
×
506
    }
507

508
    public void setPRedAliq(BigDecimal pRedAliq) {
509
      this.pRedAliq = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pRedAliq, "Percentual da redução de alíquota do cClassTrib");
×
510
    }
×
511

512
    public String getPAliqEfet() {
513
      return pAliqEfet;
×
514
    }
515

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

520
  }
521

522
}
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