/** * Set Quotation Line unit by unit number * * @param mixed $quotationLineHandle [description] * @param integer $unit * @return boolean */ public function unit($quotationLineHandle, $unit) { $units = new Unit($this->client_raw); $unitHandle = $units->getHandle($unit); $this->client->QuotationLine_SetUnit(['quotationLineHandle' => $quotationLineHandle, 'valueHandle' => $unitHandle]); return true; }