for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of datamolino client.
*
* (c) 2018 cwd.at GmbH <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Cwd\Datamolino\Model\Document;
class TaxLine
{
/** @var int */
private $percent;
/** @var float */
private $sub_total = 0;
private $vat_total = 0;
private $total = 0;
/**
* @return int
public function getPercent(): int
return $this->percent;
}
* @param int $percent
* @return TaxLine
public function setPercent(int $percent): TaxLine
$this->percent = $percent;
return $this;
* @return float
public function getSubTotal(): float
return $this->sub_total;
* @param float $sub_total
public function setSubTotal(float $sub_total): TaxLine
$this->sub_total = $sub_total;
public function getVatTotal(): float
return $this->vat_total;
* @param float $vat_total
public function setVatTotal(float $vat_total): TaxLine
$this->vat_total = $vat_total;
public function getTotal(): float
return $this->total;
* @param float $total
public function setTotal(float $total): TaxLine
$this->total = $total;