Sha256: c6fcc231bc68c8617fa8ec7e7cf562df39e757cf8e0166cbcce4fdb7ba1e2a1f

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class PaymentLineItem
        class Deserializer < QuickBooksOnline::Deserializer
          amount :amount,
                 hash_attribute: 'Amount'

          attribute :ledger_transactions,
                    hash_attribute: 'LinkedTxn',
                    type: Serialization::Type::DeserializeTransactionReferenceType.new
        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/quickbooks_online/payment_line_item/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb