class NetSuite::Records::CashRefundItem

Public Class Methods

new(attributes_or_record = {}) click to toggle source
# File lib/netsuite/records/cash_refund_item.rb, line 14
def initialize(attributes_or_record = {})
  initialize_from_attributes_hash(attributes_or_record)
end

Public Instance Methods

to_record() click to toggle source
Calls superclass method NetSuite::Support::Records#to_record
# File lib/netsuite/records/cash_refund_item.rb, line 18
def to_record
  rec = super
  if rec["#{record_namespace}:customFieldList"]
    rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList")
  end
  rec
end