Sha256: 97fdb833fbdc7d00ee876591031fb8e26cf1b434baad0a81e4c3b49981829590
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
# frozen_string_literal: true require_relative '../reference/deserializer' require_relative '../payment_line/deserializer' module LedgerSync module QuickBooksOnline class Payment class Deserializer < QuickBooksOnline::Deserializer id amount :TotalAmt attribute :PaymentRefNum attribute :PrivateNote attribute :ExchangeRate date :TxnDate references_one :Currency, hash_attribute: 'CurrencyRef', deserializer: Reference::Deserializer references_one :Customer, hash_attribute: 'CustomerRef', deserializer: Reference::Deserializer references_one :DepositToAccount, hash_attribute: 'DepositToAccountRef', deserializer: Reference::Deserializer references_one :ARAccount, hash_attribute: 'ARAccountRef', deserializer: Account::Deserializer references_many :Line, hash_attribute: 'Line', deserializer: PaymentLine::Deserializer end end end end
Version data entries
4 entries across 4 versions & 1 rubygems