Method: NetSuite::Records::InventoryTransfer#initialize

Defined in:
lib/netsuite/records/inventory_transfer.rb

#initialize(attributes = {}) ⇒ InventoryTransfer

Returns a new instance of InventoryTransfer.



22
23
24
25
26
# File 'lib/netsuite/records/inventory_transfer.rb', line 22

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