Sha256: cfb65d55f5f637504eaa30394adcab92b2bf98913164d5580dead050b2ed35fc

Contents?: true

Size: 508 Bytes

Versions: 14

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Check
      class Deserializer < NetSuite::Deserializer
        id

        attribute :memo

        attribute :trandate

        references_one :account

        references_one :currency

        references_one :department

        attribute :entity,
                  type: Type::DeserializerEntityType.new

        references_many :line_items,
                        hash_attribute: 'expense.items'
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/check/deserializer.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/check/deserializer.rb