class Nfe::Services::Dispatch::DetEventoCancel

Attributes

versao[RW]

Public Instance Methods

kind() click to toggle source
# File lib/nfe/services/dispatch/detEventoCancel.rb, line 23
def kind
  :nfe_cancel
end
to_xml() click to toggle source
# File lib/nfe/services/dispatch/detEventoCancel.rb, line 31
def to_xml
  xml = Builder::XmlMarkup.new

  xml.detEvento(versao: versao) { |node| add_elements node }

  xml.target!
end
tpEvent() click to toggle source
# File lib/nfe/services/dispatch/detEventoCancel.rb, line 27
def tpEvent
  110111
end

Private Instance Methods

descEvento() click to toggle source
# File lib/nfe/services/dispatch/detEventoCancel.rb, line 39
def descEvento
  "Cancelamento"
end