Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
414 espaco 1
 
2
package br.com.swconsultoria.nfe.schema.envcce;
3
 
4
import javax.xml.bind.annotation.*;
5
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
6
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
7
 
8
 
9
/**
10
 * Tipo Evento
11
 *
12
 * <p>Classe Java de TEvento complex type.
13
 *
14
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
15
 *
16
 * <pre>
17
 * &lt;complexType name="TEvento"&gt;
18
 *   &lt;complexContent&gt;
19
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
20
 *       &lt;sequence&gt;
21
 *         &lt;element name="infEvento"&gt;
22
 *           &lt;complexType&gt;
23
 *             &lt;complexContent&gt;
24
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
25
 *                 &lt;sequence&gt;
26
 *                   &lt;element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/&gt;
27
 *                   &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
28
 *                   &lt;choice&gt;
29
 *                     &lt;element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/&gt;
30
 *                     &lt;element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/&gt;
31
 *                   &lt;/choice&gt;
32
 *                   &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
33
 *                   &lt;element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
34
 *                   &lt;element name="tpEvento"&gt;
35
 *                     &lt;simpleType&gt;
36
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
37
 *                         &lt;whiteSpace value="preserve"/&gt;
38
 *                         &lt;pattern value="[0-9]{6}"/&gt;
39
 *                         &lt;enumeration value="110110"/&gt;
40
 *                       &lt;/restriction&gt;
41
 *                     &lt;/simpleType&gt;
42
 *                   &lt;/element&gt;
43
 *                   &lt;element name="nSeqEvento"&gt;
44
 *                     &lt;simpleType&gt;
45
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
46
 *                         &lt;whiteSpace value="preserve"/&gt;
47
 *                         &lt;pattern value="[1-9]|[1][0-9]{0,1}|20"/&gt;
48
 *                       &lt;/restriction&gt;
49
 *                     &lt;/simpleType&gt;
50
 *                   &lt;/element&gt;
51
 *                   &lt;element name="verEvento"&gt;
52
 *                     &lt;simpleType&gt;
53
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
54
 *                         &lt;whiteSpace value="preserve"/&gt;
55
 *                         &lt;enumeration value="1.00"/&gt;
56
 *                       &lt;/restriction&gt;
57
 *                     &lt;/simpleType&gt;
58
 *                   &lt;/element&gt;
59
 *                   &lt;element name="detEvento"&gt;
60
 *                     &lt;complexType&gt;
61
 *                       &lt;complexContent&gt;
62
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
63
 *                           &lt;sequence&gt;
64
 *                             &lt;element name="descEvento"&gt;
65
 *                               &lt;simpleType&gt;
66
 *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
67
 *                                   &lt;whiteSpace value="preserve"/&gt;
68
 *                                   &lt;enumeration value="Carta de Correção"/&gt;
69
 *                                   &lt;enumeration value="Carta de Correcao"/&gt;
70
 *                                 &lt;/restriction&gt;
71
 *                               &lt;/simpleType&gt;
72
 *                             &lt;/element&gt;
73
 *                             &lt;element name="xCorrecao"&gt;
74
 *                               &lt;simpleType&gt;
75
 *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
76
 *                                   &lt;whiteSpace value="preserve"/&gt;
77
 *                                   &lt;minLength value="15"/&gt;
78
 *                                   &lt;maxLength value="1000"/&gt;
79
 *                                   &lt;pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/&gt;
80
 *                                 &lt;/restriction&gt;
81
 *                               &lt;/simpleType&gt;
82
 *                             &lt;/element&gt;
83
 *                             &lt;element name="xCondUso"&gt;
84
 *                               &lt;simpleType&gt;
85
 *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
86
 *                                   &lt;whiteSpace value="preserve"/&gt;
87
 *                                   &lt;enumeration value="A Carta de Correção é disciplinada pelo § 1º-A do art. 7º do Convênio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularização de erro ocorrido na emissão de documento fiscal, desde que o erro não esteja relacionado com: I - as variáveis que determinam o valor do imposto tais como: base de cálculo, alíquota, diferença de preço, quantidade, valor da operação ou da prestação; II - a correção de dados cadastrais que implique mudança do remetente ou do destinatário; III - a data de emissão ou de saída."/&gt;
88
 *                                   &lt;enumeration value="A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida."/&gt;
89
 *                                 &lt;/restriction&gt;
90
 *                               &lt;/simpleType&gt;
91
 *                             &lt;/element&gt;
92
 *                           &lt;/sequence&gt;
93
 *                           &lt;attribute name="versao" use="required"&gt;
94
 *                             &lt;simpleType&gt;
95
 *                               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
96
 *                                 &lt;whiteSpace value="preserve"/&gt;
97
 *                                 &lt;enumeration value="1.00"/&gt;
98
 *                               &lt;/restriction&gt;
99
 *                             &lt;/simpleType&gt;
100
 *                           &lt;/attribute&gt;
101
 *                         &lt;/restriction&gt;
102
 *                       &lt;/complexContent&gt;
103
 *                     &lt;/complexType&gt;
104
 *                   &lt;/element&gt;
105
 *                 &lt;/sequence&gt;
106
 *                 &lt;attribute name="Id" use="required"&gt;
107
 *                   &lt;simpleType&gt;
108
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}ID"&gt;
109
 *                       &lt;pattern value="ID[0-9]{52}"/&gt;
110
 *                     &lt;/restriction&gt;
111
 *                   &lt;/simpleType&gt;
112
 *                 &lt;/attribute&gt;
113
 *               &lt;/restriction&gt;
114
 *             &lt;/complexContent&gt;
115
 *           &lt;/complexType&gt;
116
 *         &lt;/element&gt;
117
 *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/&gt;
118
 *       &lt;/sequence&gt;
119
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" /&gt;
120
 *     &lt;/restriction&gt;
121
 *   &lt;/complexContent&gt;
122
 * &lt;/complexType&gt;
123
 * </pre>
124
 *
125
 *
126
 */
