Sha256: 113a17b1bc87f3741755447ece5e2d60b5143f449e3e9ab6591891b6832a0ef4

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class PaymentLineItem
        class Serializer < QuickBooksOnline::Serializer
          amount 'Amount',
                 resource_attribute: :amount

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