Test Failed
Pull Request — master (#12)
by
unknown
06:46
created

CardHolderInfo::setHomePhoneNumber()   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 1
1
<?php
2
3
namespace Cardinity\Method\Payment;
4
5
class CardHolderInfo
6
{
7
    /** @var string */
8
    private $emailAddress;
9
    
10
    /** @var string */
11
    private $mobilePhoneNumber;
12
    
13
    /** @var string */
14
    private $homePhoneNumber;
15
    
16
    /** @var string */
17
    private $workPhoneNumber;
18
19
20
    /**
21
     * @return STRING email
22
     */
23
    public function getEmailAddress()
24
    {
25
        return $this->emailAddress;
26
    }
27
28
29
    /**
30
     * @param STRING email
31
     * @return VOID
32
     */
33
    public function setEmailAddress(string $emailAddress)
34
    {
35
        $this->emailAddress = $emailAddress;
36
    }
37
38
39
    /**
40
     * @return STRING mobile phone number
41
     */
42
    public function getMobilePhoneNumber()
43
    {
44
        return $this->mobilePhoneNumber;
45
    }
46
47
48
    /**
49
     * @param STRING mobile phone number
50
     * @return VOID
51
     */
52
    public function setMobilePhoneNumber(string $mobilePhoneNumber)
53
    {
54
        $this->mobilePhoneNumber = $mobilePhoneNumber;
55
    }
56
57
58
    /**
59
     * @return STRING home phone number
60
     */
61
    public function getHomePhoneNumber()
62
    {
63
        return $this->homePhoneNumber;
64
    }
65
66
67
    /**
68
     * @param STRING home phone number
69
     * @return VOID
70
     */
71
    public function setHomePhoneNumber(string $homePhoneNumber)
72
    {
73
        $this->homePhoneNumber = $homePhoneNumber;
74
    }
75
76
77
    /**
78
     * @return STRING work phone number
79
     */
80
    public function getWorkPhoneNumber()
81
    {
82
        return $this->workPhoneNumber;
83
    }
84
85
86
    /**
87
     * @param STRING work phone number
88
     * @return VOID
89
     */
90
    public function setWorkPhoneNumber(string $workPhoneNumber)
91
    {
92
        $this->workPhoneNumber = $workPhoneNumber;
93
    }
94
}