Sha256: 92d94ab3c1a17569d553ecbc38e5adec5baea67f24f21d46fccef6616838e2ec
Contents?: true
Size: 667 Bytes
Versions: 13
Compression:
Stored size: 667 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'department' require_relative 'deposit_line' module LedgerSync module QuickBooksOnline class Deposit < QuickBooksOnline::Resource attribute :PrivateNote, type: Type::String attribute :TxnDate, type: Type::Date attribute :ExchangeRate, type: Type::Float references_one :DepositToAccount, to: Account references_one :Department, to: Department references_one :Currency, to: Currency references_many :Line, to: DepositLine def name "Deposit: #{self.Currency.try(:symbol)}" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems