Sha256: 702a60b3c2fec983d7a53452810b6b4d81d4204cb78994ab28c1302807b8ba48

Contents?: true

Size: 1.12 KB

Versions: 11

Compression:

Stored size: 1.12 KB

Contents

module NetSuite
  module Records

    # https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2014_1/schema/record/customerdeposit.html

    class CustomerDeposit
      include Support::Actions
      include Support::RecordRefs
      include Support::Fields
      include Support::Records
      include Namespaces::TranCust


      actions :get, :get_list, :initialize, :add, :delete, :update, :upsert

      fields :created_date, :last_modified_date, :status, :payment, :tran_date, :exchange_rate, :undep_funds, :memo,
             :check_num, :klass, :currency_name, :is_recurring_payment

      field :custom_field_list, CustomFieldList

      record_refs :customer, :sales_order, :account, :department, :payment_method, :custom_form, :currency, :posting_period

      attr_reader :internal_id
      attr_accessor :external_id

      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
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
netsuite-0.5.8 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.7 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.6 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.5 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.4 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.3 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.2 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.1 lib/netsuite/records/customer_deposit.rb
netsuite-0.5.0 lib/netsuite/records/customer_deposit.rb
netsuite-0.4.9 lib/netsuite/records/customer_deposit.rb
netsuite-0.4.8 lib/netsuite/records/customer_deposit.rb