| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ShipmentPriceAmount |
||
| 16 | { |
||
| 17 | private ?float $amount = null; |
||
| 18 | |||
| 19 | private ?float $percent = null; |
||
| 20 | |||
| 21 | private ?float $vatPercent = null; |
||
| 22 | |||
| 23 | 1 | public function getAmount(): ?float |
|
| 24 | { |
||
| 25 | 1 | return $this->amount; |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function setAmount(float $amount): void |
|
| 29 | { |
||
| 30 | 1 | $this->amount = $amount; |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function getPercent(): ?float |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | public function setPercent(float $percent): void |
|
| 41 | } |
||
| 42 | |||
| 43 | 1 | public function getVatPercent(): ?float |
|
| 44 | { |
||
| 45 | 1 | return $this->vatPercent; |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | public function setVatPercent(float $vatPercent): void |
|
| 51 | } |
||
| 52 | } |
||
| 53 |