Class: Nodes::Part
- Inherits:
-
BuhoCfdi::BaseNode
- Object
- BuhoCfdi::BaseNode
- Nodes::Part
- Defined in:
- lib/buho_cfdi/nodes/part.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#description ⇒ Object
Returns the value of attribute description.
-
#identification_number ⇒ Object
Returns the value of attribute identification_number.
-
#prod_or_svc_key ⇒ Object
Returns the value of attribute prod_or_svc_key.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#unit_measure ⇒ Object
Returns the value of attribute unit_measure.
-
#unit_value ⇒ Object
Returns the value of attribute unit_value.
Attributes inherited from BuhoCfdi::BaseNode
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
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/buho_cfdi/nodes/part.rb', line 3 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/buho_cfdi/nodes/part.rb', line 3 def description @description end |
#identification_number ⇒ Object
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_key ⇒ Object
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 |
#quantity ⇒ Object
Returns the value of attribute quantity.
3 4 5 |
# File 'lib/buho_cfdi/nodes/part.rb', line 3 def quantity @quantity end |
#unit_measure ⇒ Object
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_value ⇒ Object
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 |