for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace InvoiceNinjaModule\Model;
class Product extends Base
{
/** @var string */
private $productKey;
private $notes;
/** @var float */
private $cost;
private $qty;
/** @var int */
private $defaultTaxRateId;
/**
* @return string
*/
public function getProductKey() : string
return $this->productKey;
}
* @param string $productKey
public function setProductKey(string $productKey)
$this->productKey = $productKey;
public function getNotes() : string
return $this->notes;
* @param string $notes
public function setNotes(string $notes)
$this->notes = $notes;
* @return float
public function getCost() : float
return $this->cost;
* @param float $cost
public function setCost(float $cost)
$this->cost = $cost;
public function getQty() : float
return $this->qty;
* @param float $qty
public function setQty(float $qty)
$this->qty = $qty;
* @return int
public function getDefaultTaxRateId() : int
return $this->defaultTaxRateId;
* @param int $defaultTaxRateId
public function setDefaultTaxRateId(int $defaultTaxRateId)
$this->defaultTaxRateId = $defaultTaxRateId;