Class: BrNfe::Product::Evento::Cancelamento

Inherits:
Base show all
Defined in:
lib/br_nfe/product/evento/cancelamento.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#chave, #chave_nfe, #codigo_evento, #codigo_orgao, #data_hora, #numero_sequencial

Attributes inherited from ActiveModelBase

#reference

Method Summary

Methods inherited from ActiveModelBase

#assign_attributes, #initialize

Constructor Details

This class inherits a constructor from BrNfe::ActiveModelBase

Instance Attribute Details

#justificativaObject

JUSTIFICATIVA DO CANCELAMENTO

Type: Number Required: Yes Example: _DESCRIÇÃO PARA UMA JUSTIFICATIVA QUALQUER_ Length: _min: 15, max: 255_ tag: xJust



27
28
29
# File 'lib/br_nfe/product/evento/cancelamento.rb', line 27

def justificativa
  @justificativa
end

#protocolo_nfeObject

NÚMERO DO PROTOCOLO DA NF-e

Informar o n

Type: Number Required: Yes Example: 4223456789012345 Length: 15 tag: nProt



16
17
18
# File 'lib/br_nfe/product/evento/cancelamento.rb', line 16

def protocolo_nfe
  @protocolo_nfe
end