127
@XmlAccessorType(XmlAccessType.FIELD)
128
@XmlType(name = "TEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
129
    "infEvento",
130
    "signature"
131
})
132
public class TEvento {
133
 
134
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
135
    protected TEvento.InfEvento infEvento;
136
    @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true)
137
    protected SignatureType signature;
138
    @XmlAttribute(name = "versao", required = true)
139
    protected String versao;
140
 
141
    /**
142
     * Obtém o valor da propriedade infEvento.
143
     *
144
     * @return
145
     *     possible object is
146
     *     {@link TEvento.InfEvento }
147
     *    
148
     */
149
    public TEvento.InfEvento getInfEvento() {
150
        return infEvento;
151
    }
152
 
153
    /**
154
     * Define o valor da propriedade infEvento.
155
     *
156
     * @param value
157
     *     allowed object is
158
     *     {@link TEvento.InfEvento }
159
     *    
160
     */
161
    public void setInfEvento(TEvento.InfEvento value) {
162
        this.infEvento = value;
163
    }
164
 
165
    /**
166
     * Obtém o valor da propriedade signature.
167
     *
168
     * @return
169
     *     possible object is
170
     *     {@link SignatureType }
171
     *    
172
     */
173
    public SignatureType getSignature() {
174
        return signature;
175
    }
176
 
177
    /**
178
     * Define o valor da propriedade signature.
179
     *
180
     * @param value
181
     *     allowed object is
182
     *     {@link SignatureType }
183
     *    
184
     */
185
    public void setSignature(SignatureType value) {
186
        this.signature = value;
187
    }
188
 
189
    /**
190
     * Obtém o valor da propriedade versao.
191
     *
192
     * @return
193
     *     possible object is
194
     *     {@link String }
195
     *    
196
     */
197
    public String getVersao() {
198
        return versao;
199
    }
200
 
201
    /**
202
     * Define o valor da propriedade versao.
203
     *
204
     * @param value
205
     *     allowed object is
206
     *     {@link String }
207
     *    
208
     */
209
    public void setVersao(String value) {
210
        this.versao = value;
211
    }
212
 
213
 
