Sha256: b7e88a71d851de5ad8bf2784c0b8e4b941800a761debb0ad69c95f4fd0bd6d02
Contents?: true
Size: 1.2 KB
Versions: 7
Compression:
Stored size: 1.2 KB
Contents
# frozen_string_literal: true require_relative '../account/deserializer' 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
7 entries across 7 versions & 1 rubygems