Sha256: f7d18ae85a00c18fd3bf31ac10080067250e3a9ade96ac3cb1b32446d03a50e5
Contents?: true
Size: 824 Bytes
Versions: 4
Compression:
Stored size: 824 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'bill_line_item' require_relative 'currency' require_relative 'department' require_relative 'vendor' module LedgerSync module Ledgers module QuickBooksOnline class Bill < QuickBooksOnline::Resource attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :due_date, type: Type::Date attribute :reference_number, type: Type::String references_one :vendor, to: Vendor references_one :account, to: Account references_one :department, to: Department references_one :currency, to: Currency references_many :line_items, to: BillLineItem def name "Bill: #{transaction_date}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems