Sha256: e4f29d22012216195ce5477fcf71e552799e15a33cf60e36dc97313033536ac6

Contents?: true

Size: 575 Bytes

Versions: 4

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

require_relative '../account_based_expense_line_detail/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class ExpenseLine
        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/expense_line/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/expense_line/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/expense_line/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/expense_line/deserializer.rb