Class: ONIX::Tax
Instance Method Summary collapse
Methods inherited from SubsetDSL
_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported
Methods inherited from Subset
parse, #parse, tag_match, #tag_match, #unsupported
Constructor Details
This class inherits a constructor from ONIX::SubsetDSL
Instance Method Details
#amount ⇒ Object
15 16 17 |
# File 'lib/onix/tax.rb', line 15 def amount @tax_amount end |
#rate_code ⇒ Object
shortcuts
11 12 13 |
# File 'lib/onix/tax.rb', line 11 def rate_code @tax_rate_code end |
#rate_percent ⇒ Object
19 20 21 |
# File 'lib/onix/tax.rb', line 19 def rate_percent @tax_rate_percent end |