Sha256: a1c72386fd6a1500a127af3a41fdbac1bb3962355fba861fc16f223baf9c7550

Contents?: true

Size: 382 Bytes

Versions: 9

Compression:

Stored size: 382 Bytes

Contents

module CabooseStore
  class TaxLine < ActiveRecord::Base    
  
    attr_accessible :id,
      :title,           # The name of the tax, eg. QST or VAT
      :price,           # The amount
      :rate,            # The rate. It will return 0.175 if it is 17.5%
      :rate_percentage  # The tax rate in human readable form. It will return 17.5 if the rate is 0.175
      
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
caboose-store-0.0.10 app/models/caboose_store/tax_line.rb
caboose-store-0.0.9 app/models/caboose_store/tax_line.rb
caboose-store-0.0.8 app/models/caboose_store/tax_line.rb
caboose-store-0.0.7 app/models/caboose_store/tax_line.rb
caboose-store-0.0.6 app/models/caboose_store/tax_line.rb
caboose-store-0.0.5 app/models/caboose_store/tax_line.rb
caboose-store-0.0.4 app/models/caboose_store/tax_line.rb
caboose-store-0.0.3 app/models/caboose_store/tax_line.rb
caboose-store-0.0.2 app/models/caboose_store/tax_line.rb