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


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.


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

19:         # response.

20:         return rq.response
21:       end