Sha256: 224a3eed338b6b599e62824ee3795462aff4eb68449b01adaf189e923c2b5c23
Contents?: true
Size: 718 Bytes
Versions: 4
Compression:
Stored size: 718 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'customer' require_relative 'invoice_sales_line_item' module LedgerSync module Ledgers module QuickBooksOnline class Invoice < QuickBooksOnline::Resource attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :deposit, type: Type::Integer references_one :customer, to: Customer references_one :account, to: Account references_one :currency, to: Currency references_many :line_items, to: InvoiceSalesLineItem def name "Invoice: #{transaction_date}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems