| Total Complexity | 8 |
| Total Lines | 97 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 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) |
||
| 94 | } |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @return string |
||
| 98 | */ |
||
| 99 | public function getUsername() |
||
| 102 | } |
||
| 103 | } |
||
| 104 |