InvoiceVatItem   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 18
ccs 5
cts 5
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Speicher210\Fastbill\Api\Model;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Invoice vat item model.
9
 */
10
class InvoiceVatItem
11
{
12
    use InvoiceVatItemTrait;
13
14
    /**
15
     * Constructor.
16
     *
17
     * @param string $vatPercent The vat percent.
18
     * @param integer $vatValue The vat value.
19
     * @param string $completeNet The complete net.
20
     */
21 6
    public function __construct($vatPercent, $vatValue, $completeNet)
22
    {
23 6
        $this->setVatPercent($vatPercent);
24 6
        $this->setVatValue($vatValue);
25 6
        $this->setCompleteNet($completeNet);
26 6
    }
27
}
28