| Total Complexity | 10 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class PaymentMethod |
||
| 6 | { |
||
| 7 | private ?string $payerSelected = null; |
||
| 8 | private ?string $payeePreferred = null; |
||
| 9 | private ?string $standardEntryClassCode = null; |
||
| 10 | |||
| 11 | 1 | public function getPayerSelected(): ?string |
|
| 12 | { |
||
| 13 | 1 | return $this->payerSelected; |
|
| 14 | } |
||
| 15 | |||
| 16 | 4 | public function setPayerSelected(?string $payerSelected): self |
|
| 17 | { |
||
| 18 | 4 | $this->payerSelected = $payerSelected; |
|
| 19 | |||
| 20 | 4 | return $this; |
|
| 21 | } |
||
| 22 | |||
| 23 | 1 | public function getPayeePreferred(): ?string |
|
| 26 | } |
||
| 27 | |||
| 28 | 3 | public function setPayeePreferred(?string $payeePreferred): self |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function getStandardEntryClassCode(): ?string |
|
| 38 | } |
||
| 39 | |||
| 40 | 3 | public function setStandardEntryClassCode(?string $standardEntryClassCode): self |
|
| 41 | { |
||
| 42 | 3 | $this->standardEntryClassCode = $standardEntryClassCode; |
|
| 43 | |||
| 44 | 3 | return $this; |
|
| 45 | } |
||
| 46 | |||
| 47 | 6 | public function toArray(): array |
|
| 64 | } |
||
| 65 | } |
||
| 66 |