for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace InvoiceNinjaModule\Model;
use InvoiceNinjaModule\Model\Interfaces\InvoiceItemInterface;
class InvoiceItem extends Base implements InvoiceItemInterface
{
/** @var string */
private $productKey;
private $notes;
/** @var double */
private $cost;
/** @var int */
private $qty;
private $taxName1;
private $taxRate1;
private $taxName2;
private $taxRate2;
/**
* @return string
*/
public function getProductKey()
return $this->productKey;
}
* @param string $productKey
public function setProductKey($productKey)
$this->productKey = $productKey;
public function getNotes()
return $this->notes;
* @param string $notes
public function setNotes($notes)
$this->notes = $notes;
* @return float
public function getCost()
return $this->cost;
* @param float $cost
public function setCost($cost)
$this->cost = $cost;
* @return int
public function getQty()
return $this->qty;
* @param int $qty
public function setQty($qty)
$this->qty = $qty;
public function getTaxName1()
return $this->taxName1;
* @param string $taxName1
public function setTaxName1($taxName1)
$this->taxName1 = $taxName1;
public function getTaxRate1()
return $this->taxRate1;
* @param float $taxRate1
public function setTaxRate1($taxRate1)
$this->taxRate1 = $taxRate1;
public function getTaxName2()
return $this->taxName2;
* @param string $taxName2
public function setTaxName2($taxName2)
$this->taxName2 = $taxName2;
public function getTaxRate2()
return $this->taxRate2;
* @param float $taxRate2
public function setTaxRate2($taxRate2)
$this->taxRate2 = $taxRate2;