Sha256: bbfa6a87c258dce8d03f06a0e21b058f852e0a66e56a27942ed46f905d8f7ae0

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require_relative '../sales_item_line_detail/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class InvoiceLine
        class Deserializer < QuickBooksOnline::Deserializer
          id
          amount :Amount
          attribute :Description

          references_one :SalesItemLineDetail,
                         hash_attribute: 'SalesItemLineDetail',
                         deserializer: SalesItemLineDetail::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/invoice_line/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/invoice_line/deserializer.rb