Sha256: c7cabe7e26a24996d7c0c26f0181835eb1072b8443e9b24e669e573403b6421d

Contents?: true

Size: 486 Bytes

Versions: 13

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

require_relative '../sales_item_line_detail/deserializer'

module LedgerSync
  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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-2.0.0 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/invoice_line/deserializer.rb