Sha256: 0dd96184718d37f734d79ece5dc299b958ed8e858d255d807cfde41fb7041fdb
Contents?: true
Size: 753 Bytes
Versions: 7
Compression:
Stored size: 753 Bytes
Contents
require 'gecko/record/base' module Gecko module Record class Invoice < Base belongs_to :order belongs_to :shipping_address belongs_to :billing_address belongs_to :payment_term has_many :invoice_line_items attribute :invoice_number, String attribute :invoiced_at, Date attribute :due_at, Date attribute :notes, String attribute :exchange_rate, BigDecimal attribute :destination_url, String, readonly: true attribute :document_url, String, readonly: true attribute :created_at, DateTime, readonly: true attribute :updated_at, DateTime, readonly: true end class InvoiceAdapter < BaseAdapter end end end
Version data entries
7 entries across 7 versions & 1 rubygems