AvataxConfigurationSenderData::setProvinceCode()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Odiseo\SyliusAvataxPlugin\Entity;
6
7
class AvataxConfigurationSenderData implements AvataxConfigurationSenderDataInterface
8
{
9
    /** @var int|null */
10
    protected $id;
11
12
    /** @var string|null */
13
    protected $provinceCode;
14
15
    /** @var string|null */
16
    protected $countryCode;
17
18
    /** @var string|null */
19
    protected $street;
20
21
    /** @var string|null */
22
    protected $city;
23
24
    /** @var string|null */
25
    protected $postcode;
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function getId(): ?int
31
    {
32
        return $this->id;
33
    }
34
35
    /**
36
     * {@inheritdoc}
37
     */
38
    public function getProvinceCode(): ?string
39
    {
40
        return $this->provinceCode;
41
    }
42
43
    /**
44
     * {@inheritdoc}
45
     */
46
    public function setProvinceCode(?string $provinceCode): void
47
    {
48
        $this->provinceCode = $provinceCode;
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function getCountryCode(): ?string
55
    {
56
        return $this->countryCode;
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function setCountryCode(?string $countryCode): void
63
    {
64
        $this->countryCode = $countryCode;
65
    }
66
67
    /**
68
     * {@inheritdoc}
69
     */
70
    public function getStreet(): ?string
71
    {
72
        return $this->street;
73
    }
74
75
    /**
76
     * {@inheritdoc}
77
     */
78
    public function setStreet(?string $street): void
79
    {
80
        $this->street = $street;
81
    }
82
83
    /**
84
     * {@inheritdoc}
85
     */
86
    public function getCity(): ?string
87
    {
88
        return $this->city;
89
    }
90
91
    /**
92
     * {@inheritdoc}
93
     */
94
    public function setCity(?string $city): void
95
    {
96
        $this->city = $city;
97
    }
98
99
    /**
100
     * {@inheritdoc}
101
     */
102
    public function getPostcode(): ?string
103
    {
104
        return $this->postcode;
105
    }
106
107
    /**
108
     * {@inheritdoc}
109
     */
110
    public function setPostcode(?string $postcode): void
111
    {
112
        $this->postcode = $postcode;
113
    }
114
}
115