Class: NetSuite::Records::UnitsTypeUom

Inherits:
Object
  • Object
show all
Includes:
Namespaces::ListAcct, Support::Fields, Support::Records
Defined in:
lib/netsuite/records/units_type_uom.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Namespaces::ListAcct

#record_namespace

Methods included from Support::Records

#record_type, #to_attributes!, #to_record

Methods included from Namespaces::PlatformCore

#record_namespace

Methods included from Support::Attributes

#attributes, #attributes=, #initialize_from_attributes_hash

Methods included from Support::Fields

included

Constructor Details

#initialize(attributes = {}) ⇒ UnitsTypeUom

Returns a new instance of UnitsTypeUom.



13
14
15
16
17
# File 'lib/netsuite/records/units_type_uom.rb', line 13

def initialize(attributes = {})
  @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
  @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
  initialize_from_attributes_hash(attributes)
end

Instance Attribute Details

#internal_idObject (readonly)

Returns the value of attribute internal_id.



11
12
13
# File 'lib/netsuite/records/units_type_uom.rb', line 11

def internal_id
  @internal_id
end