214
    /**
215
     * <p>Classe Java de anonymous complex type.
216
     *
217
     * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
218
     *
219
     * <pre>
220
     * &lt;complexType&gt;
221
     *   &lt;complexContent&gt;
222
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
223
     *       &lt;sequence&gt;
224
     *         &lt;element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/&gt;
225
     *         &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
226
     *         &lt;choice&gt;
227
     *           &lt;element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/&gt;
228
     *           &lt;element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/&gt;
229
     *         &lt;/choice&gt;
230
     *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
231
     *         &lt;element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
232
     *         &lt;element name="tpEvento"&gt;
233
     *           &lt;simpleType&gt;
234
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
235
     *               &lt;whiteSpace value="preserve"/&gt;
236
     *               &lt;pattern value="[0-9]{6}"/&gt;
237
     *               &lt;enumeration value="110110"/&gt;
238
     *             &lt;/restriction&gt;
239
     *           &lt;/simpleType&gt;
240
     *         &lt;/element&gt;
241
     *         &lt;element name="nSeqEvento"&gt;
242
     *           &lt;simpleType&gt;
243
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
244
     *               &lt;whiteSpace value="preserve"/&gt;
245
     *               &lt;pattern value="[1-9]|[1][0-9]{0,1}|20"/&gt;
246
     *             &lt;/restriction&gt;
247
     *           &lt;/simpleType&gt;
248
     *         &lt;/element&gt;
249
     *         &lt;element name="verEvento"&gt;
250
     *           &lt;simpleType&gt;
251
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
252
     *               &lt;whiteSpace value="preserve"/&gt;
253
     *               &lt;enumeration value="1.00"/&gt;
254
     *             &lt;/restriction&gt;
255
     *           &lt;/simpleType&gt;
256
     *         &lt;/element&gt;
257
     *         &lt;element name="detEvento"&gt;
258
     *           &lt;complexType&gt;
259
     *             &lt;complexContent&gt;
260
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
261
     *                 &lt;sequence&gt;
262
     *                   &lt;element name="descEvento"&gt;
263
     *                     &lt;simpleType&gt;
264
     *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
265
     *                         &lt;whiteSpace value="preserve"/&gt;
266
     *                         &lt;enumeration value="Carta de Correção"/&gt;
267
     *                         &lt;enumeration value="Carta de Correcao"/&gt;
268
     *                       &lt;/restriction&gt;
269
     *                     &lt;/simpleType&gt;
270
     *                   &lt;/element&gt;
271
     *                   &lt;element name="xCorrecao"&gt;
272
     *                     &lt;simpleType&gt;
273
     *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
274
     *                         &lt;whiteSpace value="preserve"/&gt;
275
     *                         &lt;minLength value="15"/&gt;
276
     *                         &lt;maxLength value="1000"/&gt;
277
     *                         &lt;pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/&gt;
278
     *                       &lt;/restriction&gt;
279
     *                     &lt;/simpleType&gt;
280
     *                   &lt;/element&gt;
281
     *                   &lt;element name="xCondUso"&gt;
282
     *                     &lt;simpleType&gt;
283
     *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
284
     *                         &lt;whiteSpace value="preserve"/&gt;
285
     *                         &lt;enumeration value="A Carta de Correção é disciplinada pelo § 1º-A do art. 7º do Convênio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularização de erro ocorrido na emissão de documento fiscal, desde que o erro não esteja relacionado com: I - as variáveis que determinam o valor do imposto tais como: base de cálculo, alíquota, diferença de preço, quantidade, valor da operação ou da prestação; II - a correção de dados cadastrais que implique mudança do remetente ou do destinatário; III - a data de emissão ou de saída."/&gt;
286
     *                         &lt;enumeration value="A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida."/&gt;
287
     *                       &lt;/restriction&gt;
288
     *                     &lt;/simpleType&gt;
289
     *                   &lt;/element&gt;
290
     *                 &lt;/sequence&gt;
291
     *                 &lt;attribute name="versao" use="required"&gt;
292
     *                   &lt;simpleType&gt;
293
     *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
294
     *                       &lt;whiteSpace value="preserve"/&gt;
295
     *                       &lt;enumeration value="1.00"/&gt;
296
     *                     &lt;/restriction&gt;
297
     *                   &lt;/simpleType&gt;
298
     *                 &lt;/attribute&gt;
299
     *               &lt;/restriction&gt;
300
     *             &lt;/complexContent&gt;
301
     *           &lt;/complexType&gt;
302
     *         &lt;/element&gt;
303
     *       &lt;/sequence&gt;
304
     *       &lt;attribute name="Id" use="required"&gt;
305
     *         &lt;simpleType&gt;
306
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}ID"&gt;
307
     *             &lt;pattern value="ID[0-9]{52}"/&gt;
308
     *           &lt;/restriction&gt;
309
     *         &lt;/simpleType&gt;
310
     *       &lt;/attribute&gt;
311
     *     &lt;/restriction&gt;
312
     *   &lt;/complexContent&gt;
313
     * &lt;/complexType&gt;
314
     * </pre>
315
     *
316
     *
317
     */
