Sha256: feaf6dca19e42d8c443fbaff26fc84258863d1df22a47588729ab6c5feff1ba0
Contents?: true
Size: 729 Bytes
Versions: 4
Compression:
Stored size: 729 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class ExpenseLineItem class Serializer < QuickBooksOnline::Serializer id attribute('DetailType') { 'AccountBasedExpenseLineDetail' } attribute 'AccountBasedExpenseLineDetail.AccountRef.value', resource_attribute: 'account.ledger_id' attribute 'AccountBasedExpenseLineDetail.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