Sha256: 14fdd6db25a59efcde4a2f4d171b2d272d5ad7b9f5dea607e443ae348700aecf

Contents?: true

Size: 585 Bytes

Versions: 8

Compression:

Stored size: 585 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/serializer'

module LedgerSync
  module Ledgers
    module NetSuite
      class CustomerDeposit
        class Serializer < NetSuite::Serializer
          references_one :account,
                         serializer: Reference::Serializer

          references_one :customer,
                         serializer: Reference::Serializer

          attribute :externalId,
                    resource_attribute: :external_id

          attribute :payment
          attribute :undepFunds
        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/customer_deposit/serializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb