Sha256: ea434a7066aeeff4277217e03e3d924e9075a453f7c0e2f0bac2b0afbd0e7ecb
Contents?: true
Size: 709 Bytes
Versions: 4
Compression:
Stored size: 709 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'department' require_relative 'deposit_line_item' module LedgerSync module Ledgers module QuickBooksOnline class Deposit < QuickBooksOnline::Resource attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :exchange_rate, type: Type::Float references_one :account, to: Account references_one :department, to: Department references_one :currency, to: Currency references_many :line_items, to: DepositLineItem def name "Deposit: #{currency}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems