Sha256: 8ce254bd30e59ef58e8581ec26fa98b3753dbf3ac7e26e0d6e8f5d7ad185e62f
Contents?: true
Size: 1.97 KB
Versions: 4
Compression:
Stored size: 1.97 KB
Contents
module NetSuite module Records class CustomerPayment include Support::Fields include Support::RecordRefs include Support::Records include Support::Actions include Namespaces::TranCust actions :get, :get_list, :initialize, :add, :delete, :update, :upsert, :search fields :auth_code, :auto_apply, :cc_approved, :cc_avs_street_match, :cc_avs_zip_match, :cc_expire_date, :cc_name, :cc_number, :cc_security_code, :cc_security_code_match, :cc_street, :cc_zip_code, :charge_it, :check_num, :created_date, :currency_name, :debit_card_issue_no, :exchange_rate, :ignore_avs, :last_modified_date, :memo, :payment, :pn_ref_num, :status, :three_d_status_code, :tran_date, :undep_funds, :valid_from, :tran_id field :custom_field_list, CustomFieldList field :apply_list, CustomerPaymentApplyList field :credit_list, CustomerPaymentCreditList read_only_fields :applied, :balance, :pending, :total, :unapplied record_refs :account, :ar_acct, :credit_card, :credit_card_processor, :custom_form, :customer, :department, :klass, :location, :payment_method, :payment_option, :posting_period, :subsidiary, :currency attr_reader :internal_id attr_accessor :external_id attr_accessor :search_joins 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 def to_record rec = super if rec["#{record_namespace}:customFieldList"] rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList") end rec end def self.search_class_name "Transaction" end def self.search_class_namespace 'tranSales' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems