| Total Complexity | 7 | 
| Total Lines | 63 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class UpdatePlanRequest  | 
            ||
| 9 | { | 
            ||
| 10 | use HasPlanDescription;  | 
            ||
| 11 | use HasPaymentPreferences;  | 
            ||
| 12 | |||
| 13 | protected string $planId;  | 
            ||
| 14 | |||
| 15 | 5 | public function __construct(string $planId)  | 
            |
| 18 | 5 | }  | 
            |
| 19 | |||
| 20 | 3 | public function getPlanId(): string  | 
            |
| 21 |     { | 
            ||
| 22 | 3 | return $this->planId;  | 
            |
| 23 | }  | 
            ||
| 24 | |||
| 25 | 1 | public function setPlanId(string $planId): self  | 
            |
| 26 |     { | 
            ||
| 27 | 1 | $this->planId = $planId;  | 
            |
| 28 | |||
| 29 | 1 | return $this;  | 
            |
| 30 | }  | 
            ||
| 31 | |||
| 32 | 5 | public function toArray(): array  | 
            |
| 71 | }  | 
            ||
| 72 | }  | 
            ||
| 73 |