Sha256: d8326ddd4617242086071ef50d35dd0aa7149adfadfcc07577bd88638eeb8243
Contents?: true
Size: 853 Bytes
Versions: 4
Compression:
Stored size: 853 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'customer' require_relative 'payment_line' module LedgerSync module Ledgers 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: #{amount} #{currency}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems