Sha256: dd47949a0fa31ff458570637f830014bc90f4617588ac6e45ab859d3f4faf616

Contents?: true

Size: 591 Bytes

Versions: 15

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/serializer'

module LedgerSync
  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 :class,
                       resource_attribute: :ledger_class,
                       serializer: Reference::Serializer
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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