Class: CFDI::Impuestos::ImpuestoGenerico
- Inherits:
-
ElementoComprobante
- Object
- ElementoComprobante
- CFDI::Impuestos::ImpuestoGenerico
- Defined in:
- lib/impuestos.rb
Instance Method Summary collapse
-
#importe=(valor) ⇒ Object
Asigna el importe del impuesto.
-
#tasa=(valor) ⇒ Object
Asigna la tasa del impuesto.
Methods inherited from ElementoComprobante
#cadena_original, data, #initialize, #to_h
Constructor Details
This class inherits a constructor from CFDI::ElementoComprobante
Instance Method Details
#importe=(valor) ⇒ Object
Asigna el importe del impuesto
80 81 82 |
# File 'lib/impuestos.rb', line 80 def importe= valor @importe = valor.to_f end |
#tasa=(valor) ⇒ Object
Asigna la tasa del impuesto
74 75 76 |
# File 'lib/impuestos.rb', line 74 def tasa= valor @tasa = valor.to_f end |