Class: Nodes::TaxDetained

Inherits:
BuhoCfdi::BaseNode show all
Defined in:
lib/buho_cfdi/nodes/tax_detained.rb

Instance Attribute Summary collapse

Attributes inherited from BuhoCfdi::BaseNode

#node_hash

Method Summary

Methods inherited from BuhoCfdi::BaseNode

attr_accessor, build_child, #build_child, #build_child!, #build_children, #initialize, params, #to_hash

Constructor Details

This class inherits a constructor from BuhoCfdi::BaseNode

Instance Attribute Details

#baseObject

Returns the value of attribute base.



3
4
5
# File 'lib/buho_cfdi/nodes/tax_detained.rb', line 3

def base
  @base
end

#factor_typeObject

Returns the value of attribute factor_type.



3
4
5
# File 'lib/buho_cfdi/nodes/tax_detained.rb', line 3

def factor_type
  @factor_type
end

#importObject

Returns the value of attribute import.



3
4
5
# File 'lib/buho_cfdi/nodes/tax_detained.rb', line 3

def import
  @import
end

#rate_or_feeObject

Returns the value of attribute rate_or_fee.



3
4
5
# File 'lib/buho_cfdi/nodes/tax_detained.rb', line 3

def rate_or_fee
  @rate_or_fee
end

#taxObject

Returns the value of attribute tax.



3
4
5
# File 'lib/buho_cfdi/nodes/tax_detained.rb', line 3

def tax
  @tax
end