Class: Nodes::Part

Inherits:
BuhoCfdi::BaseNode show all
Defined in:
lib/buho_cfdi/nodes/part.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

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#identification_numberObject

Returns the value of attribute identification_number.



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

def identification_number
  @identification_number
end

#prod_or_svc_keyObject

Returns the value of attribute prod_or_svc_key.



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

def prod_or_svc_key
  @prod_or_svc_key
end

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#unit_measureObject

Returns the value of attribute unit_measure.



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

def unit_measure
  @unit_measure
end

#unit_valueObject

Returns the value of attribute unit_value.



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

def unit_value
  @unit_value
end