Class: Quickbooks::Model::TaxCode
Constant Summary
collapse
- XML_COLLECTION_NODE =
"TaxCode"
- XML_NODE =
"TaxCode"
- REST_RESOURCE =
"taxcode"
Instance Method Summary
collapse
Methods inherited from BaseModel
attribute_names, #attributes, #initialize, reference_setters, resource_for_collection, resource_for_singular, to_xml_big_decimal, #to_xml_inject_ns, #to_xml_ns
Instance Method Details
#active? ⇒ Boolean
18
19
20
|
# File 'lib/quickbooks/model/tax_code.rb', line 18
def active?
active == "true"
end
|
#tax_group? ⇒ Boolean
26
27
28
|
# File 'lib/quickbooks/model/tax_code.rb', line 26
def tax_group?
tax_group == "true"
end
|
#taxable? ⇒ Boolean
22
23
24
|
# File 'lib/quickbooks/model/tax_code.rb', line 22
def taxable?
taxable == "true"
end
|