Sha256: f5bdab60f99397e4a91f2d7b709fbe271071c8105abba588e9b5e545490066af
Contents?: true
Size: 901 Bytes
Versions: 4
Compression:
Stored size: 901 Bytes
Contents
# frozen_string_literal: true require_relative '../currency/serializer' require_relative '../journal_entry_line_item/serializer' module LedgerSync module Ledgers module QuickBooksOnline class JournalEntry class Serializer < QuickBooksOnline::Serializer id references_one :CurrencyRef, resource_attribute: :currency, serializer: Currency::Serializer date 'TxnDate', resource_attribute: :transaction_date attribute 'PrivateNote', resource_attribute: :memo attribute 'DocNumber', resource_attribute: :reference_number references_many 'Line', resource_attribute: :line_items, serializer: JournalEntryLineItem::Serializer end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems