Class: ONIX::Tax

Inherits:
SubsetDSL show all
Defined in:
lib/onix/tax.rb

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

#amountObject



15
16
17
# File 'lib/onix/tax.rb', line 15

def amount
  @tax_amount
end

#rate_codeObject

shortcuts



11
12
13
# File 'lib/onix/tax.rb', line 11

def rate_code
  @tax_rate_code
end

#rate_percentObject



19
20
21
# File 'lib/onix/tax.rb', line 19

def rate_percent
  @tax_rate_percent
end