Class: BrNfe::Product::Response::Event

Inherits:
ActiveModelBase show all
Defined in:
lib/br_nfe/product/response/event.rb

Instance Attribute Summary collapse

Attributes inherited from ActiveModelBase

#reference

Method Summary

Methods inherited from ActiveModelBase

#assign_attributes, #default_values, #initialize

Constructor Details

This class inherits a constructor from BrNfe::ActiveModelBase

Instance Attribute Details

#codeObject

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_orgaoObject

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_textObject

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_destinoObject

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

#descriptionObject

DESCRIÇÃO DO EVENTO



72
73
74
# File 'lib/br_nfe/product/response/event.rb', line 72

def description
  @description
end

#event_protocolObject

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

#justificationObject

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_atObject

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_protocolObject

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_atObject

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

#sequenceObject

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_codeObject

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_motiveObject

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

#xmlObject

XML DO EVENTO



85
86
87
# File 'lib/br_nfe/product/response/event.rb', line 85

def xml
  @xml
end