Sha256: 9f6287ef58fc02178e18dc4c475c77d8309320e3891db1e3963990fbf19c699f
Contents?: true
Size: 722 Bytes
Versions: 4
Compression:
Stored size: 722 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class InvoiceSalesLineItem class Serializer < QuickBooksOnline::Serializer id attribute 'DetailType' do 'SalesItemLineDetail' end attribute 'SalesItemLineDetail.ItemRef.value', resource_attribute: 'item.ledger_id' attribute 'SalesItemLineDetail.ClassRef.value', resource_attribute: 'ledger_class.ledger_id' amount 'Amount', resource_attribute: :amount attribute 'Description', resource_attribute: :description end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems