Method: NetSuite::Records::CustomerPayment#initialize

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

#initialize(attributes = {}) ⇒ CustomerPayment

Returns a new instance of CustomerPayment.



29
30
31
32
33
# File 'lib/netsuite/records/customer_payment.rb', line 29

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