Completed
Pull Request — master (#195)
by
unknown
08:54
created

Buyer::setFirstName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
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