NestPay::setPassword()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Paranoia\Configuration;
4
5
class NestPay extends AbstractConfiguration
6
{
7
8
    /**
9
     * @var string
10
     */
11
    private $clientId;
12
13
    /**
14
     * @var string
15
     */
16
    private $username;
17
18
    /**
19
     * @var string
20
     */
21
    private $password;
22
23
    /**
24
     * @var string
25
     */
26
    private $mode;
27
28
    /**
29
     * @param string $clientId
30
     *
31
     * @return $this
32
     */
33
    public function setClientId($clientId)
34
    {
35
        $this->clientId = $clientId;
36
        return $this;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getClientId()
43
    {
44
        return $this->clientId;
45
    }
46
47
    /**
48
     * @param string $mode
49
     *
50
     * @return $this
51
     */
52
    public function setMode($mode)
53
    {
54
        $this->mode = $mode;
55
        return $this;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getMode()
62
    {
63
        return $this->mode;
64
    }
65
66
    /**
67
     * @param string $password
68
     *
69
     * @return $this
70
     */
71
    public function setPassword($password)
72
    {
73
        $this->password = $password;
74
        return $this;
75
    }
76
77
    /**
78
     * @return string
79
     */
80
    public function getPassword()
81
    {
82
        return $this->password;
83
    }
84
85
    /**
86
     * @param string $username
87
     *
88
     * @return $this
89
     */
90
    public function setUsername($username)
91
    {
92
        $this->username = $username;
93
        return $this;
94
    }
95
96
    /**
97
     * @return string
98
     */
99
    public function getUsername()
100
    {
101
        return $this->username;
102
    }
103
}
104