Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
695 blopes 1
 
2
package br.com.swconsultoria.nfe.schema.resnfe;
3
 
4
import javax.xml.bind.annotation.XmlAccessType;
5
import javax.xml.bind.annotation.XmlAccessorType;
6
import javax.xml.bind.annotation.XmlAttribute;
7
import javax.xml.bind.annotation.XmlElement;
8
import javax.xml.bind.annotation.XmlRootElement;
9
import javax.xml.bind.annotation.XmlType;
10
 
11
 
12
/**
13
 * <p>Classe Java de anonymous complex type.
14
 *
15
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
16
 *
17
 * <pre>
18
 * &lt;complexType&gt;
19
 *   &lt;complexContent&gt;
20
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
21
 *       &lt;sequence&gt;
22
 *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
23
 *         &lt;choice&gt;
24
 *           &lt;element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/&gt;
25
 *           &lt;element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/&gt;
26
 *         &lt;/choice&gt;
27
 *         &lt;element name="xNome"&gt;
28
 *           &lt;simpleType&gt;
29
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
30
 *               &lt;maxLength value="60"/&gt;
31
 *               &lt;minLength value="2"/&gt;
32
 *             &lt;/restriction&gt;
33
 *           &lt;/simpleType&gt;
34
 *         &lt;/element&gt;
35
 *         &lt;element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/&gt;
36
 *         &lt;element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
37
 *         &lt;element name="tpNF"&gt;
38
 *           &lt;simpleType&gt;
39
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
40
 *               &lt;whiteSpace value="preserve"/&gt;
41
 *               &lt;enumeration value="0"/&gt;
42
 *               &lt;enumeration value="1"/&gt;
43
 *             &lt;/restriction&gt;
44
 *           &lt;/simpleType&gt;
45
 *         &lt;/element&gt;
46
 *         &lt;element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/&gt;
47
 *         &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
48
 *         &lt;element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
49
 *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt"/&gt;
50
 *         &lt;element name="cSitNFe"&gt;
51
 *           &lt;simpleType&gt;
52
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
53
 *               &lt;whiteSpace value="preserve"/&gt;
54
 *               &lt;enumeration value="1"/&gt;
55
 *               &lt;enumeration value="2"/&gt;
56
 *               &lt;enumeration value="3"/&gt;
57
 *             &lt;/restriction&gt;
58
 *           &lt;/simpleType&gt;
59
 *         &lt;/element&gt;
60
 *       &lt;/sequence&gt;
61
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerResNFe" /&gt;
62
 *     &lt;/restriction&gt;
63
 *   &lt;/complexContent&gt;
64
 * &lt;/complexType&gt;
65
 * </pre>
66
 *
67
 *
68
 */
