Class: CFDI::Entidad

Inherits:
ElementoComprobante show all
Defined in:
lib/entidad.rb

Overview

Una persona fiscal

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from ElementoComprobante

data, #initialize, #to_h

Constructor Details

This class inherits a constructor from CFDI::ElementoComprobante

Instance Attribute Details

- (CFDI::Domicilio, Hash) domicilioFiscal

El domicilio de esta entidad

Returns:



10
11
12
# File 'lib/entidad.rb', line 10

def domicilioFiscal
  @domicilioFiscal
end

- (CFDI::Domicilio, Hash) expedidoEn

El domicilio de la sucursal de emisión

Returns:



10
11
12
# File 'lib/entidad.rb', line 10

def expedidoEn
  @expedidoEn
end

- (String) nombre

El nombre o razón social de la entidad

Returns:

  • (String)

    the current value of nombre



10
11
12
# File 'lib/entidad.rb', line 10

def nombre
  @nombre
end

- (String) regimenFiscal

El régimen fiscal, sólo de un emisor

Returns:

  • (String)

    the current value of regimenFiscal



10
11
12
# File 'lib/entidad.rb', line 10

def regimenFiscal
  @regimenFiscal
end

- (String) rfc

El RFC

Returns:

  • (String)

    the current value of rfc



10
11
12
# File 'lib/entidad.rb', line 10

def rfc
  @rfc
end