Sha256: f19f5040c5b4165c37d87e7f036c6de7f8be721a800fa981c35fbdc5d1cb8ee9
Contents?: true
Size: 599 Bytes
Versions: 4
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' module LedgerSync module Ledgers module QuickBooksOnline class Transfer < QuickBooksOnline::Resource attribute :Amount, type: Type::Integer attribute :PrivateNote, type: Type::String attribute :TxnDate, type: Type::Date references_one :FromAccount, to: Account references_one :ToAccount, to: Account references_one :Currency, to: Currency def name "Transfer: #{self.Amount} #{self.Currency}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems