Sha256: 4a39b2caa83cc1d8b8623cf456b3b0a34ed2461094526c5d456693c121777152

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 Bytes

Contents

# frozen_string_literal: true

require_relative '../account_based_expense_line_detail/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class BillLine
        class Deserializer < QuickBooksOnline::Deserializer
          id

          amount :Amount
          attribute :Description

          references_one :AccountBasedExpenseLineDetail,
                         hash_attribute: 'AccountBasedExpenseLineDetail',
                         deserializer: AccountBasedExpenseLineDetail::Deserializer
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/bill_line/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/bill_line/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/bill_line/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/bill_line/deserializer.rb