Class: Facturapi::Helpers::DescuentoGlobal
- Inherits:
-
DscRcgGlobal
- Object
- DscRcgGlobal
- Facturapi::Helpers::DescuentoGlobal
- Defined in:
- lib/facturapi/helpers/descuento_global.rb
Instance Attribute Summary
Attributes inherited from DscRcgGlobal
#glosa_dr, #ind_exe_dr, #nro_lin_dr, #tpo_mov, #tpo_valor, #valor_dr
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ DescuentoGlobal
constructor
A new instance of DescuentoGlobal.
Methods inherited from DscRcgGlobal
#as_node, #descuento?, #recargo?
Constructor Details
#initialize(params = {}) ⇒ DescuentoGlobal
Returns a new instance of DescuentoGlobal.
4 5 6 7 |
# File 'lib/facturapi/helpers/descuento_global.rb', line 4 def initialize(params = {}) params[:tpo_mov] = 'D' super(params) end |