Completed
Push — master ( 05681b...a3de24 )
by Mikołaj
02:05
created

CompanyData::getCountryCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
    /**
18
     * @var int
19
     */
20
    protected $id;
21
22
    /**
23
     * @var string
24
     */
25
    protected $name;
26
27
    /**
28
     * @var string
29
     */
30
    protected $vatNumber;
31
32
    /**
33
     * @var string
34
     */
35
    protected $street;
36
37
    /**
38
     * @var string
39
     */
40
    protected $city;
41
42
    /**
43
     * @var string
44
     */
45
    protected $postcode;
46
47
    /**
48
     * @var string
49
     */
50
    protected $countryCode;
51
52
    /**
53
     * @var string
54
     */
55
    protected $seller;
56
57
    /**
58
     * {@inheritdoc}
59
     */
60
    public function getId(): ?int
61
    {
62
        return $this->id;
63
    }
64
65
    /**
66
     * {@inheritdoc}
67
     */
68
    public function getVatNumber(): ?string
69
    {
70
        return $this->vatNumber;
71
    }
72
73
    /**
74
     * {@inheritdoc}
75
     */
76
    public function setVatNumber(?string $vatNumber): void
77
    {
78
        $this->vatNumber = $vatNumber;
79
    }
80
81
    /**
82
     * {@inheritdoc}
83
     */
84
    public function getName(): ?string
85
    {
86
        return $this->name;
87
    }
88
89
    /**
90
     * {@inheritdoc}
91
     */
92
    public function setName(?string $name): void
93
    {
94
        $this->name = $name;
95
    }
96
97
    /**
98
     * {@inheritdoc}
99
     */
100
    public function getStreet(): ?string
101
    {
102
        return $this->street;
103
    }
104
105
    /**
106
     * {@inheritdoc}
107
     */
108
    public function setStreet(?string $street): void
109
    {
110
        $this->street = $street;
111
    }
112
113
    /**
114
     * {@inheritdoc}
115
     */
116
    public function getCity(): ?string
117
    {
118
        return $this->city;
119
    }
120
121
    /**
122
     * {@inheritdoc}
123
     */
124
    public function setCity(?string $city): void
125
    {
126
        $this->city = $city;
127
    }
128
129
    /**
130
     * {@inheritdoc}
131
     */
132
    public function getPostcode(): ?string
133
    {
134
        return $this->postcode;
135
    }
136
137
    /**
138
     * {@inheritdoc}
139
     */
140
    public function setPostcode(?string $postcode): void
141
    {
142
        $this->postcode = $postcode;
143
    }
144
145
    /**
146
     * {@inheritdoc}
147
     */
148
    public function getCountryCode(): ?string
149
    {
150
        return $this->countryCode;
151
    }
152
153
    /**
154
     * {@inheritdoc}
155
     */
156
    public function setCountryCode(?string $countryCode): void
157
    {
158
        $this->countryCode = $countryCode;
159
    }
160
161
    /**
162
     * {@inheritdoc}
163
     */
164
    public function getSeller(): ?string
165
    {
166
        return $this->seller;
167
    }
168
169
    /**
170
     * {@inheritdoc}
171
     */
172
    public function setSeller(?string $seller): void
173
    {
174
        $this->seller = $seller;
175
    }
176
}
177