Method: NetSuite::Records::PriceLevel#initialize
- Defined in:
- lib/netsuite/records/price_level.rb
#initialize(attributes = {}) ⇒ PriceLevel
Returns a new instance of PriceLevel.
19 20 21 22 23 |
# File 'lib/netsuite/records/price_level.rb', line 19 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 |