Completed
Push — 1.4-password-hashing-2 ( b79be0 )
by Kamil
16:31
created

ShopBillingData::getCountryCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Sylius\Component\Core\Model;
15
16
/** @final */
17
class ShopBillingData implements ShopBillingDataInterface
18
{
19
    /** @var int|null */
20
    protected $id;
21
22
    /** @var string|null */
23
    protected $company;
24
25
    /** @var string|null */
26
    protected $taxId;
27
28
    /** @var string|null */
29
    protected $countryCode;
30
31
    /** @var string|null */
32
    protected $street;
33
34
    /** @var string|null */
35
    protected $city;
36
37
    /** @var string|null */
38
    protected $postcode;
39
40
    public function getCompany(): ?string
41
    {
42
        return $this->company;
43
    }
44
45
    public function setCompany(?string $company): void
46
    {
47
        $this->company = $company;
48
    }
49
50
    public function getTaxId(): ?string
51
    {
52
        return $this->taxId;
53
    }
54
55
    public function setTaxId(?string $taxId): void
56
    {
57
        $this->taxId = $taxId;
58
    }
59
60
    public function getCountryCode(): ?string
61
    {
62
        return $this->countryCode;
63
    }
64
65
    public function setCountryCode(?string $countryCode): void
66
    {
67
        $this->countryCode = $countryCode;
68
    }
69
70
    public function getStreet(): ?string
71
    {
72
        return $this->street;
73
    }
74
75
    public function setStreet(?string $street): void
76
    {
77
        $this->street = $street;
78
    }
79
80
    public function getCity(): ?string
81
    {
82
        return $this->city;
83
    }
84
85
    public function setCity(?string $city): void
86
    {
87
        $this->city = $city;
88
    }
89
90
    public function getPostcode(): ?string
91
    {
92
        return $this->postcode;
93
    }
94
95
    public function setPostcode(?string $postcode): void
96
    {
97
        $this->postcode = $postcode;
98
    }
99
}
100