InvoiceVatItemTrait::setVatValue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Speicher210\Fastbill\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