Sha256: d0b489f3ff84b3b0bcf0c9e954134023bb438d89c5b2cc3b08168efcbbe327e6
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
module Xeroizer module Record class TaxRateModel < BaseModel set_permissions :read # TaxRates can be created using either POST or PUT. # POST will also silently update the tax, which can # be unexpected. PUT is only for create. def create_method :http_put end end class TaxRate < Base set_primary_key :tax_type set_possible_primary_keys :tax_type, :name set_primary_key :name string :name string :tax_type string :status boolean :can_apply_to_assets boolean :can_apply_to_equity boolean :can_apply_to_expenses boolean :can_apply_to_liabilities boolean :can_apply_to_revenue decimal :display_tax_rate decimal :effective_rate has_many :tax_components end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xeroizer-2.15.6 | lib/xeroizer/models/tax_rate.rb |