CompanyData   A
last analyzed

Complexity

Total Complexity 15

Size/Duplication

Total Lines 101
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 15
lcom 0
cbo 0
dl 0
loc 101
rs 10
c 0
b 0
f 0

15 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getVatNumber() 0 4 1
A setVatNumber() 0 4 1
A getName() 0 4 1
A setName() 0 4 1
A getStreet() 0 4 1
A setStreet() 0 4 1
A getCity() 0 4 1
A setCity() 0 4 1
A getPostcode() 0 4 1
A setPostcode() 0 4 1
A getCountryCode() 0 4 1
A setCountryCode() 0 4 1
A getSeller() 0 4 1
A setSeller() 0 4 1
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusInvoicingPlugin\Entity;
14
15
class CompanyData implements CompanyDataInterface
16
{
17
    /** @var int */
18
    protected $id;
19
20
    /** @var string */
21
    protected $name;
22
23
    /** @var string */
24
    protected $vatNumber;
25
26
    /** @var string */
27
    protected $street;
28
29
    /** @var string */
30
    protected $city;
31
32
    /** @var string */
33
    protected $postcode;
34
35
    /** @var string */
36
    protected $countryCode;
37
38
    /** @var string */
39
    protected $seller;
40
41
    public function getId(): ?int
42
    {
43
        return $this->id;
44
    }
45
46
    public function getVatNumber(): ?string
47
    {
48
        return $this->vatNumber;
49
    }
50
51
    public function setVatNumber(?string $vatNumber): void
52
    {
53
        $this->vatNumber = $vatNumber;
54
    }
55
56
    public function getName(): ?string
57
    {
58
        return $this->name;
59
    }
60
61
    public function setName(?string $name): void
62
    {
63
        $this->name = $name;
64
    }
65
66
    public function getStreet(): ?string
67
    {
68
        return $this->street;
69
    }
70
71
    public function setStreet(?string $street): void
72
    {
73
        $this->street = $street;
74
    }
75
76
    public function getCity(): ?string
77
    {
78
        return $this->city;
79
    }
80
81
    public function setCity(?string $city): void
82
    {
83
        $this->city = $city;
84
    }
85
86
    public function getPostcode(): ?string
87
    {
88
        return $this->postcode;
89
    }
90
91
    public function setPostcode(?string $postcode): void
92
    {
93
        $this->postcode = $postcode;
94
    }
95
96
    public function getCountryCode(): ?string
97
    {
98
        return $this->countryCode;
99
    }
100
101
    public function setCountryCode(?string $countryCode): void
102
    {
103
        $this->countryCode = $countryCode;
104
    }
105
106
    public function getSeller(): ?string
107
    {
108
        return $this->seller;
109
    }
110
111
    public function setSeller(?string $seller): void
112
    {
113
        $this->seller = $seller;
114
    }
115
}
116