Sha256: 1de25932b6f61a48166f2048e655d211d8f4feb2ff1c1964932155062a234374

Contents?: true

Size: 563 Bytes

Versions: 8

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/check/deserializer.rb