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