base.rb

Path: lib/quickbooks/base.rb
Last Update: Tue Apr 15 12:45:44 -0400 2008

Contains Quickbooks::Base, which inherits from Quickbooks::Model. Simple objects like BillAddress and CreditCardInfo also inherit from Quickbooks::Model, but any objects that are stored as their own ‘entity’ are below Quickbooks::Base in the inheritance tree. Two models inherit directly from Quickbooks::Base: ListItem and Transaction. All other whole-entity models inherit from either of these. Only a couple are written so far, as I‘ve had use for them. They‘re pretty easy to write though — take a look at customer.rb, for example: all that needs defining for most models is any filters (and aliases) specific to that model, and a listing of that model‘s attributes. If you write a model, please send in your code to gems@behindlogic.com!

Inherits from ListItem:

  • Account
  • Account List
  • BillingRate
  • Class
  • Currency
  • Customer
  • CustomerMessage
  • CustomerType
  • DateDrivenTerms
  • Employee
  • ItemDiscount
  • ItemFixedAsset
  • ItemGroup
  • ItemInventory
  • ItemInventoryAssembly
  • ItemNonInventory
  • ItemOtherCharge
  • ItemPayment
  • ItemSalesTax
  • ItemSalesTaxGroup
  • ItemService
  • ItemSubtotal
  • JobType
  • OtherName
  • PaymentMethod
  • PayrollItemNonWage
  • PayrollItemWage
  • PriceLevel
  • SalesRep
  • SalesTaxCode
  • ShipMethod
  • StandardTerms
  • TaxCode
  • Template
  • ToDo
  • Vehicle
  • Vendor
  • VendorType

Inherits from Transaction:

  • Bill
  • BillPaymentCheck
  • BillPaymentCreditCard
  • BuildAssembly
  • Charge
  • Check
  • CreditCardCharge
  • CreditCardCredit
  • CreditCardRefund
  • CreditMemo
  • Deposit
  • Estimate
  • InventoryAdjustment
  • Invoice
  • ItemReceipt
  • JournalEntry
  • PurchaseOrder
  • ReceivePayment
  • SalesOrder
  • SalesReceipt
  • SalesTaxPaymentCheck
  • TimeTracking
  • VehicleMileage
  • VendorCredit

Required files

quickbooks/model   qbxml  

[Validate]