Method: NetSuite::Records::TaxType#initialize

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

#initialize(attributes = {}) ⇒ TaxType

Returns a new instance of TaxType.



15
16
17
18
19
# File 'lib/netsuite/records/tax_type.rb', line 15

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