GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

InvoiceVatItemTrait   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 92
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 60%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 92
ccs 9
cts 15
cp 0.6
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getVatPercent() 0 4 1
A setVatPercent() 0 4 1
A getVatValue() 0 4 1
A setVatValue() 0 4 1
A getCompleteNet() 0 4 1
A setCompleteNet() 0 4 1
1
<?php
2
3
namespace Speicher210\Monsum\Api\Model;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Trait for invoice VAT item.
9
 */
10
trait InvoiceVatItemTrait
11
{
12
    /**
13
     * The invoice item vat percent.
14
     *
15
     * @var string
16
     *
17
     * @JMS\Type("string")
18
     * @JMS\SerializedName("VAT_PERCENT")
19
     */
20
    protected $vatPercent;
21
22
    /**
23
     * The invoice item vat value.
24
     *
25
     * @var string
26
     *
27
     * @JMS\Type("string")
28
     * @JMS\SerializedName("VAT_VALUE")
29
     */
30
    protected $vatValue;
31
32
    /**
33
     * The invoice item complete net value.
34
     *
35
     * @var string
36
     *
37
     * @JMS\Type("string")
38
     * @JMS\SerializedName("COMPLETE_NET")
39
     */
40
    protected $completeNet;
41
42
    /**
43
     * Get the VAT percent.
44
     *
45
     * @return string
46
     */
47
    public function getVatPercent()
48
    {
49
        return $this->vatPercent;
50
    }
51
52
    /**
53
     * Set the VAT percent.
54
     *
55
     * @param string $vatPercent
56
     */
57 6
    public function setVatPercent($vatPercent)
58
    {
59 6
        $this->vatPercent = $vatPercent;
60 6
    }
61
62
    /**
63
     * Get the VAT value.
64
     *
65
     * @return string
66
     */
67
    public function getVatValue()
68
    {
69
        return $this->vatValue;
70
    }
71
72
    /**
73
     * Set the VAT value.
74
     *
75
     * @param string $vatValue
76
     */
77 6
    public function setVatValue($vatValue)
78
    {
79 6
        $this->vatValue = $vatValue;
80 6
    }
81
82
    /**
83
     * Get the complete net value.
84
     *
85
     * @return string
86
     */
87
    public function getCompleteNet()
88
    {
89
        return $this->completeNet;
90
    }
91
92
    /**
93
     * Set the complete net value.
94
     *
95
     * @param string $completeNet
96
     */
97 6
    public function setCompleteNet($completeNet)
98
    {
99 6
        $this->completeNet = $completeNet;
100 6
    }
101
}
102