318
    @XmlAccessorType(XmlAccessType.FIELD)
319
    @XmlType(name = "", propOrder = {
320
        "cOrgao",
321
        "tpAmb",
322
        "cnpj",
323
        "cpf",
324
        "chNFe",
325
        "dhEvento",
326
        "tpEvento",
327
        "nSeqEvento",
328
        "verEvento",
329
        "detEvento"
330
    })
331
    public static class InfEvento {
332
 
333
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
334
        protected String cOrgao;
335
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
336
        protected String tpAmb;
337
        @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe")
338
        protected String cnpj;
339
        @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe")
340
        protected String cpf;
341
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
342
        protected String chNFe;
343
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
344
        protected String dhEvento;
345
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
346
        protected String tpEvento;
347
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
348
        protected String nSeqEvento;
349
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
350
        protected String verEvento;
351
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
352
        protected TEvento.InfEvento.DetEvento detEvento;
353
        @XmlAttribute(name = "Id", required = true)
354
        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
355
        @XmlID
356
        protected String id;
357
 
358
        /**
359
         * Obtém o valor da propriedade cOrgao.
360
         *
361
         * @return
362
         *     possible object is
363
         *     {@link String }
364
         *    
365
         */
366
        public String getCOrgao() {
367
            return cOrgao;
368
        }
369
 
370
        /**
371
         * Define o valor da propriedade cOrgao.
372
         *
373
         * @param value
374
         *     allowed object is
375
         *     {@link String }
376
         *    
377
         */
378
        public void setCOrgao(String value) {
379
            this.cOrgao = value;
380
        }
381
 
382
        /**
383
         * Obtém o valor da propriedade tpAmb.
384
         *
385
         * @return
386
         *     possible object is
387
         *     {@link String }
388
         *    
389
         */
390
        public String getTpAmb() {
391
            return tpAmb;
392
        }
393
 
394
        /**
395
         * Define o valor da propriedade tpAmb.
396
         *
397
         * @param value
398
         *     allowed object is
399
         *     {@link String }
400
         *    
401
         */
402
        public void setTpAmb(String value) {
403
            this.tpAmb = value;
404
        }
405
 
406
        /**
407
         * Obtém o valor da propriedade cnpj.
408
         *
409
         * @return
410
         *     possible object is
411
         *     {@link String }
412
         *    
413
         */
414
        public String getCNPJ() {
415
            return cnpj;
416
        }
417
 
418
        /**
419
         * Define o valor da propriedade cnpj.
420
         *
421
         * @param value
422
         *     allowed object is
423
         *     {@link String }
424
         *    
425
         */
426
        public void setCNPJ(String value) {
427
            this.cnpj = value;
428
        }
429
 
430
        /**
431
         * Obtém o valor da propriedade cpf.
432
         *
433
         * @return
434
         *     possible object is
435
         *     {@link String }
436
         *    
437
         */
438
        public String getCPF() {
439
            return cpf;
440
        }
441
 
442
        /**
443
         * Define o valor da propriedade cpf.
444
         *
445
         * @param value
446
         *     allowed object is
447
         *     {@link String }
448
         *    
449
         */
450
        public void setCPF(String value) {
451
            this.cpf = value;
452
        }
453
 
454
        /**
455
         * Obtém o valor da propriedade chNFe.
456
         *
457
         * @return
458
         *     possible object is
459
         *     {@link String }
460
         *    
461
         */
462
        public String getChNFe() {
463
            return chNFe;
464
        }
465
 
466
        /**
467
         * Define o valor da propriedade chNFe.
468
         *
469
         * @param value
470
         *     allowed object is
471
         *     {@link String }
472
         *    
473
         */
474
        public void setChNFe(String value) {
475
            this.chNFe = value;
476
        }
477
 
478
        /**
479
         * Obtém o valor da propriedade dhEvento.
480
         *
481
         * @return
482
         *     possible object is
483
         *     {@link String }
484
         *    
485
         */
486
        public String getDhEvento() {
487
            return dhEvento;
488
        }
489
 
490
        /**
491
         * Define o valor da propriedade dhEvento.
492
         *
493
         * @param value
494
         *     allowed object is
495
         *     {@link String }
496
         *    
497
         */
498
        public void setDhEvento(String value) {
499
            this.dhEvento = value;
500
        }
501
 
502
        /**
503
         * Obtém o valor da propriedade tpEvento.
504
         *
505
         * @return
506
         *     possible object is
507
         *     {@link String }
508
         *    
509
         */
510
        public String getTpEvento() {
511
            return tpEvento;
512
        }
513
 
514
        /**
515
         * Define o valor da propriedade tpEvento.
516
         *
517
         * @param value
518
         *     allowed object is
519
         *     {@link String }
520
         *    
521
         */
522
        public void setTpEvento(String value) {
523
            this.tpEvento = value;
524
        }
525
 
526
        /**
527
         * Obtém o valor da propriedade nSeqEvento.
528
         *
529
         * @return
530
         *     possible object is
531
         *     {@link String }
532
         *    
533
         */
534
        public String getNSeqEvento() {
535
            return nSeqEvento;
536
        }
537
 
538
        /**
539
         * Define o valor da propriedade nSeqEvento.
540
         *
541
         * @param value
542
         *     allowed object is
543
         *     {@link String }
544
         *    
545
         */
546
        public void setNSeqEvento(String value) {
547
            this.nSeqEvento = value;
548
        }
549
 
550
        /**
551
         * Obtém o valor da propriedade verEvento.
552
         *
553
         * @return
554
         *     possible object is
555
         *     {@link String }
556
         *    
557
         */
558
        public String getVerEvento() {
559
            return verEvento;
560
        }
561
 
562
        /**
563
         * Define o valor da propriedade verEvento.
564
         *
565
         * @param value
566
         *     allowed object is
567
         *     {@link String }
568
         *    
569
         */
570
        public void setVerEvento(String value) {
571
            this.verEvento = value;
572
        }
573
 
574
        /**
575
         * Obtém o valor da propriedade detEvento.
576
         *
577
         * @return
578
         *     possible object is
579
         *     {@link TEvento.InfEvento.DetEvento }
580
         *    
581
         */
582
        public TEvento.InfEvento.DetEvento getDetEvento() {
583
            return detEvento;
584
        }
585
 
586
        /**
587
         * Define o valor da propriedade detEvento.
588
         *
589
         * @param value
590
         *     allowed object is
591
         *     {@link TEvento.InfEvento.DetEvento }
592
         *    
593
         */
594
        public void setDetEvento(TEvento.InfEvento.DetEvento value) {
595
            this.detEvento = value;
596
        }
597
 
598
        /**
599
         * Obtém o valor da propriedade id.
600
         *
601
         * @return
602
         *     possible object is
603
         *     {@link String }
604
         *    
605
         */
606
        public String getId() {
607
            return id;
608
        }
609
 
610
        /**
611
         * Define o valor da propriedade id.
612
         *
613
         * @param value
614
         *     allowed object is
615
         *     {@link String }
616
         *    
617
         */
618
        public void setId(String value) {
619
            this.id = value;
620
        }
621
 
622
 
623
        /**
624
         * <p>Classe Java de anonymous complex type.
625
         *
626
         * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
627
         *
628
         * <pre>
629
         * &lt;complexType&gt;
630
         *   &lt;complexContent&gt;
631
         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
632
         *       &lt;sequence&gt;
633
         *         &lt;element name="descEvento"&gt;
634
         *           &lt;simpleType&gt;
635
         *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
636
         *               &lt;whiteSpace value="preserve"/&gt;
637
         *               &lt;enumeration value="Carta de Correção"/&gt;
638
         *               &lt;enumeration value="Carta de Correcao"/&gt;
639
         *             &lt;/restriction&gt;
640
         *           &lt;/simpleType&gt;
641
         *         &lt;/element&gt;
642
         *         &lt;element name="xCorrecao"&gt;
643
         *           &lt;simpleType&gt;
644
         *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
645
         *               &lt;whiteSpace value="preserve"/&gt;
646
         *               &lt;minLength value="15"/&gt;
647
         *               &lt;maxLength value="1000"/&gt;
648
         *               &lt;pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/&gt;
649
         *             &lt;/restriction&gt;
650
         *           &lt;/simpleType&gt;
651
         *         &lt;/element&gt;
652
         *         &lt;element name="xCondUso"&gt;
653
         *           &lt;simpleType&gt;
654
         *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
655
         *               &lt;whiteSpace value="preserve"/&gt;
656
         *               &lt;enumeration value="A Carta de Correção é disciplinada pelo § 1º-A do art. 7º do Convênio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularização de erro ocorrido na emissão de documento fiscal, desde que o erro não esteja relacionado com: I - as variáveis que determinam o valor do imposto tais como: base de cálculo, alíquota, diferença de preço, quantidade, valor da operação ou da prestação; II - a correção de dados cadastrais que implique mudança do remetente ou do destinatário; III - a data de emissão ou de saída."/&gt;
657
         *               &lt;enumeration value="A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida."/&gt;
658
         *             &lt;/restriction&gt;
659
         *           &lt;/simpleType&gt;
660
         *         &lt;/element&gt;
661
         *       &lt;/sequence&gt;
662
         *       &lt;attribute name="versao" use="required"&gt;
663
         *         &lt;simpleType&gt;
664
         *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
665
         *             &lt;whiteSpace value="preserve"/&gt;
666
         *             &lt;enumeration value="1.00"/&gt;
667
         *           &lt;/restriction&gt;
668
         *         &lt;/simpleType&gt;
669
         *       &lt;/attribute&gt;
670
         *     &lt;/restriction&gt;
671
         *   &lt;/complexContent&gt;
672
         * &lt;/complexType&gt;
673
         * </pre>
674
         *
675
         *
676
         */
677
        @XmlAccessorType(XmlAccessType.FIELD)
678
        @XmlType(name = "", propOrder = {
679
            "descEvento",
680
            "xCorrecao",
681
            "xCondUso"
682
        })
683
        public static class DetEvento {
684
 
685
            @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
686
            protected String descEvento;
687
            @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
688
            protected String xCorrecao;
689
            @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
690
            protected String xCondUso;
691
            @XmlAttribute(name = "versao", required = true)
692
            protected String versao;
693
 
694
            /**
695
             * Obtém o valor da propriedade descEvento.
696
             *
697
             * @return
698
             *     possible object is
699
             *     {@link String }
700
             *    
701
             */
702
            public String getDescEvento() {
703
                return descEvento;
704
            }
705
 
706
            /**
707
             * Define o valor da propriedade descEvento.
708
             *
709
             * @param value
710
             *     allowed object is
711
             *     {@link String }
712
             *    
713
             */
714
            public void setDescEvento(String value) {
715
                this.descEvento = value;
716
            }
717
 
718
            /**
719
             * Obtém o valor da propriedade xCorrecao.
720
             *
721
             * @return
722
             *     possible object is
723
             *     {@link String }
724
             *    
725
             */
726
            public String getXCorrecao() {
727
                return xCorrecao;
728
            }
729
 
730
            /**
731
             * Define o valor da propriedade xCorrecao.
732
             *
733
             * @param value
734
             *     allowed object is
735
             *     {@link String }
736
             *    
737
             */
738
            public void setXCorrecao(String value) {
739
                this.xCorrecao = value;
740
            }
741
 
742
            /**
743
             * Obtém o valor da propriedade xCondUso.
744
             *
745
             * @return
746
             *     possible object is
747
             *     {@link String }
748
             *    
749
             */
750
            public String getXCondUso() {
751
                return xCondUso;
752
            }
753
 
754
            /**
755
             * Define o valor da propriedade xCondUso.
756
             *
757
             * @param value
758
             *     allowed object is
759
             *     {@link String }
760
             *    
761
             */
762
            public void setXCondUso(String value) {
763
                this.xCondUso = value;
764
            }
765
 
766
            /**
767
             * Obtém o valor da propriedade versao.
768
             *
769
             * @return
770
             *     possible object is
771
             *     {@link String }
772
             *    
773
             */
774
            public String getVersao() {
775
                return versao;
776
            }
777
 
778
            /**
779
             * Define o valor da propriedade versao.
780
             *
781
             * @param value
782
             *     allowed object is
783
             *     {@link String }
784
             *    
785
             */
786
            public void setVersao(String value) {
787
                this.versao = value;
788
            }
789
 
790
        }
791
 
792
    }
793
 
794
}