GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

OrderBilling   A
last analyzed

Complexity

Total Complexity 12

Size/Duplication

Total Lines 144
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 12
lcom 0
cbo 1
dl 0
loc 144
ccs 0
cts 54
cp 0
rs 10
c 0
b 0
f 0

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getFirstName() 0 4 1
A setFirstName() 0 6 1
A getLastName() 0 4 1
A setLastName() 0 6 1
A getStreet() 0 4 1
A setStreet() 0 6 1
A getZipcode() 0 4 1
A setZipcode() 0 6 1
A getCity() 0 4 1
A setCity() 0 6 1
1
<?php
2
/**
3
 * Neta\Shopware\SDK\Entity.
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author    Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
11
namespace Neta\Shopware\SDK\Entity;
12
13
/**
14
 * Class OrderBilling.
15
 */
16
class OrderBilling extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $firstname;
26
    /**
27
     * @var string
28
     */
29
    protected $lastname;
30
    /**
31
     * @var string
32
     */
33
    protected $street;
34
    /**
35
     * @var string
36
     */
37
    protected $zipcode;
38
    /**
39
     * @var string
40
     */
41
    protected $city;
42
43
    /**
44
     * @return int
45
     */
46
    public function getId()
47
    {
48
        return $this->id;
49
    }
50
51
    /**
52
     * @param int $id
53
     *
54
     * @return OrderBilling
55
     */
56
    public function setId($id)
57
    {
58
        $this->id = $id;
59
60
        return $this;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getFirstName()
67
    {
68
        return $this->firstname;
69
    }
70
71
    /**
72
     * @param string $firstname
73
     *
74
     * @return OrderBilling
75
     */
76
    public function setFirstName($firstname)
77
    {
78
        $this->firstname = $firstname;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function getLastName()
87
    {
88
        return $this->lastname;
89
    }
90
91
    /**
92
     * @param string $lastname
93
     *
94
     * @return OrderBilling
95
     */
96
    public function setLastName($lastname)
97
    {
98
        $this->lastname = $lastname;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @return string
105
     */
106
    public function getStreet()
107
    {
108
        return $this->street;
109
    }
110
111
    /**
112
     * @param $street
113
     * @return OrderBilling
114
     */
115
    public function setStreet($street)
116
    {
117
        $this->street = $street;
118
119
        return $this;
120
    }
121
122
    /**
123
     * @return string
124
     */
125
    public function getZipcode()
126
    {
127
        return $this->zipcode;
128
    }
129
130
    /**
131
     * @param $zipcode
132
     * @return OrderBilling
133
     */
134
    public function setZipcode($zipcode)
135
    {
136
        $this->zipcode = $zipcode;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @return string
143
     */
144
    public function getCity()
145
    {
146
        return $this->city;
147
    }
148
149
    /**
150
     * @param $city
151
     * @return OrderBilling
152
     */
153
    public function setCity($city)
154
    {
155
        $this->city = $city;
156
157
        return $this;
158
    }
159
}
160