Method: NetSuite::Records::PaymentItem#initialize
- Defined in:
- lib/netsuite/records/payment_item.rb
#initialize(attributes = {}) ⇒ PaymentItem
Returns a new instance of PaymentItem.
25 26 27 28 29 |
# File 'lib/netsuite/records/payment_item.rb', line 25 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 |