Class QBFC::Item
In: lib/qbfc/item.rb
Parent: List

Methods

Public Class methods

Adds a SpecialItem.

item_type should be a constent, for example:

  Account.add_special(sess, QBFC_CONST::SitFinanceCharge)

See SDK docs for SpecialItemAdd for more details.

[Source]

    # File lib/qbfc/item.rb, line 14
14:       def add_special(sess, item_type)
15:         rq = QBFC::Request.new(sess, "SpecialItemAdd")
16:         rq.special_item_type = item_type
17:         
18:         # Insofar as I never actually plan to use this method, just return

19:         # response.

20:         return rq.response
21:       end

[Validate]