Class: DearInventory::Models::Sales

Inherits:
DearInventory::Model show all
Extended by:
T::Sig
Defined in:
lib/dear_inventory/models/sales.rb,
lib/dear_inventory/models/sales/line.rb,
lib/dear_inventory/models/sales/order.rb,
lib/dear_inventory/models/sales/quote.rb,
lib/dear_inventory/models/sales/invoice.rb,
lib/dear_inventory/models/sales/fulfilment.rb,
lib/dear_inventory/models/sales/credit_note.rb,
lib/dear_inventory/models/sales/invoice_line.rb,
lib/dear_inventory/models/sales/payment_line.rb,
lib/dear_inventory/models/sales/manual_journal.rb,
lib/dear_inventory/models/sales/fulfilments/ship.rb,
lib/dear_inventory/models/sales/additional_charge.rb,
lib/dear_inventory/models/sales/manual_journal_line.rb,
lib/dear_inventory/models/sales/fulfilments/pick_pack.rb,
lib/dear_inventory/models/sales/fulfilments/ship_line.rb,
lib/dear_inventory/models/sales/invoice_additional_charge.rb,
lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb

Defined Under Namespace

Classes: AdditionalCharge, CreditNote, Fulfilment, Fulfilments, Invoice, InvoiceAdditionalCharge, InvoiceLine, Line, ManualJournal, ManualJournalLine, Order, PaymentLine, Quote

Instance Method Summary collapse

Methods inherited from DearInventory::Model

define_readers, enumerate_fields, fields, #initialize, #initialize_abstract, #to_h

Methods included from IsASubclass

#is_a?

Constructor Details

This class inherits a constructor from DearInventory::Model

Instance Method Details

#full_recordObject



133
134
135
# File 'lib/dear_inventory/models/sales.rb', line 133

def full_record
  DearInventory::Sale.show(id: T.unsafe(self).id)
end