Class: NetSuite::Records::Price
- Inherits:
-
Object
- Object
- NetSuite::Records::Price
- Includes:
- Namespaces::ListAcct, Support::Fields, Support::Records
- Defined in:
- lib/netsuite/records/price.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Price
constructor
A new instance of Price.
Methods included from Namespaces::ListAcct
Methods included from Support::Records
#netsuite_type, netsuite_type, #record_type, #record_type_without_namespace, record_type_without_namespace, #refresh, #to_attributes!, #to_record
Methods included from Namespaces::PlatformCore
Methods included from Support::Attributes
#attributes, #attributes=, #initialize_from_attributes_hash
Methods included from Support::Fields
Constructor Details
#initialize(attributes = {}) ⇒ Price
Returns a new instance of Price.
10 11 12 13 14 |
# File 'lib/netsuite/records/price.rb', line 10 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 |