Method: NfeReader::Customer#initialize

Defined in:
lib/nfe_reader/customer.rb

#initialize(attrs = {}) ⇒ Customer

Fields Values

indIEDest: 1 - Contribuinte ICMS (informar a IE do destinatário),

2 - Contribuinte isento de Inscrição no cadastro de Contribuintes do ICMS,
9 - Não Contribuinte, que pode ou não possuir Inscrição Estadual


15
16
17
18
19
20
21
22
# File 'lib/nfe_reader/customer.rb', line 15

def initialize(attrs = {})
  @person = Person.new(attrs)

  # Address
  if attrs[:enderDest]
    @address = Address.new(attrs[:enderDest])
  end
end