/** * Create a new QuickBooks_Object_ServiceItem object (ServiceItem) */ public function __construct($arr = array(), $is_sales_and_purchase = false) { parent::__construct($arr); if (count($this->getArray('SalesAndPurchase')) > 0) { $is_sales_and_purchase = true; } $this->_is_sales_and_purchase = $is_sales_and_purchase; }
/** * Create a new QuickBooks SalesReceipt SalesReceiptLine object * * @param array $arr */ public function __construct($arr = array()) { parent::__construct($arr); }
public function __construct($arr = array(), $override = '') { $this->_override = $override; parent::__construct($arr); }