69
@XmlAccessorType(XmlAccessType.FIELD)
70
@XmlType(name = "", propOrder = {
71
    "chNFe",
72
    "cnpj",
73
    "cpf",
74
    "xNome",
75
    "ie",
76
    "dhEmi",
77
    "tpNF",
78
    "vnf",
79
    "digVal",
80
    "dhRecbto",
81
    "nProt",
82
    "cSitNFe"
83
})
84
@XmlRootElement(name = "resNFe", namespace = "http://www.portalfiscal.inf.br/nfe")
85
public class ResNFe {
86
 
87
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
88
    protected String chNFe;
89
    @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe")
90
    protected String cnpj;
91
    @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe")
92
    protected String cpf;
93
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
94
    protected String xNome;
95
    @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
96
    protected String ie;
97
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
98
    protected String dhEmi;
99
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
100
    protected String tpNF;
101
    @XmlElement(name = "vNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
102
    protected String vnf;
103
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
104
    protected byte[] digVal;
105
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
106
    protected String dhRecbto;
107
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
108
    protected String nProt;
109
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
110
    protected String cSitNFe;
111
    @XmlAttribute(name = "versao", required = true)
112
    protected String versao;
113
 
114
    /**
115
     * Obtém o valor da propriedade chNFe.
116
     *
117
     * @return
118
     *     possible object is
119
     *     {@link String }
120
     *    
121
     */
122
    public String getChNFe() {
123
        return chNFe;
124
    }
125
 
126
    /**
127
     * Define o valor da propriedade chNFe.
128
     *
129
     * @param value
130
     *     allowed object is
131
     *     {@link String }
132
     *    
133
     */
134
    public void setChNFe(String value) {
135
        this.chNFe = value;
136
    }
137
 
138
    /**
139
     * Obtém o valor da propriedade cnpj.
140
     *
141
     * @return
142
     *     possible object is
143
     *     {@link String }
144
     *    
145
     */
146
    public String getCNPJ() {
147
        return cnpj;
148
    }
149
 
150
    /**
151
     * Define o valor da propriedade cnpj.
152
     *
153
     * @param value
154
     *     allowed object is
155
     *     {@link String }
156
     *    
157
     */
158
    public void setCNPJ(String value) {
159
        this.cnpj = value;
160
    }
161
 
162
    /**
163
     * Obtém o valor da propriedade cpf.
164
     *
165
     * @return
166
     *     possible object is
167
     *     {@link String }
168
     *    
169
     */
170
    public String getCPF() {
171
        return cpf;
172
    }
173
 
174
    /**
175
     * Define o valor da propriedade cpf.
176
     *
177
     * @param value
178
     *     allowed object is
179
     *     {@link String }
180
     *    
181
     */
182
    public void setCPF(String value) {
183
        this.cpf = value;
184
    }
185
 
186
    /**
187
     * Obtém o valor da propriedade xNome.
188
     *
189
     * @return
190
     *     possible object is
191
     *     {@link String }
192
     *    
193
     */
194
    public String getXNome() {
195
        return xNome;
196
    }
197
 
198
    /**
199
     * Define o valor da propriedade xNome.
200
     *
201
     * @param value
202
     *     allowed object is
203
     *     {@link String }
204
     *    
205
     */
206
    public void setXNome(String value) {
207
        this.xNome = value;
208
    }
209
 
210
    /**
211
     * Obtém o valor da propriedade ie.
212
     *
213
     * @return
214
     *     possible object is
215
     *     {@link String }
216
     *    
217
     */
218
    public String getIE() {
219
        return ie;
220
    }
221
 
222
    /**
223
     * Define o valor da propriedade ie.
224
     *
225
     * @param value
226
     *     allowed object is
227
     *     {@link String }
228
     *    
229
     */
230
    public void setIE(String value) {
231
        this.ie = value;
232
    }
233
 
234
    /**
235
     * Obtém o valor da propriedade dhEmi.
236
     *
237
     * @return
238
     *     possible object is
239
     *     {@link String }
240
     *    
241
     */
242
    public String getDhEmi() {
243
        return dhEmi;
244
    }
245
 
246
    /**
247
     * Define o valor da propriedade dhEmi.
248
     *
249
     * @param value
250
     *     allowed object is
251
     *     {@link String }
252
     *    
253
     */
254
    public void setDhEmi(String value) {
255
        this.dhEmi = value;
256
    }
257
 
258
    /**
259
     * Obtém o valor da propriedade tpNF.
260
     *
261
     * @return
262
     *     possible object is
263
     *     {@link String }
264
     *    
265
     */
266
    public String getTpNF() {
267
        return tpNF;
268
    }
269
 
270
    /**
271
     * Define o valor da propriedade tpNF.
272
     *
273
     * @param value
274
     *     allowed object is
275
     *     {@link String }
276
     *    
277
     */
278
    public void setTpNF(String value) {
279
        this.tpNF = value;
280
    }
281
 
282
    /**
283
     * Obtém o valor da propriedade vnf.
284
     *
285
     * @return
286
     *     possible object is
287
     *     {@link String }
288
     *    
289
     */
290
    public String getVNF() {
291
        return vnf;
292
    }
293
 
294
    /**
295
     * Define o valor da propriedade vnf.
296
     *
297
     * @param value
298
     *     allowed object is
299
     *     {@link String }
300
     *    
301
     */
302
    public void setVNF(String value) {
303
        this.vnf = value;
304
    }
305
 
306
    /**
307
     * Obtém o valor da propriedade digVal.
308
     *
309
     * @return
310
     *     possible object is
311
     *     byte[]
312
     */
313
    public byte[] getDigVal() {
314
        return digVal;
315
    }
316
 
317
    /**
318
     * Define o valor da propriedade digVal.
319
     *
320
     * @param value
321
     *     allowed object is
322
     *     byte[]
323
     */
324
    public void setDigVal(byte[] value) {
325
        this.digVal = value;
326
    }
327
 
328
    /**
329
     * Obtém o valor da propriedade dhRecbto.
330
     *
331
     * @return
332
     *     possible object is
333
     *     {@link String }
334
     *    
335
     */
336
    public String getDhRecbto() {
337
        return dhRecbto;
338
    }
339
 
340
    /**
341
     * Define o valor da propriedade dhRecbto.
342
     *
343
     * @param value
344
     *     allowed object is
345
     *     {@link String }
346
     *    
347
     */
348
    public void setDhRecbto(String value) {
349
        this.dhRecbto = value;
350
    }
351
 
352
    /**
353
     * Obtém o valor da propriedade nProt.
354
     *
355
     * @return
356
     *     possible object is
357
     *     {@link String }
358
     *    
359
     */
360
    public String getNProt() {
361
        return nProt;
362
    }
363
 
364
    /**
365
     * Define o valor da propriedade nProt.
366
     *
367
     * @param value
368
     *     allowed object is
369
     *     {@link String }
370
     *    
371
     */
372
    public void setNProt(String value) {
373
        this.nProt = value;
374
    }
375
 
376
    /**
377
     * Obtém o valor da propriedade cSitNFe.
378
     *
379
     * @return
380
     *     possible object is
381
     *     {@link String }
382
     *    
383
     */
384
    public String getCSitNFe() {
385
        return cSitNFe;
386
    }
387
 
388
    /**
389
     * Define o valor da propriedade cSitNFe.
390
     *
391
     * @param value
392
     *     allowed object is
393
     *     {@link String }
394
     *    
395
     */
396
    public void setCSitNFe(String value) {
397
        this.cSitNFe = value;
398
    }
399
 
400
    /**
401
     * Obtém o valor da propriedade versao.
402
     *
403
     * @return
404
     *     possible object is
405
     *     {@link String }
406
     *    
407
     */
408
    public String getVersao() {
409
        return versao;
410
    }
411
 
412
    /**
413
     * Define o valor da propriedade versao.
414
     *
415
     * @param value
416
     *     allowed object is
417
     *     {@link String }
418
     *    
419
     */
420
    public void setVersao(String value) {
421
        this.versao = value;
422
    }
423
 
424
}