Buyer   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getLastName() 0 4 1
A getFirstName() 0 4 1
A getMiddleName() 0 4 1
A getPhone() 0 4 1
A getEmail() 0 4 1
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class Buyer extends Model
8
{
9
10
    protected $id = null;
11
12
    protected $lastName = null;
13
14
    protected $firstName = null;
15
16
    protected $middleName = null;
17
18
    protected $phone = null;
19
20
    protected $email = null;
21
22
    protected $mappingClasses = [];
23
24
    protected $propNameMap = [];
25
26
    /**
27
     * Retrieve the id property
28
     *
29
     * @return string|null
30
     */
31 2
    public function getId()
32
    {
33 2
        return $this->id;
34
    }
35
36
    /**
37
     * Retrieve the lastName property
38
     *
39
     * @return string|null
40
     */
41 2
    public function getLastName()
42
    {
43 2
        return $this->lastName;
44
    }
45
46
    /**
47
     * Retrieve the firstName property
48
     *
49
     * @return string|null
50
     */
51 2
    public function getFirstName()
52
    {
53 2
        return $this->firstName;
54
    }
55
56
    /**
57
     * Retrieve the middleName property
58
     *
59
     * @return string|null
60
     */
61 2
    public function getMiddleName()
62
    {
63 2
        return $this->middleName;
64
    }
65
66
    /**
67
     * Retrieve the phone property
68
     *
69
     * @return string|null
70
     */
71 2
    public function getPhone()
72
    {
73 2
        return $this->phone;
74
    }
75
76
    /**
77
     * Retrieve the email property
78
     *
79
     * @return string|null
80
     */
81 2
    public function getEmail()
82
    {
83 2
        return $this->email;
84
    }
85
}
86