Class: Quickbooks::Model::ItemGroupLine

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/quickbooks/model/item_group_line.rb

Instance Method Summary collapse

Methods inherited from BaseModel

#as_json, attribute_names, #attributes, attrs_with_types, #initialize, inspect, #inspect, reference_attrs, reference_setters, resource_for_collection, resource_for_singular, to_xml_big_decimal, #to_xml_inject_ns, #to_xml_ns

Methods included from Validator

#line_item_size

Methods included from Definition

included, #is_name_list_entity?, #is_transaction_entity?

Constructor Details

This class inherits a constructor from Quickbooks::Model::BaseModel

Instance Method Details

#idObject



7
8
9
# File 'lib/quickbooks/model/item_group_line.rb', line 7

def id
  item_ref.value.to_i
end

#nameObject



11
12
13
# File 'lib/quickbooks/model/item_group_line.rb', line 11

def name
  item_ref.name
end

#typeObject



15
16
17
# File 'lib/quickbooks/model/item_group_line.rb', line 15

def type
  item_ref.type
end