Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 695 | blopes | 1 | |
| 2 | package br.com.swconsultoria.nfe.schema.retEnvEventoAtorInteressado; |
||
| 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.XmlID; |
||
| 9 | import javax.xml.bind.annotation.XmlType; |
||
| 10 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
||
| 11 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
||
| 12 | |||
| 13 | |||
| 14 | /** |
||
| 15 | * Tipo Evento |
||
| 16 | * |
||
| 17 | * <p>Classe Java de TEvento complex type. |
||
| 18 | * |
||
| 19 | * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. |
||
| 20 | * |
||
| 21 | * <pre> |
||
| 22 | * <complexType name="TEvento"> |
||
| 23 | * <complexContent> |
||
| 24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 25 | * <sequence> |
||
| 26 | * <element name="infEvento"> |
||
| 27 | * <complexType> |
||
| 28 | * <complexContent> |
||
| 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 30 | * <sequence> |
||
| 31 | * <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/> |
||
| 32 | * <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/> |
||
| 33 | * <choice> |
||
| 34 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/> |
||
| 35 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 36 | * </choice> |
||
| 37 | * <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/> |
||
| 38 | * <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/> |
||
| 39 | * <element name="tpEvento"> |
||
| 40 | * <simpleType> |
||
| 41 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 42 | * <whiteSpace value="preserve"/> |
||
| 43 | * <pattern value="[0-9]{6}"/> |
||
| 44 | * <enumeration value="110150"/> |
||
| 45 | * </restriction> |
||
| 46 | * </simpleType> |
||
| 47 | * </element> |
||
| 48 | * <element name="nSeqEvento"> |
||
| 49 | * <simpleType> |
||
| 50 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 51 | * <whiteSpace value="preserve"/> |
||
| 52 | * <pattern value="[1-9]|[1][0-9]{0,1}|20"/> |
||
| 53 | * </restriction> |
||
| 54 | * </simpleType> |
||
| 55 | * </element> |
||
| 56 | * <element name="verEvento"> |
||
| 57 | * <simpleType> |
||
| 58 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 59 | * <whiteSpace value="preserve"/> |
||
| 60 | * <enumeration value="1.00"/> |
||
| 61 | * </restriction> |
||
| 62 | * </simpleType> |
||
| 63 | * </element> |
||
| 64 | * <element name="detEvento"> |
||
| 65 | * <complexType> |
||
| 66 | * <complexContent> |
||
| 67 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 68 | * <sequence> |
||
| 69 | * <element name="descEvento"> |
||
| 70 | * <simpleType> |
||
| 71 | * <restriction base="{http://www.portalfiscal.inf.br/nfe}TString"> |
||
| 72 | * <whiteSpace value="preserve"/> |
||
| 73 | * <enumeration value="Ator interessado na NF-e"/> |
||
| 74 | * </restriction> |
||
| 75 | * </simpleType> |
||
| 76 | * </element> |
||
| 77 | * <element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/> |
||
| 78 | * <element name="tpAutor"> |
||
| 79 | * <simpleType> |
||
| 80 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 81 | * <whiteSpace value="preserve"/> |
||
| 82 | * <enumeration value="1"/> |
||
| 83 | * <enumeration value="2"/> |
||
| 84 | * <enumeration value="3"/> |
||
| 85 | * </restriction> |
||
| 86 | * </simpleType> |
||
| 87 | * </element> |
||
| 88 | * <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/> |
||
| 89 | * <element name="autXML"> |
||
| 90 | * <complexType> |
||
| 91 | * <complexContent> |
||
| 92 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 93 | * <choice> |
||
| 94 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/> |
||
| 95 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 96 | * </choice> |
||
| 97 | * </restriction> |
||
| 98 | * </complexContent> |
||
| 99 | * </complexType> |
||
| 100 | * </element> |
||
| 101 | * <element name="tpAutorizacao" minOccurs="0"> |
||
| 102 | * <simpleType> |
||
| 103 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 104 | * <whiteSpace value="preserve"/> |
||
| 105 | * <enumeration value="0"/> |
||
| 106 | * <enumeration value="1"/> |
||
| 107 | * </restriction> |
||
| 108 | * </simpleType> |
||
| 109 | * </element> |
||
| 110 | * <element name="xCondUso" minOccurs="0"> |
||
| 111 | * <simpleType> |
||
| 112 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 113 | * <whiteSpace value="preserve"/> |
||
| 114 | * <enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/> |
||
| 115 | * </restriction> |
||
| 116 | * </simpleType> |
||
| 117 | * </element> |
||
| 118 | * </sequence> |
||
| 119 | * <attribute name="versao" use="required"> |
||
| 120 | * <simpleType> |
||
| 121 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 122 | * <whiteSpace value="preserve"/> |
||
| 123 | * <enumeration value="1.00"/> |
||
| 124 | * </restriction> |
||
| 125 | * </simpleType> |
||
| 126 | * </attribute> |
||
| 127 | * </restriction> |
||
| 128 | * </complexContent> |
||
| 129 | * </complexType> |
||
| 130 | * </element> |
||
| 131 | * </sequence> |
||
| 132 | * <attribute name="Id" use="required"> |
||
| 133 | * <simpleType> |
||
| 134 | * <restriction base="{http://www.w3.org/2001/XMLSchema}ID"> |
||
| 135 | * <pattern value="ID[0-9]{52}"/> |
||
| 136 | * </restriction> |
||
| 137 | * </simpleType> |
||
| 138 | * </attribute> |
||
| 139 | * </restriction> |
||
| 140 | * </complexContent> |
||
| 141 | * </complexType> |
||
| 142 | * </element> |
||
| 143 | * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> |
||
| 144 | * </sequence> |
||
| 145 | * <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" /> |
||
| 146 | * </restriction> |
||
| 147 | * </complexContent> |
||
| 148 | * </complexType> |
||
| 149 | * </pre> |
||
| 150 | * |
||
| 151 | * |
||
| 152 | */ |
||
| 153 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 154 | @XmlType(name = "TEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { |
||
| 155 | "infEvento", |
||
| 156 | "signature" |
||
| 157 | }) |
||
| 158 | public class TEvento { |
||
| 159 | |||
| 160 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 161 | protected TEvento.InfEvento infEvento; |
||
| 162 | @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) |
||
| 163 | protected SignatureType signature; |
||
| 164 | @XmlAttribute(name = "versao", required = true) |
||
| 165 | protected String versao; |
||
| 166 | |||
| 167 | /** |
||
| 168 | * Obtém o valor da propriedade infEvento. |
||
| 169 | * |
||
| 170 | * @return |
||
| 171 | * possible object is |
||
| 172 | * {@link TEvento.InfEvento } |
||
| 173 | * |
||
| 174 | */ |
||
| 175 | public TEvento.InfEvento getInfEvento() { |
||
| 176 | return infEvento; |
||
| 177 | } |
||
| 178 | |||
| 179 | /** |
||
| 180 | * Define o valor da propriedade infEvento. |
||
| 181 | * |
||
| 182 | * @param value |
||
| 183 | * allowed object is |
||
| 184 | * {@link TEvento.InfEvento } |
||
| 185 | * |
||
| 186 | */ |
||
| 187 | public void setInfEvento(TEvento.InfEvento value) { |
||
| 188 | this.infEvento = value; |
||
| 189 | } |
||
| 190 | |||
| 191 | /** |
||
| 192 | * Obtém o valor da propriedade signature. |
||
| 193 | * |
||
| 194 | * @return |
||
| 195 | * possible object is |
||
| 196 | * {@link SignatureType } |
||
| 197 | * |
||
| 198 | */ |
||
| 199 | public SignatureType getSignature() { |
||
| 200 | return signature; |
||
| 201 | } |
||
| 202 | |||
| 203 | /** |
||
| 204 | * Define o valor da propriedade signature. |
||
| 205 | * |
||
| 206 | * @param value |
||
| 207 | * allowed object is |
||
| 208 | * {@link SignatureType } |
||
| 209 | * |
||
| 210 | */ |
||
| 211 | public void setSignature(SignatureType value) { |
||
| 212 | this.signature = value; |
||
| 213 | } |
||
| 214 | |||
| 215 | /** |
||
| 216 | * Obtém o valor da propriedade versao. |
||
| 217 | * |
||
| 218 | * @return |
||
| 219 | * possible object is |
||
| 220 | * {@link String } |
||
| 221 | * |
||
| 222 | */ |
||
| 223 | public String getVersao() { |
||
| 224 | return versao; |
||
| 225 | } |
||
| 226 | |||
| 227 | /** |
||
| 228 | * Define o valor da propriedade versao. |
||
| 229 | * |
||
| 230 | * @param value |
||
| 231 | * allowed object is |
||
| 232 | * {@link String } |
||
| 233 | * |
||
| 234 | */ |
||
| 235 | public void setVersao(String value) { |
||
| 236 | this.versao = value; |
||
| 237 | } |
||
| 238 | |||
| 239 | |||
| 240 | /** |
||
| 241 | * <p>Classe Java de anonymous complex type. |
||
| 242 | * |
||
| 243 | * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. |
||
| 244 | * |
||
| 245 | * <pre> |
||
| 246 | * <complexType> |
||
| 247 | * <complexContent> |
||
| 248 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 249 | * <sequence> |
||
| 250 | * <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/> |
||
| 251 | * <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/> |
||
| 252 | * <choice> |
||
| 253 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/> |
||
| 254 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 255 | * </choice> |
||
| 256 | * <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/> |
||
| 257 | * <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/> |
||
| 258 | * <element name="tpEvento"> |
||
| 259 | * <simpleType> |
||
| 260 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 261 | * <whiteSpace value="preserve"/> |
||
| 262 | * <pattern value="[0-9]{6}"/> |
||
| 263 | * <enumeration value="110150"/> |
||
| 264 | * </restriction> |
||
| 265 | * </simpleType> |
||
| 266 | * </element> |
||
| 267 | * <element name="nSeqEvento"> |
||
| 268 | * <simpleType> |
||
| 269 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 270 | * <whiteSpace value="preserve"/> |
||
| 271 | * <pattern value="[1-9]|[1][0-9]{0,1}|20"/> |
||
| 272 | * </restriction> |
||
| 273 | * </simpleType> |
||
| 274 | * </element> |
||
| 275 | * <element name="verEvento"> |
||
| 276 | * <simpleType> |
||
| 277 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 278 | * <whiteSpace value="preserve"/> |
||
| 279 | * <enumeration value="1.00"/> |
||
| 280 | * </restriction> |
||
| 281 | * </simpleType> |
||
| 282 | * </element> |
||
| 283 | * <element name="detEvento"> |
||
| 284 | * <complexType> |
||
| 285 | * <complexContent> |
||
| 286 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 287 | * <sequence> |
||
| 288 | * <element name="descEvento"> |
||
| 289 | * <simpleType> |
||
| 290 | * <restriction base="{http://www.portalfiscal.inf.br/nfe}TString"> |
||
| 291 | * <whiteSpace value="preserve"/> |
||
| 292 | * <enumeration value="Ator interessado na NF-e"/> |
||
| 293 | * </restriction> |
||
| 294 | * </simpleType> |
||
| 295 | * </element> |
||
| 296 | * <element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/> |
||
| 297 | * <element name="tpAutor"> |
||
| 298 | * <simpleType> |
||
| 299 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 300 | * <whiteSpace value="preserve"/> |
||
| 301 | * <enumeration value="1"/> |
||
| 302 | * <enumeration value="2"/> |
||
| 303 | * <enumeration value="3"/> |
||
| 304 | * </restriction> |
||
| 305 | * </simpleType> |
||
| 306 | * </element> |
||
| 307 | * <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/> |
||
| 308 | * <element name="autXML"> |
||
| 309 | * <complexType> |
||
| 310 | * <complexContent> |
||
| 311 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 312 | * <choice> |
||
| 313 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/> |
||
| 314 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 315 | * </choice> |
||
| 316 | * </restriction> |
||
| 317 | * </complexContent> |
||
| 318 | * </complexType> |
||
| 319 | * </element> |
||
| 320 | * <element name="tpAutorizacao" minOccurs="0"> |
||
| 321 | * <simpleType> |
||
| 322 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 323 | * <whiteSpace value="preserve"/> |
||
| 324 | * <enumeration value="0"/> |
||
| 325 | * <enumeration value="1"/> |
||
| 326 | * </restriction> |
||
| 327 | * </simpleType> |
||
| 328 | * </element> |
||
| 329 | * <element name="xCondUso" minOccurs="0"> |
||
| 330 | * <simpleType> |
||
| 331 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 332 | * <whiteSpace value="preserve"/> |
||
| 333 | * <enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/> |
||
| 334 | * </restriction> |
||
| 335 | * </simpleType> |
||
| 336 | * </element> |
||
| 337 | * </sequence> |
||
| 338 | * <attribute name="versao" use="required"> |
||
| 339 | * <simpleType> |
||
| 340 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 341 | * <whiteSpace value="preserve"/> |
||
| 342 | * <enumeration value="1.00"/> |
||
| 343 | * </restriction> |
||
| 344 | * </simpleType> |
||
| 345 | * </attribute> |
||
| 346 | * </restriction> |
||
| 347 | * </complexContent> |
||
| 348 | * </complexType> |
||
| 349 | * </element> |
||
| 350 | * </sequence> |
||
| 351 | * <attribute name="Id" use="required"> |
||
| 352 | * <simpleType> |
||
| 353 | * <restriction base="{http://www.w3.org/2001/XMLSchema}ID"> |
||
| 354 | * <pattern value="ID[0-9]{52}"/> |
||
| 355 | * </restriction> |
||
| 356 | * </simpleType> |
||
| 357 | * </attribute> |
||
| 358 | * </restriction> |
||
| 359 | * </complexContent> |
||
| 360 | * </complexType> |
||
| 361 | * </pre> |
||
| 362 | * |
||
| 363 | * |
||
| 364 | */ |
||
| 365 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 366 | @XmlType(name = "", propOrder = { |
||
| 367 | "cOrgao", |
||
| 368 | "tpAmb", |
||
| 369 | "cnpj", |
||
| 370 | "cpf", |
||
| 371 | "chNFe", |
||
| 372 | "dhEvento", |
||
| 373 | "tpEvento", |
||
| 374 | "nSeqEvento", |
||
| 375 | "verEvento", |
||
| 376 | "detEvento" |
||
| 377 | }) |
||
| 378 | public static class InfEvento { |
||
| 379 | |||
| 380 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 381 | protected String cOrgao; |
||
| 382 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 383 | protected String tpAmb; |
||
| 384 | @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 385 | protected String cnpj; |
||
| 386 | @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 387 | protected String cpf; |
||
| 388 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 389 | protected String chNFe; |
||
| 390 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 391 | protected String dhEvento; |
||
| 392 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 393 | protected String tpEvento; |
||
| 394 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 395 | protected String nSeqEvento; |
||
| 396 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 397 | protected String verEvento; |
||
| 398 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 399 | protected TEvento.InfEvento.DetEvento detEvento; |
||
| 400 | @XmlAttribute(name = "Id", required = true) |
||
| 401 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
||
| 402 | @XmlID |
||
| 403 | protected String id; |
||
| 404 | |||
| 405 | /** |
||
| 406 | * Obtém o valor da propriedade cOrgao. |
||
| 407 | * |
||
| 408 | * @return |
||
| 409 | * possible object is |
||
| 410 | * {@link String } |
||
| 411 | * |
||
| 412 | */ |
||
| 413 | public String getCOrgao() { |
||
| 414 | return cOrgao; |
||
| 415 | } |
||
| 416 | |||
| 417 | /** |
||
| 418 | * Define o valor da propriedade cOrgao. |
||
| 419 | * |
||
| 420 | * @param value |
||
| 421 | * allowed object is |
||
| 422 | * {@link String } |
||
| 423 | * |
||
| 424 | */ |
||
| 425 | public void setCOrgao(String value) { |
||
| 426 | this.cOrgao = value; |
||
| 427 | } |
||
| 428 | |||
| 429 | /** |
||
| 430 | * Obtém o valor da propriedade tpAmb. |
||
| 431 | * |
||
| 432 | * @return |
||
| 433 | * possible object is |
||
| 434 | * {@link String } |
||
| 435 | * |
||
| 436 | */ |
||
| 437 | public String getTpAmb() { |
||
| 438 | return tpAmb; |
||
| 439 | } |
||
| 440 | |||
| 441 | /** |
||
| 442 | * Define o valor da propriedade tpAmb. |
||
| 443 | * |
||
| 444 | * @param value |
||
| 445 | * allowed object is |
||
| 446 | * {@link String } |
||
| 447 | * |
||
| 448 | */ |
||
| 449 | public void setTpAmb(String value) { |
||
| 450 | this.tpAmb = value; |
||
| 451 | } |
||
| 452 | |||
| 453 | /** |
||
| 454 | * Obtém o valor da propriedade cnpj. |
||
| 455 | * |
||
| 456 | * @return |
||
| 457 | * possible object is |
||
| 458 | * {@link String } |
||
| 459 | * |
||
| 460 | */ |
||
| 461 | public String getCNPJ() { |
||
| 462 | return cnpj; |
||
| 463 | } |
||
| 464 | |||
| 465 | /** |
||
| 466 | * Define o valor da propriedade cnpj. |
||
| 467 | * |
||
| 468 | * @param value |
||
| 469 | * allowed object is |
||
| 470 | * {@link String } |
||
| 471 | * |
||
| 472 | */ |
||
| 473 | public void setCNPJ(String value) { |
||
| 474 | this.cnpj = value; |
||
| 475 | } |
||
| 476 | |||
| 477 | /** |
||
| 478 | * Obtém o valor da propriedade cpf. |
||
| 479 | * |
||
| 480 | * @return |
||
| 481 | * possible object is |
||
| 482 | * {@link String } |
||
| 483 | * |
||
| 484 | */ |
||
| 485 | public String getCPF() { |
||
| 486 | return cpf; |
||
| 487 | } |
||
| 488 | |||
| 489 | /** |
||
| 490 | * Define o valor da propriedade cpf. |
||
| 491 | * |
||
| 492 | * @param value |
||
| 493 | * allowed object is |
||
| 494 | * {@link String } |
||
| 495 | * |
||
| 496 | */ |
||
| 497 | public void setCPF(String value) { |
||
| 498 | this.cpf = value; |
||
| 499 | } |
||
| 500 | |||
| 501 | /** |
||
| 502 | * Obtém o valor da propriedade chNFe. |
||
| 503 | * |
||
| 504 | * @return |
||
| 505 | * possible object is |
||
| 506 | * {@link String } |
||
| 507 | * |
||
| 508 | */ |
||
| 509 | public String getChNFe() { |
||
| 510 | return chNFe; |
||
| 511 | } |
||
| 512 | |||
| 513 | /** |
||
| 514 | * Define o valor da propriedade chNFe. |
||
| 515 | * |
||
| 516 | * @param value |
||
| 517 | * allowed object is |
||
| 518 | * {@link String } |
||
| 519 | * |
||
| 520 | */ |
||
| 521 | public void setChNFe(String value) { |
||
| 522 | this.chNFe = value; |
||
| 523 | } |
||
| 524 | |||
| 525 | /** |
||
| 526 | * Obtém o valor da propriedade dhEvento. |
||
| 527 | * |
||
| 528 | * @return |
||
| 529 | * possible object is |
||
| 530 | * {@link String } |
||
| 531 | * |
||
| 532 | */ |
||
| 533 | public String getDhEvento() { |
||
| 534 | return dhEvento; |
||
| 535 | } |
||
| 536 | |||
| 537 | /** |
||
| 538 | * Define o valor da propriedade dhEvento. |
||
| 539 | * |
||
| 540 | * @param value |
||
| 541 | * allowed object is |
||
| 542 | * {@link String } |
||
| 543 | * |
||
| 544 | */ |
||
| 545 | public void setDhEvento(String value) { |
||
| 546 | this.dhEvento = value; |
||
| 547 | } |
||
| 548 | |||
| 549 | /** |
||
| 550 | * Obtém o valor da propriedade tpEvento. |
||
| 551 | * |
||
| 552 | * @return |
||
| 553 | * possible object is |
||
| 554 | * {@link String } |
||
| 555 | * |
||
| 556 | */ |
||
| 557 | public String getTpEvento() { |
||
| 558 | return tpEvento; |
||
| 559 | } |
||
| 560 | |||
| 561 | /** |
||
| 562 | * Define o valor da propriedade tpEvento. |
||
| 563 | * |
||
| 564 | * @param value |
||
| 565 | * allowed object is |
||
| 566 | * {@link String } |
||
| 567 | * |
||
| 568 | */ |
||
| 569 | public void setTpEvento(String value) { |
||
| 570 | this.tpEvento = value; |
||
| 571 | } |
||
| 572 | |||
| 573 | /** |
||
| 574 | * Obtém o valor da propriedade nSeqEvento. |
||
| 575 | * |
||
| 576 | * @return |
||
| 577 | * possible object is |
||
| 578 | * {@link String } |
||
| 579 | * |
||
| 580 | */ |
||
| 581 | public String getNSeqEvento() { |
||
| 582 | return nSeqEvento; |
||
| 583 | } |
||
| 584 | |||
| 585 | /** |
||
| 586 | * Define o valor da propriedade nSeqEvento. |
||
| 587 | * |
||
| 588 | * @param value |
||
| 589 | * allowed object is |
||
| 590 | * {@link String } |
||
| 591 | * |
||
| 592 | */ |
||
| 593 | public void setNSeqEvento(String value) { |
||
| 594 | this.nSeqEvento = value; |
||
| 595 | } |
||
| 596 | |||
| 597 | /** |
||
| 598 | * Obtém o valor da propriedade verEvento. |
||
| 599 | * |
||
| 600 | * @return |
||
| 601 | * possible object is |
||
| 602 | * {@link String } |
||
| 603 | * |
||
| 604 | */ |
||
| 605 | public String getVerEvento() { |
||
| 606 | return verEvento; |
||
| 607 | } |
||
| 608 | |||
| 609 | /** |
||
| 610 | * Define o valor da propriedade verEvento. |
||
| 611 | * |
||
| 612 | * @param value |
||
| 613 | * allowed object is |
||
| 614 | * {@link String } |
||
| 615 | * |
||
| 616 | */ |
||
| 617 | public void setVerEvento(String value) { |
||
| 618 | this.verEvento = value; |
||
| 619 | } |
||
| 620 | |||
| 621 | /** |
||
| 622 | * Obtém o valor da propriedade detEvento. |
||
| 623 | * |
||
| 624 | * @return |
||
| 625 | * possible object is |
||
| 626 | * {@link TEvento.InfEvento.DetEvento } |
||
| 627 | * |
||
| 628 | */ |
||
| 629 | public TEvento.InfEvento.DetEvento getDetEvento() { |
||
| 630 | return detEvento; |
||
| 631 | } |
||
| 632 | |||
| 633 | /** |
||
| 634 | * Define o valor da propriedade detEvento. |
||
| 635 | * |
||
| 636 | * @param value |
||
| 637 | * allowed object is |
||
| 638 | * {@link TEvento.InfEvento.DetEvento } |
||
| 639 | * |
||
| 640 | */ |
||
| 641 | public void setDetEvento(TEvento.InfEvento.DetEvento value) { |
||
| 642 | this.detEvento = value; |
||
| 643 | } |
||
| 644 | |||
| 645 | /** |
||
| 646 | * Obtém o valor da propriedade id. |
||
| 647 | * |
||
| 648 | * @return |
||
| 649 | * possible object is |
||
| 650 | * {@link String } |
||
| 651 | * |
||
| 652 | */ |
||
| 653 | public String getId() { |
||
| 654 | return id; |
||
| 655 | } |
||
| 656 | |||
| 657 | /** |
||
| 658 | * Define o valor da propriedade id. |
||
| 659 | * |
||
| 660 | * @param value |
||
| 661 | * allowed object is |
||
| 662 | * {@link String } |
||
| 663 | * |
||
| 664 | */ |
||
| 665 | public void setId(String value) { |
||
| 666 | this.id = value; |
||
| 667 | } |
||
| 668 | |||
| 669 | |||
| 670 | /** |
||
| 671 | * <p>Classe Java de anonymous complex type. |
||
| 672 | * |
||
| 673 | * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. |
||
| 674 | * |
||
| 675 | * <pre> |
||
| 676 | * <complexType> |
||
| 677 | * <complexContent> |
||
| 678 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 679 | * <sequence> |
||
| 680 | * <element name="descEvento"> |
||
| 681 | * <simpleType> |
||
| 682 | * <restriction base="{http://www.portalfiscal.inf.br/nfe}TString"> |
||
| 683 | * <whiteSpace value="preserve"/> |
||
| 684 | * <enumeration value="Ator interessado na NF-e"/> |
||
| 685 | * </restriction> |
||
| 686 | * </simpleType> |
||
| 687 | * </element> |
||
| 688 | * <element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/> |
||
| 689 | * <element name="tpAutor"> |
||
| 690 | * <simpleType> |
||
| 691 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 692 | * <whiteSpace value="preserve"/> |
||
| 693 | * <enumeration value="1"/> |
||
| 694 | * <enumeration value="2"/> |
||
| 695 | * <enumeration value="3"/> |
||
| 696 | * </restriction> |
||
| 697 | * </simpleType> |
||
| 698 | * </element> |
||
| 699 | * <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/> |
||
| 700 | * <element name="autXML"> |
||
| 701 | * <complexType> |
||
| 702 | * <complexContent> |
||
| 703 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 704 | * <choice> |
||
| 705 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/> |
||
| 706 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 707 | * </choice> |
||
| 708 | * </restriction> |
||
| 709 | * </complexContent> |
||
| 710 | * </complexType> |
||
| 711 | * </element> |
||
| 712 | * <element name="tpAutorizacao" minOccurs="0"> |
||
| 713 | * <simpleType> |
||
| 714 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 715 | * <whiteSpace value="preserve"/> |
||
| 716 | * <enumeration value="0"/> |
||
| 717 | * <enumeration value="1"/> |
||
| 718 | * </restriction> |
||
| 719 | * </simpleType> |
||
| 720 | * </element> |
||
| 721 | * <element name="xCondUso" minOccurs="0"> |
||
| 722 | * <simpleType> |
||
| 723 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 724 | * <whiteSpace value="preserve"/> |
||
| 725 | * <enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/> |
||
| 726 | * </restriction> |
||
| 727 | * </simpleType> |
||
| 728 | * </element> |
||
| 729 | * </sequence> |
||
| 730 | * <attribute name="versao" use="required"> |
||
| 731 | * <simpleType> |
||
| 732 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
| 733 | * <whiteSpace value="preserve"/> |
||
| 734 | * <enumeration value="1.00"/> |
||
| 735 | * </restriction> |
||
| 736 | * </simpleType> |
||
| 737 | * </attribute> |
||
| 738 | * </restriction> |
||
| 739 | * </complexContent> |
||
| 740 | * </complexType> |
||
| 741 | * </pre> |
||
| 742 | * |
||
| 743 | * |
||
| 744 | */ |
||
| 745 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 746 | @XmlType(name = "", propOrder = { |
||
| 747 | "descEvento", |
||
| 748 | "cOrgaoAutor", |
||
| 749 | "tpAutor", |
||
| 750 | "verAplic", |
||
| 751 | "autXML", |
||
| 752 | "tpAutorizacao", |
||
| 753 | "xCondUso" |
||
| 754 | }) |
||
| 755 | public static class DetEvento { |
||
| 756 | |||
| 757 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 758 | protected String descEvento; |
||
| 759 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 760 | protected String cOrgaoAutor; |
||
| 761 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 762 | protected String tpAutor; |
||
| 763 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 764 | protected String verAplic; |
||
| 765 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) |
||
| 766 | protected TEvento.InfEvento.DetEvento.AutXML autXML; |
||
| 767 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 768 | protected String tpAutorizacao; |
||
| 769 | @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 770 | protected String xCondUso; |
||
| 771 | @XmlAttribute(name = "versao", required = true) |
||
| 772 | protected String versao; |
||
| 773 | |||
| 774 | /** |
||
| 775 | * Obtém o valor da propriedade descEvento. |
||
| 776 | * |
||
| 777 | * @return |
||
| 778 | * possible object is |
||
| 779 | * {@link String } |
||
| 780 | * |
||
| 781 | */ |
||
| 782 | public String getDescEvento() { |
||
| 783 | return descEvento; |
||
| 784 | } |
||
| 785 | |||
| 786 | /** |
||
| 787 | * Define o valor da propriedade descEvento. |
||
| 788 | * |
||
| 789 | * @param value |
||
| 790 | * allowed object is |
||
| 791 | * {@link String } |
||
| 792 | * |
||
| 793 | */ |
||
| 794 | public void setDescEvento(String value) { |
||
| 795 | this.descEvento = value; |
||
| 796 | } |
||
| 797 | |||
| 798 | /** |
||
| 799 | * Obtém o valor da propriedade cOrgaoAutor. |
||
| 800 | * |
||
| 801 | * @return |
||
| 802 | * possible object is |
||
| 803 | * {@link String } |
||
| 804 | * |
||
| 805 | */ |
||
| 806 | public String getCOrgaoAutor() { |
||
| 807 | return cOrgaoAutor; |
||
| 808 | } |
||
| 809 | |||
| 810 | /** |
||
| 811 | * Define o valor da propriedade cOrgaoAutor. |
||
| 812 | * |
||
| 813 | * @param value |
||
| 814 | * allowed object is |
||
| 815 | * {@link String } |
||
| 816 | * |
||
| 817 | */ |
||
| 818 | public void setCOrgaoAutor(String value) { |
||
| 819 | this.cOrgaoAutor = value; |
||
| 820 | } |
||
| 821 | |||
| 822 | /** |
||
| 823 | * Obtém o valor da propriedade tpAutor. |
||
| 824 | * |
||
| 825 | * @return |
||
| 826 | * possible object is |
||
| 827 | * {@link String } |
||
| 828 | * |
||
| 829 | */ |
||
| 830 | public String getTpAutor() { |
||
| 831 | return tpAutor; |
||
| 832 | } |
||
| 833 | |||
| 834 | /** |
||
| 835 | * Define o valor da propriedade tpAutor. |
||
| 836 | * |
||
| 837 | * @param value |
||
| 838 | * allowed object is |
||
| 839 | * {@link String } |
||
| 840 | * |
||
| 841 | */ |
||
| 842 | public void setTpAutor(String value) { |
||
| 843 | this.tpAutor = value; |
||
| 844 | } |
||
| 845 | |||
| 846 | /** |
||
| 847 | * Obtém o valor da propriedade verAplic. |
||
| 848 | * |
||
| 849 | * @return |
||
| 850 | * possible object is |
||
| 851 | * {@link String } |
||
| 852 | * |
||
| 853 | */ |
||
| 854 | public String getVerAplic() { |
||
| 855 | return verAplic; |
||
| 856 | } |
||
| 857 | |||
| 858 | /** |
||
| 859 | * Define o valor da propriedade verAplic. |
||
| 860 | * |
||
| 861 | * @param value |
||
| 862 | * allowed object is |
||
| 863 | * {@link String } |
||
| 864 | * |
||
| 865 | */ |
||
| 866 | public void setVerAplic(String value) { |
||
| 867 | this.verAplic = value; |
||
| 868 | } |
||
| 869 | |||
| 870 | /** |
||
| 871 | * Obtém o valor da propriedade autXML. |
||
| 872 | * |
||
| 873 | * @return |
||
| 874 | * possible object is |
||
| 875 | * {@link TEvento.InfEvento.DetEvento.AutXML } |
||
| 876 | * |
||
| 877 | */ |
||
| 878 | public TEvento.InfEvento.DetEvento.AutXML getAutXML() { |
||
| 879 | return autXML; |
||
| 880 | } |
||
| 881 | |||
| 882 | /** |
||
| 883 | * Define o valor da propriedade autXML. |
||
| 884 | * |
||
| 885 | * @param value |
||
| 886 | * allowed object is |
||
| 887 | * {@link TEvento.InfEvento.DetEvento.AutXML } |
||
| 888 | * |
||
| 889 | */ |
||
| 890 | public void setAutXML(TEvento.InfEvento.DetEvento.AutXML value) { |
||
| 891 | this.autXML = value; |
||
| 892 | } |
||
| 893 | |||
| 894 | /** |
||
| 895 | * Obtém o valor da propriedade tpAutorizacao. |
||
| 896 | * |
||
| 897 | * @return |
||
| 898 | * possible object is |
||
| 899 | * {@link String } |
||
| 900 | * |
||
| 901 | */ |
||
| 902 | public String getTpAutorizacao() { |
||
| 903 | return tpAutorizacao; |
||
| 904 | } |
||
| 905 | |||
| 906 | /** |
||
| 907 | * Define o valor da propriedade tpAutorizacao. |
||
| 908 | * |
||
| 909 | * @param value |
||
| 910 | * allowed object is |
||
| 911 | * {@link String } |
||
| 912 | * |
||
| 913 | */ |
||
| 914 | public void setTpAutorizacao(String value) { |
||
| 915 | this.tpAutorizacao = value; |
||
| 916 | } |
||
| 917 | |||
| 918 | /** |
||
| 919 | * Obtém o valor da propriedade xCondUso. |
||
| 920 | * |
||
| 921 | * @return |
||
| 922 | * possible object is |
||
| 923 | * {@link String } |
||
| 924 | * |
||
| 925 | */ |
||
| 926 | public String getXCondUso() { |
||
| 927 | return xCondUso; |
||
| 928 | } |
||
| 929 | |||
| 930 | /** |
||
| 931 | * Define o valor da propriedade xCondUso. |
||
| 932 | * |
||
| 933 | * @param value |
||
| 934 | * allowed object is |
||
| 935 | * {@link String } |
||
| 936 | * |
||
| 937 | */ |
||
| 938 | public void setXCondUso(String value) { |
||
| 939 | this.xCondUso = value; |
||
| 940 | } |
||
| 941 | |||
| 942 | /** |
||
| 943 | * Obtém o valor da propriedade versao. |
||
| 944 | * |
||
| 945 | * @return |
||
| 946 | * possible object is |
||
| 947 | * {@link String } |
||
| 948 | * |
||
| 949 | */ |
||
| 950 | public String getVersao() { |
||
| 951 | return versao; |
||
| 952 | } |
||
| 953 | |||
| 954 | /** |
||
| 955 | * Define o valor da propriedade versao. |
||
| 956 | * |
||
| 957 | * @param value |
||
| 958 | * allowed object is |
||
| 959 | * {@link String } |
||
| 960 | * |
||
| 961 | */ |
||
| 962 | public void setVersao(String value) { |
||
| 963 | this.versao = value; |
||
| 964 | } |
||
| 965 | |||
| 966 | |||
| 967 | /** |
||
| 968 | * <p>Classe Java de anonymous complex type. |
||
| 969 | * |
||
| 970 | * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. |
||
| 971 | * |
||
| 972 | * <pre> |
||
| 973 | * <complexType> |
||
| 974 | * <complexContent> |
||
| 975 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 976 | * <choice> |
||
| 977 | * <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/> |
||
| 978 | * <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/> |
||
| 979 | * </choice> |
||
| 980 | * </restriction> |
||
| 981 | * </complexContent> |
||
| 982 | * </complexType> |
||
| 983 | * </pre> |
||
| 984 | * |
||
| 985 | * |
||
| 986 | */ |
||
| 987 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 988 | @XmlType(name = "", propOrder = { |
||
| 989 | "cnpj", |
||
| 990 | "cpf" |
||
| 991 | }) |
||
| 992 | public static class AutXML { |
||
| 993 | |||
| 994 | @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 995 | protected String cnpj; |
||
| 996 | @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") |
||
| 997 | protected String cpf; |
||
| 998 | |||
| 999 | /** |
||
| 1000 | * Obtém o valor da propriedade cnpj. |
||
| 1001 | * |
||
| 1002 | * @return |
||
| 1003 | * possible object is |
||
| 1004 | * {@link String } |
||
| 1005 | * |
||
| 1006 | */ |
||
| 1007 | public String getCNPJ() { |
||
| 1008 | return cnpj; |
||
| 1009 | } |
||
| 1010 | |||
| 1011 | /** |
||
| 1012 | * Define o valor da propriedade cnpj. |
||
| 1013 | * |
||
| 1014 | * @param value |
||
| 1015 | * allowed object is |
||
| 1016 | * {@link String } |
||
| 1017 | * |
||
| 1018 | */ |
||
| 1019 | public void setCNPJ(String value) { |
||
| 1020 | this.cnpj = value; |
||
| 1021 | } |
||
| 1022 | |||
| 1023 | /** |
||
| 1024 | * Obtém o valor da propriedade cpf. |
||
| 1025 | * |
||
| 1026 | * @return |
||
| 1027 | * possible object is |
||
| 1028 | * {@link String } |
||
| 1029 | * |
||
| 1030 | */ |
||
| 1031 | public String getCPF() { |
||
| 1032 | return cpf; |
||
| 1033 | } |
||
| 1034 | |||
| 1035 | /** |
||
| 1036 | * Define o valor da propriedade cpf. |
||
| 1037 | * |
||
| 1038 | * @param value |
||
| 1039 | * allowed object is |
||
| 1040 | * {@link String } |
||
| 1041 | * |
||
| 1042 | */ |
||
| 1043 | public void setCPF(String value) { |
||
| 1044 | this.cpf = value; |
||
| 1045 | } |
||
| 1046 | |||
| 1047 | } |
||
| 1048 | |||
| 1049 | } |
||
| 1050 | |||
| 1051 | } |
||
| 1052 | |||
| 1053 | } |