Sha256: 37181f9cd926a003ee7c40ed18a1d50e13498ffbe340be6be758c3a5173ade3c
Contents?: true
Size: 940 Bytes
Versions: 11
Compression:
Stored size: 940 Bytes
Contents
# frozen_string_literal: true require_relative '../invoice_line/serializer' require_relative '../reference/serializer' module LedgerSync module QuickBooksOnline class Invoice class Serializer < QuickBooksOnline::Serializer id date :TxnDate attribute :PrivateNote references_one 'CurrencyRef', resource_attribute: :Currency, serializer: Reference::Serializer references_one 'CustomerRef', resource_attribute: :Customer, serializer: Reference::Serializer references_one 'DepositToAccountRef', resource_attribute: :DepositToAccount, serializer: Reference::Serializer references_many 'Line', resource_attribute: :Line, serializer: InvoiceLine::Serializer end end end end
Version data entries
11 entries across 11 versions & 1 rubygems