Sha256: 1ca61e2a1b6802f750a3fd21c0eef917e2ebf13046ac9923f6b6fdd6806ed426

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/serializer'

module LedgerSync
  module Ledgers
    module NetSuite
      class CheckLineItem
        class Serializer < NetSuite::Serializer
          attribute :amount
          attribute :memo

          references_one :account,
                         serializer: Reference::Serializer

          references_one :department,
                         serializer: Reference::Serializer

          references_one :ledger_class,
                         serializer: Reference::Serializer
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb