added internal rates (#1591)

This commit is contained in:
Kevin Papst
2020-04-08 14:50:15 +02:00
committed by GitHub
parent 82c713031e
commit 68d703d1e3
128 changed files with 4044 additions and 1571 deletions

View File

@@ -30,6 +30,10 @@ final class InvoiceItem
* @var float
*/
private $rate = 0.00;
/**
* @var float
*/
private $rateInternal = 0.00;
/**
* @var float
*/
@@ -152,6 +156,18 @@ final class InvoiceItem
return $this;
}
public function getInternalRate(): float
{
return $this->rateInternal;
}
public function setInternalRate(float $rateInternal): InvoiceItem
{
$this->rateInternal = $rateInternal;
return $this;
}
public function getAmount(): float
{
return $this->amount;