| Total Complexity | 6 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class MoneyTransferPremium |
||
| 15 | { |
||
| 16 | private ?float $amount = null; |
||
| 17 | |||
| 18 | private ?float $amountLocal = null; |
||
| 19 | |||
| 20 | private ?string $payer = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | 1 | public function setAmount(float $amount): self |
|
| 26 | { |
||
| 27 | 1 | $this->amount = $amount; |
|
| 28 | |||
| 29 | 1 | return $this; |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function getAmount(): ?float |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return $this |
||
| 39 | */ |
||
| 40 | 1 | public function setAmountLocal(float $amountLocal): self |
|
| 41 | { |
||
| 42 | 1 | $this->amountLocal = $amountLocal; |
|
| 43 | |||
| 44 | 1 | return $this; |
|
| 45 | } |
||
| 46 | |||
| 47 | 1 | public function getAmountLocal(): ?float |
|
| 48 | { |
||
| 49 | 1 | return $this->amountLocal; |
|
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return $this |
||
| 54 | */ |
||
| 55 | 1 | public function setPayer(string $payer): self |
|
| 60 | } |
||
| 61 | |||
| 62 | 1 | public function getPayer(): ?string |
|
| 65 | } |
||
| 66 | } |
||
| 67 |