module SageoneSdk::Client::IncomeTypes

Represents types of sale in Sage One. These are the categories a user can make sales against.

Public Instance Methods

income_type(id, options = {}) click to toggle source

@return [object] Returns the sales type with the given id.

# File lib/sageone_sdk/client/income_types.rb, line 14
def income_type(id, options = {})
  get "income_types/#{id}", options
end
income_types(options = {}) click to toggle source

@return [object] Returns all sales types.

# File lib/sageone_sdk/client/income_types.rb, line 9
def income_types(options = {})
  get "income_types", options
end