Sha256: da185299e859e4f209f9f46b80138830efe9d54b06f8ed5017b1b478c176d4a7

Contents?: true

Size: 1.06 KB

Versions: 31

Compression:

Stored size: 1.06 KB

Contents

module NetSuite
  module Records
    class Deposit
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::TranBank

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

      fields :created_date, :last_modified_date, :currency_name, :exchange_rate, :tran_id, :total, :tran_date, :memo, :to_be_printed

      record_refs :custom_form, :account, :posting_period, :subsidiary, :department, :klass, :location

      field :payment_list,      DepositPaymentList
      field :other_list,        DepositOtherList
      field :cash_back_list,    DepositCashBackList
      field :custom_field_list, CustomFieldList

      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

31 entries across 31 versions & 1 rubygems

Version Path
netsuite-0.7.0 lib/netsuite/records/deposit.rb
netsuite-0.6.9 lib/netsuite/records/deposit.rb
netsuite-0.6.8 lib/netsuite/records/deposit.rb
netsuite-0.6.7 lib/netsuite/records/deposit.rb
netsuite-0.6.6 lib/netsuite/records/deposit.rb
netsuite-0.6.5 lib/netsuite/records/deposit.rb
netsuite-0.6.4 lib/netsuite/records/deposit.rb
netsuite-0.6.3 lib/netsuite/records/deposit.rb
netsuite-0.6.2 lib/netsuite/records/deposit.rb
netsuite-0.6.1 lib/netsuite/records/deposit.rb
netsuite-0.6.0 lib/netsuite/records/deposit.rb
netsuite-0.5.9 lib/netsuite/records/deposit.rb
netsuite-0.5.8 lib/netsuite/records/deposit.rb
netsuite-0.5.7 lib/netsuite/records/deposit.rb
netsuite-0.5.6 lib/netsuite/records/deposit.rb
netsuite-0.5.5 lib/netsuite/records/deposit.rb
netsuite-0.5.4 lib/netsuite/records/deposit.rb
netsuite-0.5.3 lib/netsuite/records/deposit.rb
netsuite-0.5.2 lib/netsuite/records/deposit.rb
netsuite-0.5.1 lib/netsuite/records/deposit.rb