| Total Complexity | 8 |
| Total Lines | 94 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class Posnet extends AbstractConfiguration |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var int |
||
| 8 | */ |
||
| 9 | private $merchantId; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $terminalId; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $username; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $password; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param int $merchantId |
||
| 28 | * |
||
| 29 | * @return $this |
||
| 30 | */ |
||
| 31 | public function setMerchantId($merchantId) |
||
| 32 | { |
||
| 33 | $this->merchantId = $merchantId; |
||
| 34 | return $this; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return int |
||
| 39 | */ |
||
| 40 | public function getMerchantId() |
||
| 41 | { |
||
| 42 | return $this->merchantId; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param int $terminalId |
||
| 47 | * |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setTerminalId($terminalId) |
||
| 51 | { |
||
| 52 | $this->terminalId = $terminalId; |
||
| 53 | return $this; |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return int |
||
| 58 | */ |
||
| 59 | public function getTerminalId() |
||
| 60 | { |
||
| 61 | return $this->terminalId; |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getUsername() |
||
| 68 | { |
||
| 69 | return $this->username; |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $username |
||
| 74 | * @return Posnet |
||
| 75 | */ |
||
| 76 | public function setUsername($username) |
||
| 80 | } |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @return string |
||
| 84 | */ |
||
| 85 | public function getPassword() |
||
| 88 | } |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @param string $password |
||
| 92 | * @return Posnet |
||
| 93 | */ |
||
| 94 | public function setPassword($password) |
||
| 100 |