Sha256: 0bbe44b2df048fe1c511cbf512a797ded455f8297222c60a89af7fe012fb5ccf
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'customer' require_relative 'invoice_line' module LedgerSync module Ledgers module QuickBooksOnline class Invoice < QuickBooksOnline::Resource attribute :PrivateNote, type: Type::String attribute :TxnDate, type: Type::Date attribute :Deposit, type: Type::Integer references_one :Customer, to: Customer references_one :DepositToAccount, to: Account references_one :Currency, to: Currency references_many :Line, to: InvoiceLine def name "Invoice: #{transaction_date}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems