| Total Complexity | 6 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Coverage | 87.1% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class UpdatePlanRequest |
||
| 9 | { |
||
| 10 | use HasProductDescription; |
||
| 11 | use HasPaymentPreferences; |
||
| 12 | |||
| 13 | protected string $id; |
||
| 14 | |||
| 15 | 2 | public function __construct(string $id) |
|
| 16 | { |
||
| 17 | 2 | $this->id = $id; |
|
| 18 | 2 | } |
|
| 19 | |||
| 20 | 2 | public function getId(): string |
|
| 21 | { |
||
| 22 | 2 | return $this->id; |
|
| 23 | } |
||
| 24 | |||
| 25 | 2 | public function toArray(): array |
|
| 64 | } |
||
| 65 | } |
||
| 66 |