Class: NetSuite::Records::CustomerCurrency

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

Instance Method Summary collapse

Methods included from Namespaces::ListRel

#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::RecordRefs

included

Methods included from Support::Fields

included

Constructor Details

#initialize(attributes_or_record = {}) ⇒ CustomerCurrency

Returns a new instance of CustomerCurrency.



17
18
19
20
21
22
23
24
# File 'lib/netsuite/records/customer_currency.rb', line 17

def initialize(attributes_or_record = {})
  case attributes_or_record
  when Hash
    initialize_from_attributes_hash(attributes_or_record)
  when self.class
    initialize_from_record(attributes_or_record)
  end
end