Sha256: 2bf9eabde88af3b976646d8a0b312d711dfee73148c8aae558b00efba2c6431e

Contents?: true

Size: 625 Bytes

Versions: 4

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

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

          attribute 'item.ledger_id',
                    hash_attribute: 'SalesItemLineDetail.ItemRef.value'

          attribute 'ledger_class.ledger_id',
                    hash_attribute: 'SalesItemLineDetail.ClassRef.value'

          amount :amount,
                 hash_attribute: 'Amount'

          attribute :description,
                    hash_attribute: 'Description'
        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/invoice_sales_line_item/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb