class Quickbooks::Model::CompanyInfo

Constants

REST_RESOURCE
XML_COLLECTION_NODE
XML_NODE

Public Instance Methods

accountant_feature() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 64
def accountant_feature
  find_boolean_name_value("AccountantFeature")
end
company_type() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 44
def company_type
  find_name_value("CompanyType")
end
find_boolean_name_value(name) click to toggle source
# File lib/quickbooks/model/company_info.rb, line 32
def find_boolean_name_value(name)
  find_name_value(name) == "true"
end
find_name_value(name) click to toggle source
# File lib/quickbooks/model/company_info.rb, line 27
def find_name_value(name)
  nv = name_values.find { |nv| nv.name == name }
  nv ? nv.value : nil
end
industry_code() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 40
def industry_code
  find_name_value("IndustryCode")
end
industry_type() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 36
def industry_type
  find_name_value("IndustryType")
end
neo_enabled() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 56
def neo_enabled
  find_boolean_name_value("NeoEnabled")
end
offering_sku() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 52
def offering_sku
  find_name_value("OfferingSku")
end
payroll_feature() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 60
def payroll_feature
  find_boolean_name_value("PayrollFeature")
end
subscription_status() click to toggle source
# File lib/quickbooks/model/company_info.rb, line 48
def subscription_status
  find_name_value("SubscriptionStatus")
end