Sha256: aaa3c1f8e69c745bbe364ea8bdd42f74521e37ca362cc2da09421288d5aff6bd
Contents?: true
Size: 742 Bytes
Versions: 9
Compression:
Stored size: 742 Bytes
Contents
module NetSuite module Records class CashRefundItem include Support::Fields include Support::RecordRefs include Support::Records include Namespaces::TranCust fields :amount, :rate, :quantity, :is_taxable, :order_line, :line, :description field :custom_field_list, CustomFieldList record_refs :item, :klass, :price def initialize(attributes_or_record = {}) initialize_from_attributes_hash(attributes_or_record) end def to_record rec = super if rec["#{record_namespace}:customFieldList"] rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList") end rec end end end end
Version data entries
9 entries across 9 versions & 1 rubygems