Class: BrNfe::Product::Response::Event
- Inherits:
-
ActiveModelBase
- Object
- ActiveModelBase
- BrNfe::Product::Response::Event
- Defined in:
- lib/br_nfe/product/response/event.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
CÓDIGO DO EVENTO Código do Tipo do Evento.
-
#codigo_orgao ⇒ Object
CÓDIGO DA UF QUE REGISTROU O EVENTO Será setado 90 para o Ambiente Nacional.
-
#correction_text ⇒ Object
DESCRIÇÃO DA CARTA DE CORREÇÃO.
-
#cpf_cnpj_destino ⇒ Object
CPF OU CNPJ DO DESTINATÁRIO DA NF-E.
-
#description ⇒ Object
DESCRIÇÃO DO EVENTO.
-
#event_protocol ⇒ Object
NÚMERO DO PROTOCOLO DO ENVIO DO EVENTO.
-
#justification ⇒ Object
JUSTIFICATIVA DO EVENTO Utilizado no evento de cancelamento de NF-e.
-
#registred_at ⇒ Object
DATA E HORA EM QUE O EVENTO FOI PROCESSADO PELA SEFAZ.
-
#ret_event_protocol ⇒ Object
NÚMERO DO PROTOCOLO DE AUTORIZAÇÃO DO EVENTO.
-
#sent_at ⇒ Object
DATA E HORA EM QUE O EVENTO FOI ENVIADO.
-
#sequence ⇒ Object
SEQUENCIAL DO EVENTO PARA O MESMO TIPO DE EVENTO.
-
#status_code ⇒ Object
CÓDIGO DO STATUS DO EVENTO.
-
#status_motive ⇒ Object
DESCRIÇÃO DO STATUS DO EVENTO.
-
#xml ⇒ Object
XML DO EVENTO.
Attributes inherited from ActiveModelBase
Method Summary
Methods inherited from ActiveModelBase
#assign_attributes, #default_values, #initialize
Constructor Details
This class inherits a constructor from BrNfe::ActiveModelBase
Instance Attribute Details
#code ⇒ Object
CÓDIGO DO EVENTO Código do Tipo do Evento.
110111: Cancelamento
110110: CCe
110140: EPEC
Eventos de manifestação do destinatário
210200: Confirmação da Operação
210210: Ciência da Emissão
210220: Desconhecimento da Operação
210240: Operação não Realizada
33 34 35 |
# File 'lib/br_nfe/product/response/event.rb', line 33 def code @code end |
#codigo_orgao ⇒ Object
CÓDIGO DA UF QUE REGISTROU O EVENTO Será setado 90 para o Ambiente Nacional.
9 10 11 |
# File 'lib/br_nfe/product/response/event.rb', line 9 def codigo_orgao @codigo_orgao end |
#correction_text ⇒ Object
DESCRIÇÃO DA CARTA DE CORREÇÃO
81 82 83 |
# File 'lib/br_nfe/product/response/event.rb', line 81 def correction_text @correction_text end |
#cpf_cnpj_destino ⇒ Object
CPF OU CNPJ DO DESTINATÁRIO DA NF-E
43 44 45 |
# File 'lib/br_nfe/product/response/event.rb', line 43 def cpf_cnpj_destino @cpf_cnpj_destino end |
#description ⇒ Object
DESCRIÇÃO DO EVENTO
72 73 74 |
# File 'lib/br_nfe/product/response/event.rb', line 72 def description @description end |
#event_protocol ⇒ Object
NÚMERO DO PROTOCOLO DO ENVIO DO EVENTO
64 65 66 |
# File 'lib/br_nfe/product/response/event.rb', line 64 def event_protocol @event_protocol end |
#justification ⇒ Object
JUSTIFICATIVA DO EVENTO Utilizado no evento de cancelamento de NF-e
77 78 79 |
# File 'lib/br_nfe/product/response/event.rb', line 77 def justification @justification end |
#registred_at ⇒ Object
DATA E HORA EM QUE O EVENTO FOI PROCESSADO PELA SEFAZ
57 58 59 |
# File 'lib/br_nfe/product/response/event.rb', line 57 def registred_at @registred_at end |
#ret_event_protocol ⇒ Object
NÚMERO DO PROTOCOLO DE AUTORIZAÇÃO DO EVENTO
68 69 70 |
# File 'lib/br_nfe/product/response/event.rb', line 68 def ret_event_protocol @ret_event_protocol end |
#sent_at ⇒ Object
DATA E HORA EM QUE O EVENTO FOI ENVIADO
49 50 51 |
# File 'lib/br_nfe/product/response/event.rb', line 49 def sent_at @sent_at end |
#sequence ⇒ Object
SEQUENCIAL DO EVENTO PARA O MESMO TIPO DE EVENTO.
38 39 40 |
# File 'lib/br_nfe/product/response/event.rb', line 38 def sequence @sequence end |
#status_code ⇒ Object
CÓDIGO DO STATUS DO EVENTO
14 15 16 |
# File 'lib/br_nfe/product/response/event.rb', line 14 def status_code @status_code end |
#status_motive ⇒ Object
DESCRIÇÃO DO STATUS DO EVENTO
19 20 21 |
# File 'lib/br_nfe/product/response/event.rb', line 19 def status_motive @status_motive end |
#xml ⇒ Object
XML DO EVENTO
85 86 87 |
# File 'lib/br_nfe/product/response/event.rb', line 85 def xml @xml end |