Module: SageoneSdk::Client::IncomeTypes
- Included in:
- SageoneSdk::Client
- Defined in:
- lib/sageone_sdk/client/income_types.rb
Overview
Represents types of sale in Sage One. These are the categories a user can make sales against.
Instance Method Summary collapse
-
#income_type(id, options = {}) ⇒ object
Returns the sales type with the given id.
-
#income_types(options = {}) ⇒ object
Returns all sales types.
Instance Method Details
#income_type(id, options = {}) ⇒ object
Returns the sales type with the given id.
14 15 16 |
# File 'lib/sageone_sdk/client/income_types.rb', line 14 def income_type(id, = {}) get "income_types/#{id}", end |
#income_types(options = {}) ⇒ object
Returns all sales types.
9 10 11 |
# File 'lib/sageone_sdk/client/income_types.rb', line 9 def income_types( = {}) get "income_types", end |