Sha256: 3b9483f56ca8b0a496c8a83540437e8510f6d96421606f982e5a787f583599b3
Contents?: true
Size: 808 Bytes
Versions: 13
Compression:
Stored size: 808 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'customer' require_relative 'payment_line' module LedgerSync module QuickBooksOnline class Payment < QuickBooksOnline::Resource attribute :TotalAmt, type: Type::Integer attribute :PrivateNote, type: Type::String attribute :TxnDate, type: Type::Date attribute :ExchangeRate, type: Type::Float attribute :PaymentRefNum, type: Type::String references_one :Customer, to: Customer references_one :DepositToAccount, to: Account references_one :ARAccount, to: Account references_one :Currency, to: Currency references_many :Line, to: PaymentLine def name "Payment: #{self.TotalAmt} #{self.Currency}" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems